NewAI Content Creation is now live in Early Access
Turning Point Training Instituteby Training Center
Skip to content
0%
Module 3 — Production: remote, auth and securityLesson 1 of 3
Video lesson

Protocol 2026-07-28: what changed, and working with older clients and servers

IntermediateVideo lesson
8 min readIntermediate
Downloads & resources
Download this lesson's materials, ready to use.

Protocol 2026-07-28: what changed, and working with older clients and servers

Example prompt

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:

ChangeStatus 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 initialize handshake 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:

ClientServerOutcome
ModernModern or dual-eraWorks
Dual-eraAnyWorks (it detects the era and falls back)
LegacyDual-eraWorks (the server answers initialize)
ModernLegacyFails
LegacyModern-onlyFails: 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/discover first, with the preferred modern version in _meta. A DiscoverResult means modern. A recognized modern error such as UnsupportedProtocolVersionError means modern but a different version: retry, do not fall back. Any other error, or a timeout, means legacy: fall back to initialize. The fallback MUST NOT depend on one specific error code.
  • Streamable HTTP: send a modern request. A 4xx without a recognized modern error body means legacy: fall back to initialize.

A version mismatch on a modern server looks like this (code -32022):

json
{"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=legacy keeps 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:

  1. Client(url) in automatic mode sends a server/discover probe and negotiates 2026-07-28.
  2. Client(url, mode="legacy") performs the initialize handshake, negotiates 2025-11-25 and calls get_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:

bash
./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] shows negotiated protocol version: 2026-07-28.
  • Section [5] shows negotiated protocol version: 2025-11-25 and PASS legacy client can call get_item.
  • In section [6-7], the control line shows supportedVersions=['2026-07-28']. That is the server/discover answer: it lists only the modern version, yet the legacy client still worked, because legacy clients never call server/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:

  1. Agentic messaging primitives: server-initiated events (including webhooks) and making Tasks, subscriptions/listen and progress compose.
  2. HTTP-native transport unification and hardening: "HTTP over stdio" for local servers, and caching with ETags.
  3. 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).
  4. Improved primitives: a redesigned tool result shape, progressive discovery of tools and resources, and primitive annotations.
  5. 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

  1. A modern-only server receives an initialize request 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.

  2. Your stdio client sends server/discover and gets -32601 Method not found. Modern or legacy? Legacy. Only a DiscoverResult or a recognized modern error (such as -32022) identifies a modern server. Any other error, or a timeout, means fall back to initialize. Never key the fallback to one specific code.

  3. 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