Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Lesson 5 of 6 · Concept · 10 min · revision 3

Spec Revisions and Compatibility

What an MCP revision date means, what each revision from 2024-11-05 to 2026-07-28 changed, how versions are negotiated on every request, and how clients and servers of the 2026 era work with servers and hosts built for 2025-11-25 and earlier.

Contentsand lesson path

What you will learn

  • Trace an MCP tool call through its JSON-RPC messages, including server discovery, protocol version handling and error results.

Prerequisites: Tool Calling

01. Why it matters

Hosts, SDKs and servers upgrade on their own schedules. On any given day your agent may talk to one server built last week and another built two years ago. If the two sides disagree about the protocol, the result can be a clear error, or it can be quiet misbehaviour such as a missing field read as an empty one. Knowing how MCP versions work lets you read those failures, pick sensible defaults, and decide how long to keep supporting old behaviour.

02. What a revision date means

MCP names each revision with a date in YYYY-MM-DD form. The date is the last day on which backwards-incompatible changes were made, not a release number and not a freeze date. A revision is marked as one of three states:

  • Draft: work in progress, not for use.
  • Current: ready for use, and it may still receive backwards-compatible changes without a new date. At the time of writing (October 2026) the current revision is 2026-07-28.
  • Final: a past revision that will not change again.

Individual features have their own life cycle too. A feature marked Deprecated still works but is scheduled for removal; it stays in the specification for at least twelve months (ninety days under an expedited-removal exception) before it becomes eligible for removal, and the specification keeps a registry of deprecated features with a migration path for each.

03. The revisions so far

Each revision's changelog lists what changed since the one before. The headline changes:

  • 2024-11-05: the first public revision. JSON-RPC messages, the initialize handshake, tools, resources and prompts, and two transports: stdio and HTTP+SSE.
  • 2025-03-26: an authorisation framework based on OAuth 2.1; Streamable HTTP replaces HTTP+SSE; JSON-RPC batching added; tool annotations such as read-only and destructive hints.
  • 2025-06-18: batching removed again; structured tool output; MCP servers classified as OAuth resource servers with protected resource metadata; clients must send resource indicators (RFC 8707); elicitation; resource links in tool results; the MCP-Protocol-Version header on HTTP.
  • 2025-11-25: OpenID Connect discovery for authorisation servers; icons; incremental scope consent; URL-mode elicitation; Client ID Metadata Documents for client registration; experimental tasks; JSON Schema 2020-12 as the default dialect; input validation errors reported as tool execution errors.
  • 2026-07-28: MCP becomes stateless. The initialize handshake and protocol sessions are gone; each request carries its version and capabilities in _meta; server/discover is added; subscriptions/listen replaces the GET stream and resources/subscribe; multi round-trip requests replace server-initiated requests, with the resultType field on every result; tasks move to an extension; SSE stream resumption, ping and logging/setLevel are removed. Roots, Sampling, Logging and Dynamic Client Registration are deprecated, and HTTP+SSE is formally Deprecated.

04. Negotiation on every request

In 2026-07-28 there is no session to negotiate once. Every request names its version in _meta (and, on Streamable HTTP, in the MCP-Protocol-Version header), and the server accepts or rejects each request on its own. Both sides may support several versions at once. A server that does not implement the requested version answers UnsupportedProtocolVersionError (-32022) with the list it does support; the client retries with a shared version or reports that there is none. A client that prefers to choose before its first real request calls server/discover and reads supportedVersions.

Optional extensions, such as the tasks extension, are negotiated through the extensions field of client and server capabilities. If only one side supports an extension, the specification requires it to fall back to core behaviour or reject the request with an error.

05. Compatibility with 2025-11-25 and earlier

The specification sorts implementations into eras. Legacy means revisions 2025-11-25 and earlier, which open with a handshake: the client sends initialize with the version it wants and its capabilities, the server replies with the version it chose and its own capabilities, and the client confirms with notifications/initialized. The agreed version then holds for the session. Modern means 2026-07-28 and later. A dual-era implementation supports both.

A dual-era client detects a server's era in a transport-specific way:

  • stdio: send server/discover first, with a modern version in _meta. A DiscoverResult means modern. A recognised modern error such as -32022 also means modern: retry with a supported version, and do not fall back. Any other error, or no reply within a timeout, means legacy: send initialize. The fallback must not depend on one particular error code, because legacy servers answer unknown requests in different ways or not at all.
  • Streamable HTTP: send a modern request. A 400 whose body is a recognised modern error means modern. A 4xx without one means legacy: fall back to initialize, and if needed to the deprecated HTTP+SSE transport.

The code below captures the stdio decision. The first reply is the real server/discover answer from the lab server, shortened; the second is the specification's own example of -32022; the last two are typical legacy behaviour.

Python · era_probe.py
"""What a dual-era client does after its server/discover probe on stdio."""
CLIENT_VERSIONS = ["2026-07-28", "2025-11-25", "2025-06-18"]  # newest first
MODERN_ERRORS = {-32021, -32022}  # codes only a 2026-07-28 server sends


def next_step(reply):
    if reply is None:
        return "no reply before the timeout -> legacy: send initialize"
    if "result" in reply:
        offered = reply["result"]["supportedVersions"]
    elif reply["error"]["code"] in MODERN_ERRORS:
        offered = reply["error"].get("data", {}).get("supported", [])
    else:
        return f"error {reply['error']['code']} -> legacy: send initialize"
    shared = [v for v in CLIENT_VERSIONS if v in offered]
    if not shared:
        return "modern, but no shared version -> tell the user"
    return f"modern -> use {shared[0]}"


REPLIES = {
    "atlas-units": {"id": 1, "result": {"supportedVersions": ["2026-07-28"]}},
    "spec example": {"id": 1, "error": {
        "code": -32022, "message": "Unsupported protocol version",
        "data": {"supported": ["2026-07-28", "2025-11-25"],
                 "requested": "1900-01-01"}}},
    "2025 server": {"id": 1, "error": {"code": -32601, "message": "Method not found"}},
    "silent server": None,
}
for name, reply in REPLIES.items():
    print(f"{name:<14} {next_step(reply)}")
Terminal
python3 era_probe.py
Expected output
atlas-units    modern -> use 2026-07-28
spec example   modern -> use 2026-07-28
2025 server    error -32601 -> legacy: send initialize
silent server  no reply before the timeout -> legacy: send initialize

Some combinations cannot work. A modern-only client cannot use a legacy-only server. A legacy-only client cannot use a modern-only server, because legacy clients have no way to move forward; the specification therefore asks modern-only servers to name their supported versions in any error they return to initialize. The lab server does that. With wire.py from lesson 4 you can see what a 2025-era host gets:

Terminal
python3 wire.py initialize
Expected output
--> {
  "jsonrpc": "2.0",
  "id": 1,
  "method": "initialize",
  "params": {
    "protocolVersion": "2025-11-25",
    "capabilities": {},
    "clientInfo": {
      "name": "old-host",
      "version": "1.0"
    }
  }
}
<-- {
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32602,
    "message": "Missing required _meta fields; supported versions: 2026-07-28"
  }
}

Check your tools' defaults, because they differ. The Python SDK mcp 2.x client defaults to auto (probe, then fall back). The TypeScript SDK v2 client and the MCP Inspector default to the legacy handshake until you choose auto or modern. On the server side, the Python SDK's HTTP app serves both eras from one endpoint.

06. Keeping a fleet compatible

  • Log the protocol version of every request, not just the SDK version. Two services on the same SDK can still speak different revisions.
  • Run your contract tests against every revision you claim to support, including an initialize request against a modern-only server, so you see the error a legacy host will get.
  • Tolerate optional fields you do not use, and treat a missing resultType from an older server as "complete".
  • Stop adopting deprecated features now: use tool parameters instead of Roots, call the model provider directly instead of Sampling, and log to stderr or OpenTelemetry instead of MCP Logging.
  • Decide and publish how long you will support older revisions. The specification's own deprecation window, at least twelve months, is a reasonable lower bound for anything your users depend on. These steps reduce the risk of breaking clients during a rollout; they do not remove it.

07. Check your understanding

Practice check · 3 questions

Practice check

Apply the versioning rules.

Q1. What does the date in a revision name such as 2026-07-28 tell you?
Q2. A legacy server answers the `server/discover` probe with `{"code": -32600, "message": "Invalid Request"}` instead of -32601. What does `next_step` in era_probe.py return for that reply?
Q3. Which of these is deprecated in revision 2026-07-28, so a new server should not adopt it?
Practice only: not graded, not saved, not evidence.

08. Apply it

For the host and the two servers in your practice task, find out which era each uses: run the Inspector CLI with --protocol-era auto and note which era it lands on, or read the server's documentation. Write down each combination your host will see and whether it works, using the compatibility rules above. If any server relies on Roots, Sampling or Logging, note the migration path the deprecated features registry gives.

09. Review prompt

Without looking back: explain what a revision date means and the difference between Current and Final; name two changes in each revision since 2025-03-26; describe how a 2026-07-28 client handles -32022; and explain how a dual-era client tells a legacy stdio server from a modern one.

References

Your progress

Reading state

Sign in to save that you finished reading this lesson.

Sign in to mark reading complete

Prove this skill

6 questions · about 5 minutes · scored automatically. Marking a lesson as read never demonstrates a skill.
Take the skill check