Qualixar film · 19:29
MCP Is Stateless Now — What It Fixes (and What It Doesn’t) #mcp #modelcontextprotocol #ai #agents
MCP’s 2026-07-28 update makes its protocol core stateless. That removes a major scaling burden—but it does not solve tool-definition overload inside an AI model’s context window.
This visual guide explains Model Context Protocol from first principles: why AI applications need MCP, how hosts, clients, servers, tools, resources and prompts fit together, why direct APIs still matter, what stateful MCP made difficult, what stateless requests change behind a load balancer, and why connecting many MCP servers can still crowd the model’s working context.
You will learn:
- Why an AI can understand a request but still cannot act alone.
- How MCP standardises the AI-facing connection without replacing the underlying business API.
- The difference between tools, resources and prompts.
- Why authorization and application state remain outside the model.
- Why stateful sessions complicated horizontal scaling.
- What GitHub removed when it adopted the stateless specification.
- Why tool discovery and tool-definition overhead remain separate problems.
- How progressive discovery and an MCP hub can keep a large tool estate usable.
Chapters
00:00 Why MCP matters
02:04 What MCP standardises
03:46 Why direct APIs create adapter work
05:33 The four parts of an MCP route
07:32 Two different MCP bottlenecks
08:11 Tool definitions and context pressure
10:29 Why stateful MCP was difficult to scale
12:37 What stateless MCP changes
15:26 The problem stateless MCP does not solve
SLM MCP Hub — one router for your MCP estate:
https://github.com/qualixar/slm-mcp-hub
AI Reliability Engineering:
https://qualixar.com
Varun Pratap Bhardwaj:
https://varunpratap.com
Primary sources:
https://blog.modelcontextprotocol.io/posts/2026-07-28/
https://github.blog/changelog/2026-07-23-github-mcp-server-supports-the-next-mcp-specification/
https://modelcontextprotocol.io/seps/2575-stateless-mcp
#MCP #ModelContextProtocol #AIEngineering
Press play in the official YouTube player. Playback is never started automatically.
Watch on YouTube ↗Evidence status
Read the full transcript
Suppose you ask an AI where is my Zumato order? If it has not left the restaurant, cancel it. AI model may understand exactly what you want. But the model by itself cannot open an order system or press the cancel button. We will use a madeup Zumato style example throughout. This is not how Zumato actually works inside. It needs a permitted route into real software. That is the job MCP was created to standardize. MCP, the model context protocol, gives an AI application a common way to discover a capability, understand its inputs, and request that capability through an MCP server. On July 28th, 2026, MCP published a new specification that made the base protocol stateless. In ordinary language, an MCP server must now treat each request as complete on its own. It cannot rely on protocol history hidden inside an earlier request. That means the next request can go to another compatible server instance provided that instance can reach the same business data and verify the same credentials. 5 days before the final specification, GitHub had already updated its MCP server for the upcoming change. GitHub removed its its Reddus sessions. In GitHub's description, the Reddius writes on initialization are gone. The Reddis reads are gone from every call and the result is snappier without users losing anything. Why was Reddus involved? Why could GitHub remove it? and what important MCP problem still remains. The same Zumato order will show us why the session layer was removed and why the context problem still remains. But before we can understand what changed, we need to separate the AI model from the software around it and see what MCP actually connects. The easiest way to understand MCP is to separate the AI model from the application around it. The model do reasoning. The application around the model controls what the model is allowed to use and whether the requested action should run. MCP is the standard conversation between that application and an MCP server. Think of the server as presenting a machine readable menu. One item might say check an order. Another might say cancel an order. Each item explains the information it needs such as an order number. The model can request an item from that menu. The surrounding application decides whether to send the request. MCP servers can expose three main building blocks. A tool performs an action. In our example, checking or cancelling an order uses a tool. A resource provides information that the application can read, such as a refund policy. A prompt is a reusable template that a user can choose for a repeated workflow. These are not three words for the same thing. They have different control models. The model can select tools. The application decides how resources enter context. The user explicitly invokes prompts. MCP standardizes how these capabilities are described and exchanged. It does not decide what the business is willing to permit. That creates the obvious next question. If companies already have APIs for these operations, why introduce MCP at all? In our hypothetical Zumato example, the order system already has an API. So why add MCP? Because MCP does not replace those APIs. It gives different AI applications one standard way to discover and request the capabilities built on top of them. If one private AI application needs one stable order API, a direct API integration may be the simplest design. The duplication appears when several AI hosts need access to several systems. Imagine Claude Chatgpt and an internal agent on one side now plays GitHub, Figma, Slack, and an order platform on the other. Without a shared protocol, each host may need its own adapter for each system. Those adapters may need to handle different authentication parameters, errors, and available operations. In the worst case, you need one adapter for every pairing. The number of hosts multiplied by the number of systems. MCP introduces a common contract between the hosts and the servers. The MCP server can describe what it offers in a standard form. The host can discover those capabilities and invoke them through the same protocol. The existing API still performs the business operation underneath. That is the accurate relationship. Use a direct API when one controlled integration is enough. Use MCP when interoperability and capability discovery across AI hosts are worth the extra layer. Now let us follow one order through that extra layer from the customer sentence to the existing API. So the boundary becomes concrete. Now follow the same Zumato order to the business system. There are four pieces to remember. The host, the MCP client, the MCP server and the existing order system. The host is the AI application. It might be Claude Code, chat GPT, VS Code, or a companyuilt agent. For every MCP server it connects to, the host creates an MCP client that manages that connection. The MCP server exposes the capability. The order API or database remains the business system that knows the real order status. The customer asks, "Where is my order?" The host makes an order status tool available to the model. The model requests that tool with the order number as its input. The host sends that structured request through its MCP client. The MCP server receives the tool call and uses the existing order API. The order API returns the status still at the restaurant. The model can now request the cancellation tool. But requesting an action is not the same as receiving permission to perform it. In a properly designed system, the host can ask the user for approval and the server or business API must still enforce authorization. In a secure design, raw database credentials stay outside the model's context. The host or server holds only the credentials it needs. MCP standardizes the route. It does not make an unsafe refund or cancellation endpoint safe. If the underlying API accepts an unauthorized cancellation, MCP will not repair that security failure. For one order, that route looks simple. At production scale, however, two very different pressure points appear. They are often discussed as one MCP scaling problem, and that is where the explanation goes wrong. Anthropic open-sourced MCP in November 2024. In December 2025, Anthropic donated it to the Agentic AI Foundation, a directed fund under the Linux Foundation. At production scale, two different bottlenecks matter in this story. The first problem happens inside the models context window. The second problem happens inside remote server infrastructure. Do not combine them. They have different causes and different fixes. Start with the problem closest to the model. The size of the tool menu placed inside its context. Let's check the order. But before the model can help, imagine giving it the whole manual for every restaurant, rider, coupon, payment, refund, and delivery tool in the system. That is tool definition overload. Before a model can select a tool, it needs enough of the tools definition to understand the name, purpose, inputs, and rules. Loading a small set of definitions is normal. The problem begins when a host injects hundreds of irrelevant definitions before the model sees the actual task. Those definitions can consume context and add latency. They can leave less room for the user's code, documents, and conversation while giving the model more irrelevant options to compare. Counting connected MCP servers tells you almost nothing about the real cost. One server might expose three small tools. Another might expose hundreds of large schemas. Measure the share of the context used by tool definitions. The official client guidance gives 1 to 5% as an example threshold for switching from loading everything up front to progressive discovery. It is an example engineering threshold not a universal law. There is also a separate local runtime cost. A local server one your app starts on your own machine is usually launched as a small background program by the client. Connecting many local servers can therefore create more local processes and use more memory. A remote HTTP server runs elsewhere. It does not start another process on your laptop simply because you connect to it. This is why every MCP server eats your laptop's memory is not true. Local servers do. Remote ones run somewhere else. The correct rule is simple. measure tool definitions, local processes and remote connections separately. Now keep the remote path on screen and follow it behind the load balancer. The next problem is not what the model can see. It is how a distributed server fleet handles continuity between requests. Now return to the same order but look behind the MCP server. A remote production service may run on many server instances behind a load balancer. The load balancer should be free to send a request to any healthy instance. Older streamable HTTP allowed an optional protocol session. When a server used one, request routing needed extra coordination. The older protocol began with an initialization exchange. During initialization, a server could assign an MCP session ID. Assigning that session ID was optional. This distinction matters, but once the server returned one, the client had to send it with later requests. Now imagine a Zumato support desk gives your conversation a private counter ticket. Every follow-up carries the ticket, but the server fleet still needs a way to understand what that ticket represents. A deployment could route the client back to the same server instance. that is session affinity often called sticky routing or it could put the session information in a shared store that every server instance can read. These were two usual ways to solve it not the only possible implementations. GitHub used Reddus for its MCP sessions. The difficulty appears when traffic grows or server instances come and go. Now the deployment is doing two jobs at once. It is spreading requests across instances and it is also keeping track of where each session lives. This was a remote HTTP infrastructure concern. A small local server connected directly to one client typically does not have a cloud load balancer or a radius session layer to scale. Tool definition overload and protocol sessions were therefore different problems. The first consumed model context. the second complicated remote request routing. That second problem is exactly what the July 28 specification changed. The July 28 specification made the base MCP protocol stateless. One remote server no longer has to remember your MCP connection. Now a load balancer can send the next self-contained request to another compatible server instance provided that instance can reach the required business data and verify the requests credentials. The final specification removed protocol level sessions and the MCP session ID header. It also removed the initialization handshake. Each request now carries the protocol metadata needed to process that request including the protocol version and client capabilities. A server processes each request independently. It must not infer protocol context from earlier requests on the same connection. This makes ordinary load balancing easier. If both instances can reach the required application data, request one can go to server A and request two can go to server B. Neither instance should depend on a hidden MCP session created by the other. But stateless MCP does not mean the Zomato order forgets everything. The order still exists in the business system. The difference is that continuity becomes explicit. The tool call can carry an order ID. A longunning operation can expose an explicit task handle through the optional tasks extension. A compatible server instance can use that explicit identifier to find the relevant application state. Protocol state and application state are not the same thing. This specification which removed the protocol managed session. It did not remove databases, authentication, permissions, orders or business workflows. That is why GitHub could remove its Reddis session operations. It does not mean every MCP deployment can delete every Reddis database. The release also introduced a discovery request for protocol versions, capabilities, and server identity. A version mismatch now returns an explicit unsupported version er error. This does not switch every older client and server off overnight. The tier 1 SDKs preserve backward compatibility, allowing older implementations to keep using an earlier negotiated version while teams migrate. So what did stateless MCP fix? It removed protocol sessions and made remote MCP much easier to distribute across ordinary HTTP infrastructure. What did it not fix? The enormous catalog of tool definitions competing for the model's context. Stateless MCP fixed one important routing problem. But a different question remains. What happens when one agent can reach dozens of MCP servers and hundreds of tools? I use this kind of setup. Codeex keeps a small group of core MCPs directly connected. SLM MCP hub discovers a larger downstream fleet. The challenge is finding the right tool without carrying every definition into every request. Imagine one assignment. Research, design, build, test, and prepare the release of an order delay dashboard. Research may need paper search and trusted web sources. Architecture may need product and library documentation. Design may need Figma. Building may need GitHub, local files, and project memory. Validation may need browser automation and tests. Release may need documents or an approved workflow. It is one job, but the useful tools change as the job moves forward. Reconnecting every tool by hand at each phase is impractical, but loading every available schema at the start is also wrong. One server may expose two tools. Another may expose more than 100. The model must separate a few relevant capability from a large irrelevant catalog. That consumes context and makes selection harder. MCP standardizes connection. The remaining problem is discovery. The answer is progressive discovery. Start with a lightweight way to search the fleet. Then inventory available capability families. discover what the current task needs and inspect and invoke the selected tool. Research may need papers and web sources. Implementation may need GitHub repository analysis and project memory. Validation may need browser and testing tools. The full fleet remains available. Only the relevant working selection enters the model's attention. That is the problem our open-source superlo memory MCP hub addresses. In my live codec setup, it provides a small discovery surface over a larger downstream fleet. The exact inventory changes, so the video will show the dated live count. The host can list connected servers, search for a relevant capability, inspect its schema, and route one approved call. Stateless MCP and SLM MCP hub solve different problems. Stateless MCP makes one remote server easier to distribute because protocol continuity is no longer hidden in one server process. SLM MCP hub helps an agent navigate a larger tool fleet without making every schema always visible. One improves request routing. The other improves capability discovery. Neither replaces permission checks or application state. When you review an MCP architecture, ask three questions. How much tool definition reaches the model? How does the agent discover what is not loaded up front? And where are state and permission checks enforced? Those answers separate a convenient demonstration from a production design. Return to the order request that opened this video. MCP gives the AI application a standard route to the order capability. Stateless MCP removes the hidden protocol ticket that made remote routing harder. Explicit identifiers keep the real workflow continuous. A discovery layer keeps a large tool fleet usable. Connection, application state, and tool discovery are separate responsibilities. That separation is the difference between connecting an MCP server and designing an MCP system that can scale.
Transcript source: youtube-auto-caption. Use the film as the primary record.