| 37 | |
| 38 | /** Minimal MCP client over stdio (JSON-RPC 2.0). SSE/http is best-effort. */ |
| 39 | export class McpConnection { |
| 40 | private proc?: ChildProcessWithoutNullStreams; |
| 41 | private nextId = 1; |
| 42 | private pending = new Map<number, { resolve: (v: any) => void; reject: (e: any) => void }>(); |
nothing calls this directly
no outgoing calls
no test coverage detected