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

Function connectionKey

apps/sim/lib/mcp/connection-manager.ts:68–70  ·  view source on GitHub ↗

* Cache key for managed connections. * MCP servers are workspace-owned, so OAuth/header/no-auth connections are * keyed by server and share the same workspace-scoped server credentials.

(config: McpServerConfig)

Source from the content-addressed store, hash-verified

66 * keyed by server and share the same workspace-scoped server credentials.
67 */
68function connectionKey(config: McpServerConfig): string {
69 return config.id
70}
71
72export class McpConnectionManager {
73 private connections = new Map<string, McpClient>()

Callers 4

connectMethod · 0.85
handleDisconnectMethod · 0.85
scheduleReconnectMethod · 0.85
restoreReconnectStateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected