Baraa Said العربية Send a message

MCP goes stateless: what the new spec changes for people building agents

The Model Context Protocol, the standard way to plug tools and data into AI agents, just had its biggest revision. Sessions and the opening handshake are gone, so an MCP server now scales like any ordinary web API. Here is what changed, why it matters and what to update.

Diagram of requests reaching several identical MCP servers behind a load balancer

A quick refresher

The Model Context Protocol (MCP) is an open standard for connecting AI applications to tools and data. Instead of writing a custom integration for every model and every app, you write one MCP server (for your database, your calendar, your codebase) and any MCP-capable client can use it. It has become the default way agents reach the outside world.

The big change: no more sessions

Until now, a client opened a connection with a handshake, the server handed out a session ID, and every later request had to land on the server that remembered that session. That is awkward to run: you need sticky load balancing or shared session storage.

The newest revision removes all of that:

  • No handshake. Every request carries its own protocol version and client capabilities. A server can answer any request cold.
  • No protocol sessions. If a tool needs state across calls, the server returns a handle (an ID) and the model passes it back as an ordinary argument.
  • A discovery call. Clients can ask a server what it supports up front, instead of negotiating a session.

The practical result: an MCP server can sit behind a normal load balancer or run as a serverless function, exactly like any other HTTP API.

Other changes worth knowing

  • Asking the user mid-task works differently. Instead of the server pushing a request back down an open stream, it returns a result that says "input required", and the client retries with the answer. Nothing has to stay connected while a person thinks.
  • Long-running jobs moved to a Tasks extension: start a job, get a durable handle, poll for the result.
  • Tool lists can be cached, with an explicit lifetime, so clients stop re-downloading the same tool definitions on every call.
  • Older pieces are on their way out: the old HTTP+SSE transport, and the Roots, Sampling and Logging features, are deprecated. Deprecations now come with a minimum twelve-month window, so nothing disappears overnight.
  • Sign-in got stricter: credentials are tied to the authorization server that issued them, and clients identify themselves with a published metadata document rather than registering on the fly.

Why this matters for builders

Agent systems live or die on boring infrastructure. Every time I put a retrieval pipeline or an assistant like Faheem into production, the hard part is not the model: it is running the services around it reliably. A stateless protocol removes a whole class of problems: lost sessions after a deploy, servers that can't scale out, connections held open while a user decides.

What to do if you run an MCP server

  1. Update your SDK and test against a client that speaks the new revision.
  2. Move any per-session state into explicit handles your tools return and accept.
  3. Replace server-initiated prompts to the user with the new "input required" results.
  4. Switch from HTTP+SSE to Streamable HTTP if you haven't already.
  5. Give your tool lists a cache lifetime; your clients and your bill will both notice.

The direction is clear: MCP is becoming plain, boring web infrastructure. That is exactly what a standard should be.

Write to me.

Hiring for an AI or full-stack role, or need a system built? One message is enough. I reply within one business day.

Send a message