This repository has been archived on 2026-04-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
claude-code-2026-04-02/docs-site/docs/reference/mcp.md
2026-03-31 15:38:58 +05:00

888 B

MCP (Model Context Protocol)

Primary paths: src/services/mcp/, src/tools/MCPTool/, src/tools/McpAuthTool/, src/services/mcp/MCPConnectionManager.tsx

The MCP subsystem parses config (files, env expansion, enterprise allowlists), establishes stdio and in-process transports, handles OAuth for MCP servers, normalizes server metadata, and exposes tools and resources to the model.

Channel-related files (channelAllowlist, channelNotification, channelPermissions) implement push notifications into a session, matching the Channels documentation.

The React MCPConnectionManager wraps interactive sessions so the REPL can connect/disconnect servers and reflect status in the UI.

See also: MCP, Channels reference.