28/11/2026 10:00am

MCP Spec 2026-07-28 Drops the Handshake and Sessions: What Changes for MCP Server Authors
#MCP
#Model Context Protocol
#MCP spec 2026-07-28
#stateless
#AI agent
If you have written an MCP server and had to remember which machine holds each client's session, and to find shared state storage whenever you wanted to scale out to several machines, you will see why this spec revision is interesting.
Model Context Protocol (MCP) is the common protocol that lets AI agents connect to outside tools and data. Spec version 2026-07-28 is a big change from 2025-11-25. Today Superdev Academy reads the official changelog and separates what affects server authors, what affects client authors, and what you should not rush to change.
The heart of this revision is stateless
The changelog lists the main changes as follows.
Protocol-level sessions and the
Mcp-Session-Idheader are removed from Streamable HTTP. The lists returned bytools/list,resources/listandprompts/listtherefore no longer differ per connection. If a server must remember state across calls, use a server-generated handle passed as an ordinary tool argument.The
initializehandshake andnotifications/initializedare removed. Every request carries the protocol version and the client's capabilities in_meta. If the version does not match, the server replies withUnsupportedProtocolVersionError.server/discoveris added and servers must implement it, to announce supported versions, capabilities and the server's identity.Server notifications move to
subscriptions/listen, a single long-lived POST stream where the client chooses the notification types.ping,logging/setLevelandnotifications/roots/list_changedare removed.
The direct effect of having no session is that each request can land on any server instance, so putting servers behind an ordinary load balancer gets easier. We conclude this from the changed structure; we did not try it ourselves.
Asking for more information mid-request: Multi Round-Trip Requests
Instead of a server sending its own requests back to the client (such as roots/list, sampling/createMessage or elicitation/create), this revision uses Multi Round-Trip Requests: the server replies with an InputRequiredResult whose resultType is "input_required", listing the extra information it needs, and the client retries the original request with inputResponses. Every result now has a resultType of "complete" or "input_required", and a client must treat results from older servers that lack the field as "complete".
Tasks move to an extension
Long-running tasks, previously experimental inside the protocol, move to an extension named io.modelcontextprotocol/tasks. It uses polling through tasks/get instead of the blocking tasks/result, adds tasks/update for sending data from client to server, and removes tasks/list.
Security and caching
Authorization servers should send the
issparameter per RFC 9207, and clients must checkissagainst the recorded issuer before exchanging the code.Clients must bind stored credentials to the issuer and must not use them with a different authorization server.
Results of
tools/list,prompts/list,resources/listand others must carryttlMsandcacheScopeso clients can cache and poll less.Servers should return tool lists in a stable order, which helps client caching and LLM prompt caching.
What is now deprecated
The changelog classes the following as Deprecated: still usable but scheduled for removal, and not to be adopted in new work. They are Roots, Sampling and Logging (the advice is to pass directories as tool parameters, call the model provider's API directly, and write logs to stderr or use OpenTelemetry), the old HTTP+SSE transport, the includeContext values thisServer and allServers, and OAuth Dynamic Client Registration (RFC 7591), where Client ID Metadata Documents are recommended instead. The new policy sets a minimum deprecation window of twelve months, so there is time to migrate.
What this means if you write MCP servers
The order we suggest (our team's opinion) is to open your server file and answer three questions. One: do you use sessions or a handshake on the server side? If so, move the state into a handle passed as an argument. Two: do you use Roots, Sampling or Logging? If so, there is no need to rush to remove them, but do not add new uses. Three: do you use the old HTTP+SSE transport or DCR? If so, plan the migration within the window.
If terms like API and HTTP are still new to you, start with What is an API and how does it work? A beginner's guide (a Thai article).
Summary: MCP gets lighter on the server side, with items to migrate
Spec 2026-07-28 removes sessions and the handshake, making servers stateless; adds server/discover, MRTR, the tasks extension and caching rules; and deprecates Roots, Sampling, Logging, HTTP+SSE and DCR. Check your server code against the three questions above, then plan your migration within the deprecation window.
If you want to start learning to program from the basics, see the courses from Superdev Academy at learn.superdevacademy.com/courses. There are currently the Go Cheat Sheet and Git & GitHub Essentials courses, and neither covers MCP.
🎯 Follow dev knowledge from Superdev Academy:
🔵 Facebook: Superdev Academy Thailand
🎬 YouTube: Superdev Academy Channel
📸 Instagram: @superdevacademy
🎬 TikTok: @superdevacademy
FAQ: Frequently Asked Questions about This Article
A collection of questions and answers to help you better understand the content of this article.