MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / McpConnection

Interface McpConnection

src/mcp/client.ts:59–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58/** A live connection to a single MCP server. */
59export interface McpConnection {
60 client: Client
61 tools: McpTool[]
62 /** Close the transport and free the child process / socket. */
63 close: () => Promise<void>
64}
65
66const CONNECT_TIMEOUT_MS = 30_000
67const CLIENT_INFO = { name: "orbcode", version: VERSION }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected