MCP with Claude
Where the MCP client lives on each Claude surface decides what it can reach: Claude Code, Claude Desktop and claude.ai connectors, the Agent SDK, the Messages API MCP connector, private networks and tunnels, and how to check which spec revision each side speaks.
Last updated
What you’ll learn
- Choose where the MCP client runs for a server, and what that client can reach
- Wire a server into Claude Code, Claude Desktop or the Messages API connector
- Diagnose a server that passes in the Inspector and fails in a Claude surface
MCP with Claude
Where the MCP client runs on each Claude surface decides what it can reach. This section wires a server into each one and shows how to check the spec revision each side speaks.
Every Claude surface runs an MCP client somewhere, and that place decides what the server can reach. Claude Code and a local Desktop config run on your machine. Connectors and the Messages API run in Anthropic’s cloud, so the server must be public or allowlisted.
Amber: the model writes tool_use and never reaches a server. Teal: an MCP client. Red dashed: a call across the firewall. Blue dashed: an outbound-only tunnel.