MCPcopy Index your code
hub / github.com/simstudioai/sim / createServerState

Function createServerState

apps/sim/lib/mcp/tool-validation.test.ts:106–111  ·  view source on GitHub ↗
(overrides?: Partial<ServerState>)

Source from the content-addressed store, hash-verified

104 })
105
106 const createServerState = (overrides?: Partial<ServerState>): ServerState => ({
107 id: 'server-1',
108 url: 'https://api.example.com/mcp',
109 connectionStatus: 'connected',
110 ...overrides,
111 })
112
113 const createDiscoveredTool = (overrides?: Partial<DiscoveredTool>): DiscoveredTool => ({
114 serverId: 'server-1',

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected