AI Agent - Aug 6, 2026

MCP 2026-07-28 Stateless Migration Guide

Quick answer

The MCP 2026-07-28 revision makes the protocol core stateless. It removes protocol-level sessions, Mcp-Session-Id, and the initialize / notifications/initialized handshake. Each request carries protocol version and client capabilities in _meta; clients should send client identity, and servers should return server identity.

This removes transport session pinning. It does not remove application state: long-running work, authorization, idempotency, and cross-call context still need explicit designs.

Legacy vs stateless request model

Boundary2025-11-25 style2026-07-28 revision
Startupinitialize then notifications/initializedNo protocol handshake
SessionMcp-Session-Id on later requestsNo protocol-level session
Version and capabilitiesNegotiated onceSent per request in _meta
Server identityInitialization responseServer result _meta
Cross-call stateOften attached to sessionExplicit server-minted handle in ordinary arguments
Up-front discoveryInitializationRequired server/discover RPC is available

Migration sequence

  1. Inventory clients, servers, SDK versions, transports, gateways, and session stores.
  2. Separate application state from transport session state.
  3. Implement and test server/discover plus unsupported-version behavior.
  4. Add required per-request _meta and standard Streamable HTTP headers.
  5. Replace server-initiated exchanges with MRTR or the appropriate subscription path.
  6. Move long-running work to the Tasks extension where supported.
  7. Test mixed-version clients, retries, duplicate requests, authorization, and rollback.
  8. Canary the stateless path before removing legacy infrastructure.

Use the compatibility guide for mixed estates and the server discovery guide for version selection.

Release and SDK boundary

Google’s August 5 engineering post describes 2026-07-28 as a release candidate and points to beta SDK support. Pin exact prerelease SDK versions in staging; do not assume a beta API or codemod is stable production authority.

Frequently asked questions

What changed?

Protocol sessions and initialization are removed; version, capabilities, and identity metadata travel with requests and results.

Is every server now stateless internally?

No. The protocol is stateless. Application state can use explicit handles and durable storage.

Should migration be all at once?

No. Use version probes, compatibility tests, a canary, and rollback.

Official sources

Source check: August 6, 2026. Verify final specification status, SDK versions, transport requirements, and migration notes before production rollout.