Skip to content
AI Learning Ground Start learning

Tools ·

MCP's 2026-07-28 spec goes stateless, dropping the handshake and session IDs

The Model Context Protocol's 2026-07-28 specification removes the initialize handshake and session IDs so each request stands alone, and adds HTTP headers for method and tool routing. It also replaces server-initiated requests with multi round-trip requests, deprecates dynamic client registration in favor of client ID metadata documents, and promotes Tasks to an official extension. For MCP server authors, these are breaking changes that require migration but make servers much easier to scale behind load balancers and gateways.

MCP's 2026-07-28 spec goes stateless, dropping the handshake and session IDs
Image: Model Context Protocol

MCP has released its 2026-07-28 specification, transforming the protocol from a bidirectional stateful design into a request/response stateless one. This retires the initialize/initialized exchange and the Mcp-Session-Id header; each request now carries its protocol version, client identity, and capabilities in _meta, with an optional server/discover RPC for clients wanting capabilities up front. Any request can land on any instance behind a plain round-robin load balancer without shared storage. Servers needing state can mint explicit handles that the model passes back as arguments.

Method and tool names now travel in Mcp-Method and Mcp-Name HTTP headers, so gateways, rate limiters, and WAFs can route and meter without parsing JSON. Server-initiated requests like sampling and elicitation are replaced by Multi Round-Trip Requests: the server returns resultType "input_required" with the requests it needs answered, and the client retries the call with answers in inputResponses. List and read responses carry ttlMs and cacheScope hints with deterministic ordering, enabling client-side caching of tool catalogs. Authorization gains RFC 9207 issuer validation, application_type for DCR so localhost redirects stop failing for CLI apps, issuer-bound credentials, and a shift from Dynamic Client Registration to Client ID Metadata Documents. Tasks move to the io.modelcontextprotocol/tasks extension, Roots/Sampling/Logging and the legacy HTTP+SSE transport are deprecated with a twelve-month minimum deprecation window, and the TypeScript, Python, Go, and C# SDKs all support the new spec.

For builders, this release removes held-open streams and sticky sessions, so MCP servers can scale horizontally behind ordinary load balancers and gateways like any stateless HTTP service. Migration is required since these are breaking changes, but SDK migration notes are available. The protocol's scale is substantial: Tier 1 SDKs see close to half a billion monthly downloads, with TypeScript and Python each past 1 billion total, and the formal deprecation policy gives a twelve-month window to plan upgrades.

References

Read the full story at Model Context Protocol ↗Like, save or discuss on Buzz

#tools #mcp #protocol #agents #spec