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