Study FAQ
How do MCP 2026-07-28 clients discover server capabilities without an initialize session?
Also asked as 2
- What replaces the MCP initialize handshake in the 2026-07-28 protocol?
- How does a stateless MCP client select a protocol revision and learn which capabilities a server supports?
Answer
In MCP 2026-07-28, requests are self-contained. Include io.modelcontextprotocol/protocolVersion and io.modelcontextprotocol/clientCapabilities in the request’s _meta. A server implements server/discover to advertise supported versions, capabilities, and identity, and a client can call it before using other methods. On Streamable HTTP, mirror the matching version and method in MCP-Protocol-Version and Mcp-Method. Include the matching Mcp-Name on tool calls, resource reads, and prompt retrievals. In Claude Code, check the installed client's MCP runtime and negotiated revision in /mcp. The v2 runtime supports revision 2026-07-28 for compatible HTTP, stdio, and claude.ai connector servers. The applicable version and feature flag conditions are described in the Claude Code reference.
Advertise capabilities you implement and check whether the caller and request support the operation. For a version mismatch, handle UnsupportedProtocolVersionError and retry only when both implementations support an allowed revision. Capability support does not grant access to a caller’s tools or data. Reauthorize each operation.
Earlier revisions such as 2025-11-25 use an initialize handshake. If you need to support their clients, implement the documented dual-era behavior for your binding and test it against real version pairs. Keep continuing business state in application records or in explicit opaque handles that the server authorizes on each use.
Full explanation
MCP Server Development and Choosing Between Tools, Skills, and MCP
Study guide · CCDV-F
Read the full explanation