# How do MCP 2026-07-28 clients discover server capabilities without an initialize session?

Exam: CCDV-F — Claude Certified Developer - Foundations
Knowledge domain: Tools and MCPs
Updated: 2026-11-25T08:30:02.388582+00:00
HTML: https://learningpathx.com/faq/CCDV-F/ccdvf-mcp-stateless-discovery-versioning.html

## Also asked as

- 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?

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.

* [MCP 2026-07-28 versioning and legacy interoperation](https://modelcontextprotocol.io/specification/2026-07-28/basic/versioning)
* [MCP server discovery](https://modelcontextprotocol.io/specification/2026-07-28/server/discover)
* [MCP 2026-07-28 changelog](https://modelcontextprotocol.io/specification/2026-07-28/changelog)
* [Per-request MCP protocol fields](https://modelcontextprotocol.io/specification/2026-07-28/basic/index)
* [Claude Code MCP client runtimes](https://code.claude.com/docs/en/mcp)

Source: [MCP Server Development and Choosing Between Tools, Skills, and MCP](https://learningpathx.com/news/mcp-server-development-and-choosing-between-tools-skills-and-mcp.html)
