9 pages for mcp.connect.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Channels reference
Claude Code CLI · in the page
channels-reference
…to Claude Code over stdio (Claude Code spawns this process) await mcp.connect(new StdioServerTransport()) // Start an HTTP server that forwards every POST to Claude Bun.serve({ port…
Lazy authentication for MCP servers
Claude Documentation · in the page
connectors/building/lazy-authentication
…); const mcp = buildMcpServer(authed ? "demo-user" : null); await mcp.connect(transport); await transport.handleRequest(req, res, req.body); } app.post("/mcp", (req, res) => { handleMcpPost(r…
Configure a custom OpenTelemetry collector
Claude Documentation · in the page
office-agents/opentelemetry
…configured_count` *Claude sign-in only* | Configured MCP servers | | `mcp.connected_count` *Claude sign-in only* | Connected MCP servers | | `mcp.failed_count` *Claude sign-in only* | Failed MCP conne…
Build an MCP client
Model Context Protocol · in the page
docs/2024-11-05/develop/build-client
…d, args: [serverScriptPath], }); await this.mcp.connect(this.transport); const toolsResult = await this.mcp.listTools(); this.tools = toolsResult.tools.map((…
Build an MCP client
Model Context Protocol · in the page
docs/2025-03-26/develop/build-client
…d, args: [serverScriptPath], }); await this.mcp.connect(this.transport); const toolsResult = await this.mcp.listTools(); this.tools = toolsResult.tools.map((…
Build an MCP client
Model Context Protocol · in the page
docs/2025-06-18/develop/build-client
…d, args: [serverScriptPath], }); await this.mcp.connect(this.transport); const toolsResult = await this.mcp.listTools(); this.tools = toolsResult.tools.map((…
Build an MCP client
Model Context Protocol · in the page
docs/2025-11-25/develop/build-client
…d, args: [serverScriptPath], }); await this.mcp.connect(this.transport); const toolsResult = await this.mcp.listTools(); this.tools = toolsResult.tools.map((…
Build an MCP client
Model Context Protocol · in the page
docs/2026-07-28/develop/build-client
…d, args: [serverScriptPath], }); await this.mcp.connect(this.transport); const toolsResult = await this.mcp.listTools(); this.tools = toolsResult.tools.map((…
Build an MCP client
Model Context Protocol · in the page
docs/draft/develop/build-client
…d, args: [serverScriptPath], }); await this.mcp.connect(this.transport); const toolsResult = await this.mcp.listTools(); this.tools = toolsResult.tools.map((…