
MCP Just Went Stateless. Here’s Why AWS Developers Should Care
MCP is moving toward stateless communication, and that changes how developers can design and scale MCP servers on AWS. In this article, I break down what stateless MCP actually means, how it differs from session-based communication, and why it can simplify deployment, routing, scaling, and reliability. I’ll also look at what this change means for developers building AI agents and MCP-based applications on AWS.
The Model Context Protocol, or MCP, has quickly become an important part of how AI agents connect with external tools, APIs, databases, and services. Instead of creating a completely different integration for every AI application, MCP provides a common way for models and agents to discover and call tools.
But MCP has also been changing quickly.
On July 28, 2026, MCP introduced one of its biggest protocol changes so far: the core protocol became stateless. AWS recently discussed what this means for developers running MCP servers in the cloud, and the change is more important than it might initially sound.
At first, “stateless MCP” sounds like a small protocol update. In reality, it can change how MCP servers are deployed, scaled, monitored, and even how much supporting infrastructure developers need to maintain.
So what exactly changed?
First, What Does Stateful MCP Mean?
Imagine that an AI agent connects to an MCP server to use a tool.
In the previous MCP design, the client and server first performed an initialization process. The server could create a session identifier, and the client would send that session ID again with future requests.
The server therefore had some knowledge of the ongoing session.
That sounds convenient, but it creates an infrastructure problem when the application grows.
Suppose your MCP server is running on three different instances behind a load balancer.
A user's first request reaches Server A.
Server A creates the session.
Now the next request reaches Server B.
Server B may not know anything about the session created on Server A.
Developers therefore needed additional mechanisms such as sticky routing, shared session storage, or other coordination between instances. AWS notes that these were common requirements when horizontally scaling session-based MCP servers.
This is manageable, but it adds infrastructure that exists mainly to preserve the protocol session.
What Changed With Stateless MCP?
With the MCP 2026-07-28 specification, the protocol-level session is no longer required.
The initialization handshake and the
Mcp-Session-Id requirement were removed from the new stateless core. Each request can contain the information necessary for the server to process it.Now imagine the same three-server deployment.
Request 1 → Server A
Request 2 → Server C
Request 3 → Server B
That is no longer a problem simply because of an MCP protocol session.
Each available server can process an incoming request without depending on a session stored inside another server.
From an AWS architecture perspective, this is a much cleaner model.
A load balancer can distribute traffic across available instances instead of trying to repeatedly route one particular client to the same server.
It also becomes easier to scale instances up or down because a server is not necessarily holding protocol session information that must survive.
Stateless Does Not Mean Your Application Cannot Remember Anything
This is probably the most important distinction.
A stateless protocol does not mean an AI application has to forget everything after each request.
Applications can still maintain state.
For example, imagine an AI financial assistant that starts generating a portfolio analysis and stores the result in a database.
Instead of expecting the MCP server instance to remember the entire interaction, the tool can return something like:
analysis_id = "portfolio_7812" The AI agent can include that identifier when calling another tool later.
The actual application state can remain in a persistent system such as a database.
The protocol request itself stays independent.
This is similar to the way many REST APIs already work. The server does not necessarily need to remember which machine handled your previous request. The information required to continue the workflow is either included in the request or referenced through an identifier.
AWS makes the same distinction in its explanation of the new protocol: MCP itself can be stateless while applications continue supporting stateful workflows.
Why This Fits AWS Better
The interesting part is how naturally this architecture fits cloud infrastructure.
Consider AWS Lambda.
Lambda works extremely well when a request arrives, some processing happens, a response is returned, and the compute environment does not need to maintain a permanent connection with a particular client.
A session-dependent MCP design creates friction with that model.
A stateless MCP server fits much more naturally:
AI Agent
↓
MCP Request
↓
API / Gateway
↓
AWS Lambda
↓
Tool or AWS Service
↓
Response
Each Lambda invocation can process the incoming request independently.
If application state is required, it can be stored separately in the appropriate service instead of depending on the life of a particular compute instance.
AWS specifically describes Lambda as a more natural fit for the new stateless MCP architecture.
The same idea also helps container-based deployments.
An MCP server running on ECS, EKS, or another horizontally scaled environment no longer needs to keep a client attached to a particular container purely because of the MCP session.
That makes scaling and failure recovery simpler.
If one instance disappears, another instance can handle future requests.
What About Multi-Step Agent Workflows?
This raises an obvious question.
AI agents often perform workflows that require multiple interactions.
For example:
Agent calls a payment tool.
The tool needs confirmation from the user.
User confirms.
Agent continues the payment.
Previously, some MCP interactions depended on longer-lived server-to-client communication.
The new MCP specification introduces Multi Round-Trip Requests for situations where more information is required.
Instead of keeping a connection and server session alive, the server can return that additional input is required together with information needed to continue the operation. The client provides the requested information and sends another request.
The important architectural idea remains the same.
The workflow can continue without requiring the next request to reach the exact same server instance.
That is much closer to how scalable distributed systems are normally designed.
Observability Also Gets Better
Another useful improvement is that MCP requests can expose operation information through HTTP headers.
For infrastructure teams, this matters.
A gateway can understand what type of MCP operation is being executed without constantly parsing the entire request body.
The latest specification also works with W3C Trace Context, making it easier to propagate tracing information through MCP-based systems and connect it with OpenTelemetry-compatible observability tooling.
On AWS, that can fit into an observability stack where developers are already tracking requests, failures, latency, and distributed operations.
As AI applications become more agentic, this becomes increasingly useful.
Debugging a normal API request is already difficult when several microservices are involved.
Now imagine debugging an agent that:
receives a user request → selects a tool → calls an MCP server → invokes another AWS service → accesses a database → returns information to the model.
Without proper tracing, understanding where something failed becomes difficult very quickly.
Protocol-level support for tracing makes that architecture easier to operate.
There Is Also a Cost Angle
Stateless MCP does not magically make every AI application cheaper.
However, it can remove infrastructure that existed mainly to support protocol sessions.
For some older MCP deployments, developers may have needed sticky load-balancer routing or a shared session store such as a cache or database.
If the application itself does not require that session infrastructure anymore, some of it can potentially be removed after migration.
That means fewer infrastructure components to deploy, monitor, secure, and troubleshoot.
More importantly, stateless services are easier to combine with consumption-based compute such as AWS Lambda, where infrastructure can scale according to actual requests instead of maintaining resources mainly to preserve sessions.
However, developers should not immediately delete existing session infrastructure.
Older MCP clients may still use previous protocol versions. AWS recommends understanding which protocol versions are still generating traffic and maintaining compatibility until legacy clients have been migrated.
Where Does Amazon Bedrock AgentCore Fit?
AWS developers building agents may also encounter Amazon Bedrock AgentCore Gateway.
AgentCore Gateway can sit between agents and the tools they need to access and expose those tools through MCP-compatible interfaces.
One advantage of using a managed layer like this is that developers do not necessarily have to implement every protocol-management detail themselves.
AWS states that AgentCore Gateway supports the MCP 2026-07-28 specification and can handle protocol management and backward compatibility for developers using the managed gateway.
Teams running their own MCP infrastructure, however, need to understand these changes directly because they affect load balancing, state management, retries, observability, and migration.
What I Think Is Most Interesting About This Change
For me, the biggest improvement is not simply that MCP removed a session header.
It is that MCP servers can now behave much more like normal cloud-native services.
Any healthy instance can process a request.
Application state can live in systems designed to store state.
Compute can remain replaceable.
Load balancers can distribute requests more freely.
Serverless platforms become easier to use.
And tracing becomes part of the protocol rather than something every implementation has to invent independently.
That separation is useful.
An MCP server should focus on exposing tools to AI agents. It should not require developers to build unnecessary infrastructure just to preserve a protocol-level connection between requests.
Final Thoughts
MCP is still evolving, and developers building on top of it should expect the ecosystem to continue changing.
But the move toward a stateless core feels like an important architectural step.
For someone experimenting with AI agents on AWS, the practical lesson is simple:
Do not think of an MCP server as a permanently connected AI session.
Think of it as a scalable service endpoint that receives a request, performs a tool operation, and returns a result.
If continuity is required, store that state deliberately and pass an identifier that allows the workflow to continue.
That design fits much better with services such as AWS Lambda, load-balanced container workloads, managed gateways, distributed tracing, and the general principles developers already use when building scalable applications on AWS.
Sometimes a protocol change looks small on paper.
Removing sessions from MCP is one of those changes that can have a much larger impact on the architecture behind it.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article