MCP Connector
Definition
The MCP connector lets the Claude API call tools on a remote Model Context Protocol server directly, without you running a separate MCP client.
Key points
- Beta header:
anthropic-beta: mcp-client-2025-11-20(previousmcp-client-2025-04-04is deprecated — config moved out ofmcp_serversintotools[]as an MCPToolset). - Only tool calls are supported (not the full MCP spec — no prompts/resources).
- Server must be publicly exposed over HTTP: Streamable HTTP + SSE transports. Local STDIO is not supported by the API connector.
- Not ZDR-eligible.
- Availability: Claude API, Claude Platform on AWS, Microsoft Foundry ("Hosted on Anthropic" deployment). NOT on Amazon Bedrock or Google Cloud/Vertex.
- Two components:
mcp_serversarray (connection) +mcp_toolsetentries in thetoolsarray (tool config) — see MCPToolset Allowlist and Denylist. mcp_serversentry fields:type(only"url"),url(must starthttps://),name(unique; referenced by exactly one MCPToolset), optionalauthorization_token(OAuth Bearer; caller handles flow + refresh).- Response blocks:
mcp_tool_use(id,name,server_name,input) andmcp_tool_result(tool_use_id,is_error,content). - Works in the Message Batches API at the same pricing.
Why it matters for the exam
- Domain 2 tests the beta header string, the HTTP-only transport rule, and the platform availability matrix.
- ZDR ineligibility contrasts with prompt caching (which qualifies).
Common gotchas
- STDIO is not supported by the API connector — this is a favourite distractor.
- Not available on Bedrock or Vertex.
urlmust behttps://; not ZDR-eligible.- This is the API connector; Claude Code's MCP config uses files — see MCP Config Scopes.
See also
Sources
Referenced by
Practice questions optional · AI
Generate fresh practice questions about this concept with AI. These are not vault-verified.