← Back
Cloud spec upgrade

L'aggiornamento Stateless MCP corregge la scalabilità del cloud per flussi di lavoro AI di grandi dimensioni

Gli ingegneri cloud che gestiscono i flussi di lavoro IA ora dispongono di una versione scalabile e senza sessioni del Model Context Protocol.
By
The essentials
  • Google e i suoi partner hanno lanciato la specifica stateless 2026-07-28 Model Context Protocol.
  • La nuova specifica elimina i vincoli basati sulla sessione, consentendo il ridimensionamento con bilanciamento del carico HTTP.
  • Le distribuzioni serverless e il failover automatico sono ora possibili senza Redis condiviso.

Google Reimagines Model Context Protocol for Cloud-Scale AI

Since the Model Context Protocol (MCP) launched in late 2024, cloud engineers faced persistent scaling challenges. Designed for local, single-user applications, it struggled to adapt to large-scale, distributed systems. The original model used session-based handshakes and required clients to stick to a specific server, creating bottlenecks when handling millions of simultaneous requests.

The 2025-11-25 version of the spec required clients to send an Mcp-Session-Id header with every request. This forced them to tie to a specific server pod. If a client sent another request and it landed on a different pod, it would fail. That led to errors and inconsistent user experiences. The issue was especially problematic in environments with many server pods.

The Session ID Problem

Cloud-native systems rely on load balancers that can't track session data. This caused random requests to hit wrong pods and resulted in 400 errors. Teams tried to fix this with sticky routing rules but that made autoscaling inefficient. Engineers had to manually configure load balancers to route requests based on session IDs, adding unnecessary complexity.

If a pod crashed, the session data was lost, causing mid-call errors and user disruptions. Some teams used Redis to store session state, but that added latency and cost. As user numbers grew, Redis performance declined, making it harder to scale.

The new 2026-07-28 specification eliminates session management entirely. Every request is now self-contained and can be handled by any server in the cluster. Instead of using session IDs, metadata like protocol version, client capabilities, and user-specific data is included directly in each request body.

The Statelessness Solution

Without session state, any Kubernetes pod can accept and process requests without external references. This allows better traffic distribution and smoother autoscaling. Load balancers can use simple round-robin routing, ensuring even traffic spread across all available containers.

Clients now include all necessary metadata directly in each request. Developers no longer need to configure sticky routing or manage external session stores. The system handles itself, providing consistent processing regardless of which server handles the request.

This change supports seamless serverless deployments and automatic pod restarts without user disruptions. If a pod crashes or updates, the load balancer simply routes the next request to a healthy container. Users won’t notice the change, and requests continue as normal.

The GitHub MCP Server already adopted the new spec and removed Redis entirely. This reduced database use and improved response times. System reliability also increased, with fewer errors reported during high-traffic periods.

The new spec allows developers to build AI workflows that scale across millions of users without complex session management. There’s no need to manage sticky routing or session stores. The system handles traffic automatically, ensuring consistent processing no matter where the request lands.

The update makes it possible to deploy MCP as a serverless function, reducing costs by eliminating idle resources. In environments like Google Cloud Run or AWS Lambda, MCP servers can scale up and down based on demand. When traffic is low, no idle resources are charged, making it a cost-effective solution.

Collaboration and Outcomes

Google developed the new spec in collaboration with Hugging Face and the MCP Transports Working Group. The group aimed to remove transport constraints that limited scalability and made cloud deployments difficult. The result is a more flexible and efficient protocol ready for enterprise use.

The updated Model Context Protocol is a major milestone for cloud-native AI development. By removing session dependencies and introducing a stateless core, the protocol is better suited for real-world environments. It enables seamless scaling, improved reliability, and easier deployment models.

For cloud engineers, this shift simplifies how AI workflows are designed and managed. There’s no need to configure traffic routing or handle session stores manually. The new protocol manages everything automatically, letting teams focus on building scalable applications. As AI demand grows, the stateless MCP will be vital for efficient, large-scale deployments.

The numbers

2024: MCP protocol first introduced | 2026-07-28: stateless specification released | 2025-11-25: stateful specification used in early versions

Frequently asked questions

What is the Model Context Protocol?

The Model Context Protocol (MCP) allows large language models to negotiate capabilities, invoke external tools, and retrieve contextual resources in a session-oriented framework.

Why was the 2026-07-28 specification released?

The new specification removed session-based constraints, enabling HTTP load-balanced scaling and making the protocol work better in cloud-native environments.

How does the new MCP spec improve cloud deployment?

The new MCP spec is stateless, eliminating session IDs and allowing traffic to be handled by any server in a cluster, improving scalability and fault tolerance.

Based on reporting by Cloud & Infrastructure (EN), compiled by the Tradingbird newsroom. Published 06 Aug 2026, 00:22.
Topics: AI · Cloud · Hardware
Read this in: English · Arabiy · Deutsch · Espanol · Italiano · Portugues · Russkij · Turkce