envoyproxy/envoy

Feature Request: Support for MCP 241105 Spec in Envelope Stateful Session Extension

Aperta

#40.247 aperta il 16 lug 2025

 (2 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (27.997 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Title: Support MCP 241105 Spec in Envelope Stateful Session Extension

Description:

The current envelope stateful session extension (introduced in PR #39004) only supports the MCP 250326 spec (header-based session tracking).

However, the MCP 241105 spec is not supported. This spec requires Envoy to decode the initial SSE event in the upstream response, extract and update the session ID, and manage the session context accordingly.

Supporting MCP 241105 would enable compatibility with upstream servers and clients that rely on this protocol for session management, especially for SSE-based applications.

Please consider adding native support for MCP 241105 in the envelope stateful session extension, so that Envoy can handle session context as required by this spec, without relying on Lua scripts or external workarounds.

Relevant Links:

Guida contributor