Protocol 2026-07-28: what changed, and working with older clients and servers
Protocol 2026-07-28: what changed, and working with older clients and servers
About the video (optional, historical). The embedded talk, "The Future of MCP" (2025 keynote, YouTube v3Fr2JR47KA), is optional historical context. Much of the roadmap it describes has since shipped or changed shape. This written lesson is the authoritative path; where the video and the lesson disagree, follow the lesson.
Where you are
You have built local servers over stdio (L08, L10) and wrapped an HTTP API behind a Streamable HTTP endpoint (L11). Before adding authorization (L13) and hardening (L14), you need a clear picture of the protocol revision this course teaches, and of the many clients and servers that still speak an older one.
What you will be able to do
- Name the main changes in revision 2026-07-28 and label each as current, removed, deprecated or moved to an extension.
- Explain the modern, legacy and dual-era terms, and predict which client and server combinations work.
- Describe how a client detects an older server on stdio and on Streamable HTTP.
- Check, in the L11 lab, that one endpoint serves a modern and a legacy client.
- Summarize the current official roadmap without presenting plans as shipped features.
Local and remote, briefly
A local server runs as a subprocess that the host launches, and talks over stdio. A remote server is an HTTP service that many users reach over Streamable HTTP (current). The older HTTP+SSE transport is deprecated (since 2025-03-26) and appears only for interoperability. Remote servers raise questions that local ones avoid: scaling, authorization and exposure to the network. Revision 2026-07-28 was designed with that workload in mind.
What 2026-07-28 changed
The official versioning page states that the current protocol version is 2026-07-28. It is a breaking revision. The main changes, from the official changelog:
| Change | Status label |
|---|---|
The initialize / notifications/initialized handshake is gone. Every request carries its protocol version and client capabilities in _meta. | Removed (handshake); current (per-request metadata) |
Servers MUST implement server/discover; clients MAY call it. | Current |
No protocol-level sessions: the Mcp-Session-Id header is removed. Cross-call state uses server-minted handles passed as tool arguments. | Removed (sessions) |
The HTTP GET stream and resources/subscribe are replaced by subscriptions/listen. SSE resumability (Last-Event-ID) is removed. | Current / Removed |
Servers no longer send their own requests. They return an InputRequiredResult and the client retries (Multi Round-Trip Requests). | Current |
ping and logging/setLevel are removed; the log level is set per request. | Removed |
Tasks moved out of the core into io.modelcontextprotocol/tasks. | Optional extension |
| Roots, Sampling and Logging; Dynamic Client Registration. | Deprecated (earliest removal: first revision on or after 2027-07-28) |
Streamable HTTP POSTs need Mcp-Method and Mcp-Name headers. List results carry ttlMs and cacheScope. | Current |
Deprecated is not the same as removed. A deprecated feature stays in the specification for at least twelve months under the feature lifecycle policy, and new implementations should not adopt it.
The SDKs followed the spec. The TypeScript v2 package @modelcontextprotocol/server 2.0.0 was published on 2026-07-27, and the Python mcp 2.0.0 on 2026-07-28. This course pins mcp 2.3.0 in its labs.
Three words: modern, legacy, dual-era
The versioning page defines them:
- Modern: per-request version, identity and capabilities (2026-07-28 and later).
- Legacy: an
initializehandshake that opens a session (2025-11-25 and earlier). - Dual-era: an implementation that supports both.
The compatibility matrix in the spec boils down to this:
| Client | Server | Outcome |
|---|---|---|
| Modern | Modern or dual-era | Works |
| Dual-era | Any | Works (it detects the era and falls back) |
| Legacy | Dual-era | Works (the server answers initialize) |
| Modern | Legacy | Fails |
| Legacy | Modern-only | Fails: legacy clients have no fall-forward mechanism |
The practical rule for server authors: serve both eras while your users' hosts are mixed. A modern-only server SHOULD name its supported versions in any error it returns to initialize, because that message may be the only diagnostic a legacy client can show.
How a dual-era client detects the server's era
- stdio: send
server/discoverfirst, with the preferred modern version in_meta. ADiscoverResultmeans modern. A recognized modern error such asUnsupportedProtocolVersionErrormeans modern but a different version: retry, do not fall back. Any other error, or a timeout, means legacy: fall back toinitialize. The fallback MUST NOT depend on one specific error code. - Streamable HTTP: send a modern request. A
4xxwithout a recognized modern error body means legacy: fall back toinitialize.
A version mismatch on a modern server looks like this (code -32022):
{"jsonrpc":"2.0","id":1,"error":{"code":-32022,
"message":"Unsupported protocol version",
"data":{"supported":["2026-07-28","2025-11-25"],"requested":"1900-01-01"}}}
Clients SHOULD cache the era per server process (stdio) or per origin (HTTP).
Host support is uneven (host-specific)
Do not assume every host speaks 2026-07-28. As read on 2026-11-26:
- Claude Code: its docs describe a v2 client runtime on TypeScript SDK 2.0 that "adds MCP protocol revision 2026-07-28" and asks servers whether they support it.
MCP_PROTOCOL_NEGOTIATION=legacykeeps every server on the older handshake. - Cursor: a Cursor staff member wrote on the Cursor forum (2026-09-21) that its MCP client "currently speaks the 2025-11-25 revision and earlier", and on 2026-09-25: "No timeline at the moment!" That is a forum reply, not release notes.
- Others (Claude Desktop, VS Code and the rest): not confirmed from official sources. Treat them as unknown and test.
Worked example: one endpoint, two eras
The L11 lab server uses mcp 2.3.0. Its verifier connects twice to the same http://127.0.0.1:8000/mcp:
Client(url)in automatic mode sends aserver/discoverprobe and negotiates 2026-07-28.Client(url, mode="legacy")performs theinitializehandshake, negotiates 2025-11-25 and callsget_item.
You did not write any compatibility code. The SDK routes a request that names a handshake-era version in MCP-Protocol-Version, or carries no such header, to the legacy path on the same endpoint. That is a dual-era server, in the spec's terms.
Practice
In lab-l11/, run:
./run.sh verify
Then find the section headed [5] Legacy client.
Check your result
- The output ends with
ALL CHECKS PASSED (22). - Section
[1-4]showsnegotiated protocol version: 2026-07-28. - Section
[5]showsnegotiated protocol version: 2025-11-25andPASS legacy client can call get_item. - In section
[6-7], the control line showssupportedVersions=['2026-07-28']. That is theserver/discoveranswer: it lists only the modern version, yet the legacy client still worked, because legacy clients never callserver/discover.
If the legacy check fails, confirm you used the locked environment (uv sync --locked runs inside run.sh) and not an unpinned mcp.
Where the protocol is heading (current roadmap)
The official roadmap was last updated on 2026-08-22. It says it "reflects current thinking rather than firm commitments". Its five priority areas:
- Agentic messaging primitives: server-initiated events (including webhooks) and making Tasks,
subscriptions/listenand progress compose. - HTTP-native transport unification and hardening: "HTTP over stdio" for local servers, and caching with ETags.
- Agent identity and enterprise-ready security: DPoP, plus agent identity and delegation (Workload Identity Federation, the ID-JAG grant used by Enterprise-Managed Authorization, and RFC 8693 token exchange).
- Improved primitives: a redesigned tool result shape, progressive discovery of tools and resources, and primitive annotations.
- Improved SDK developer experience: the extension contract, and generating SDK artifacts validated against the conformance test suite.
How the 2025 keynote's themes map today: stateless transport shipped in 2026-07-28; Tasks became an optional extension; SDK v2 shipped; single sign-on with a company identity provider is now the Enterprise-Managed Authorization extension. Discovering servers through well-known URLs is not a listed roadmap item, so do not teach it as planned.
Check your understanding
-
A modern-only server receives an
initializerequest from a legacy host. What happens, and what should the server do? The connection fails: legacy clients cannot move forward to the new protocol. The server SHOULD name its supported versions in the error, so the user sees an actionable message. Better still, run a dual-era server while your users' hosts are mixed. -
Your stdio client sends
server/discoverand gets-32601 Method not found. Modern or legacy? Legacy. Only aDiscoverResultor a recognized modern error (such as-32022) identifies a modern server. Any other error, or a timeout, means fall back toinitialize. Never key the fallback to one specific code. -
Is Sampling removed in 2026-07-28? No. It is deprecated: still in the specification and still functional during the deprecation window, with an earliest removal in the first revision on or after 2027-07-28. New implementations should not adopt it.
Sources
- https://modelcontextprotocol.io/specification/versioning
- https://modelcontextprotocol.io/specification/2026-07-28/changelog
- https://modelcontextprotocol.io/specification/2026-07-28/basic/versioning
- https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/stdio
- https://modelcontextprotocol.io/specification/2026-07-28/deprecated
- https://modelcontextprotocol.io/development/roadmap
- https://code.claude.com/docs/en/mcp
- https://forum.cursor.com/t/mcp-client-cannot-connect-to-modern-only-2026-07-28-streamable-http-servers-legacy-initialize-rejected/172536
- https://pypi.org/project/mcp/ and https://www.npmjs.com/package/@modelcontextprotocol/server (release dates)
- Course lab:
lab-l11/README.mdandlab-l11/VERIFY-OUTPUT.txt
