MCPcopy Create free account
hub / github.com/PawanOsman/OpenCursor /

Class

src/integrations/mcpClient.ts:39–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected