ビルド Jul 30, 2026 at 19:3814ブックマークに追加

新しいModel Context Protocolの改訂版では、ステートフルなセッション要件が廃止されました。これはMCPを負荷分散装置の背後でスケーリングする際に扱いにくかった要素でした。紙上では小さな変更ですが、実装においては大きな変化です。
簡単に言えば。AIアシスタントが外部ツールを呼び出すための仕様であるModel Context Protocol(MCP)が改訂され、クライアントとサーバー間の状態を維持する接続が必須ではなくなりました。これはエンタープライズインフラチームが待ち望んでいた変更です。
当初のMCPトランスポートは永続的なクライアント・サーバーセッションを前提としていました。アシスタントがツールを呼び出す際、アシスタントとツールはその間のやり取りにライブチャネルを共有していました。これはラップトップでは問題ありませんでしたが、大規模展開では扱いにくくなります。
この扱いにくさは、ロードバランサーを導入するとすぐに表面化します。状態維持セッションでは、その後のすべての呼び出しが同じバックエンドインスタンスに到達する必要があります。これにより、エンタープライズインフラで最も安価な展開パターンである「ステートレスなプールにリクエストを分散し、負荷に応じてオートスケールし、ノードの損失に耐える」という手法が台無しになります。その結果、セッション固定化の手法やスティッキーなルーティング、さらにはスポット障害の原因となるコネクションマネージャーの構築につながります。
報告によると、改訂されたトランスポートではサーバーがステートレスモードを広告できるようになります。実際には以下のようになります:
# 以前(要約)
POST /mcp/session → session_id
POST /mcp/call { session_id, tool, args } # 同じノードに到達する必要あり
POST /mcp/close { session_id }
# 以後 - ステートレスモード
POST /mcp/call { tool, args, ctx } # 任意のノード、セッション不要 ctxは、サーバーが過去のやり取りに関する必要な情報を保持するためのもので、クライアントが提供します。これは20年前にREST APIが採用したのと同じパターンであり、若干大きなリクエストサイズと引き換えにステートレス性を獲得しています。
ステートレスにはコストがかかります。以下の2点がクライアント側に移動します:
ほとんどのエンタープライズ展開ではこのトレードオフは価値があります。ただし、レイテンシが重要なアシスタントでは、これは実際のコストとなります。
MCPエコシステムの議論は、「プロトタイプ品質」から「実際にSREチームが運用できる」段階へと成熟しつつあります。ステートレスなトランスポートはその具体的な一歩です。また、仕様作成者が成長の見込みをどこに見ているかも示しています:個々の開発者のマシンではなく、エンタープライズ内、プロキシの背後です。
本記事は人工知能により作成され、人間の編集管理のもとで校閲されています。
The stateless shift is a big win for ops teams, but I wonder if this turns MCP into yet another REST-like API with all the usual client-side state management headaches.
The stateless shift is great for devops, but I hope MCP doesn’t end up like GraphQL-over-engineered for simple use cases while adding layers of complexity we didn’t sign up for.
This removes a real friction point for cloud deployments. Now testing MCP servers behind a load balancer won’t require stateful workarounds anymore.
This change feels overdue-statelessness solves a critical pain point. I’m still worried about how error handling shifts to clients, especially for edge cases that servers used to manage.
Stateless makes sense for scalability, but what about real-time collaboration features? Feels like we’re trading one set of trade-offs for another.
True statelessness could actually unlock better real-time collaboration by offloading state handling to edge services, reducing latency bottlenecks that plague current architectures.
Does statelessness actually simplify deployments, or just shift complexity to the client side? Wondering how MCP servers will handle retries without fallback state.
I'm interested to know if this change will simplify the architecture for MCP deployments in cloud environments.
It should, but let's see how it impacts existing integrations first.
Great to see MCP moving towards statelessness. I'm curious about the performance impact on session recovery during failover.
I'm curious about the impact on session persistence. Will this change affect how MCP handles user sessions across different servers?
This change is a game-changer for MCP scalability. Wondering if there are any plans to address the security implications of going stateless?
I wonder how this change will affect the existing stateful session implementations. Will there be a migration path or will it be a complete overhaul?
I'm glad to see this change. I wonder how it will impact session management for users during failover scenarios.
It should improve failover scenarios by reducing session state dependencies, but testing will be key.
This is a significant step forward for MCP. I'm curious, though, how this change will affect existing deployments? Will migration be seamless or will there be challenges?
Great to see MCP finally dropping the stateful session requirement. This should make scaling behind a load balancer much easier.
MCP : la plomberie des agents devient un vrai marché