Search the documentation
2 pages for mcp_sdk_generation.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Error reference
Claude Code CLI · in the page
errors
…To connect while the server is being fixed, start Claude Code with [`MCP_SDK_GENERATION=v1`](/docs/en/env-vars), whose [runtime](/docs/en/mcp#mcp-client-runtimes) doesn't run this check. This removes…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…PROTOCOL_NEGOTIATION` to `auto`. To pick the runtime yourself, set [`MCP_SDK_GENERATION`](/docs/en/env-vars) to `v1` or `v2`. To decide whether Claude Code asks, set [`MCP_PROTOCOL_NEGOTIATION`](/doc…