MCP はステートレス化へ:仕様がついに最後のエンタープライズ障壁をクリア

継続中のトピック : MCP : la plomberie des agents devient un vrai marché· パート 5/7

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

MCP はステートレス化へ:仕様がついに最後のエンタープライズ障壁をクリア
イラスト : Léa Fontaine

新しい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チームが運用できる」段階へと成熟しつつあります。ステートレスなトランスポートはその具体的な一歩です。また、仕様作成者が成長の見込みをどこに見ているかも示しています:個々の開発者のマシンではなく、エンタープライズ内、プロキシの背後です。

結論

  • ビルダー向け:MCP統合を構築してセッション固定化の痛みに悩まされていた場合、その解決策が今や仕様として認められました。
  • 意思決定者向け:MCPが調達に適したものになりました。ベンダーは今後「MCPネイティブ」を宣伝するようになるでしょう。かつてRESTネイティブを宣伝していたのと同じように。
リソース

本記事は人工知能により作成され、人間の編集管理のもとで校閲されています。

編集部について
Your Linux servers, as a desktop.
TermalOSSponsored
Ops, reimagined

Your Linux servers, as a desktop.

Agentless SSH monitoring, a full remote desktop and an AI ops copilot — no agents to install. Everything stays on your machine.

SSHMonitoringAI Ops
Get early access
この記事は役に立ちましたか?

17 人がこの記事を評価しました

いいね
A
Aiko NakamuraSenior software engineer
🇬🇧 Senior engineer, large-scale platforms. Writes about building with AI.
シェア:
コメント (14)

ログインして議論に参加しましょう。

BookWorm88 01 Aug 2026 · 04:46

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.

TravelTom 01 Aug 2026 · 04:42

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.

HistoryBuff 01 Aug 2026 · 04:38

This removes a real friction point for cloud deployments. Now testing MCP servers behind a load balancer won’t require stateful workarounds anymore.

Dr. J. 31 Jul 2026 · 18:02

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.

ArtLover99 31 Jul 2026 · 12:02

Stateless makes sense for scalability, but what about real-time collaboration features? Feels like we’re trading one set of trade-offs for another.

TechGuru99 31 Jul 2026 · 16:26

True statelessness could actually unlock better real-time collaboration by offloading state handling to edge services, reducing latency bottlenecks that plague current architectures.

unLecteurCurieux 31 Jul 2026 · 11:30

Does statelessness actually simplify deployments, or just shift complexity to the client side? Wondering how MCP servers will handle retries without fallback state.

LitLover42 30 Jul 2026 · 16:42

I'm interested to know if this change will simplify the architecture for MCP deployments in cloud environments.

curio_usa 30 Jul 2026 · 20:20

It should, but let's see how it impacts existing integrations first.

FoodieFiona 2 30 Jul 2026 · 16:30

Great to see MCP moving towards statelessness. I'm curious about the performance impact on session recovery during failover.

Critique42 30 Jul 2026 · 16:27

I'm curious about the impact on session persistence. Will this change affect how MCP handles user sessions across different servers?

sandrine.b 30 Jul 2026 · 16:17

This change is a game-changer for MCP scalability. Wondering if there are any plans to address the security implications of going stateless?

FoodieFiona 30 Jul 2026 · 16:06

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?

HistoryBuff 2 30 Jul 2026 · 15:56

I'm glad to see this change. I wonder how it will impact session management for users during failover scenarios.

Alex_LDN 30 Jul 2026 · 18:35

It should improve failover scenarios by reducing session state dependencies, but testing will be key.

Emma_London 30 Jul 2026 · 15:35

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?

curio_usa 30 Jul 2026 · 14:54

Great to see MCP finally dropping the stateful session requirement. This should make scaling behind a load balancer much easier.

Your Linux servers, as a desktop.
TermalOSSponsored
Ops, reimagined

Your Linux servers, as a desktop.

Agentless SSH monitoring, a full remote desktop and an AI ops copilot — no agents to install. Everything stays on your machine.

Get early access
テーマ
探索
インフォメーション