You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Design stateless MCP (2026-07-28) support in vMCP #5756
Part of #5743 (Workstream C: 2026-07-28 stateless readiness).
Work
Design vMCP's stateless mode. vMCP's session model (two-phase SessionIdManager, Redis metadata, identity binding, 1000-session cap, per-backend session hints) exists because the protocol was session-ful; 2026-07-28 removes protocol sessions entirely — cross-call state moves to explicit server-minted handles passed as tool arguments.
Server side: per-request _meta (protocolVersion/clientInfo/clientCapabilities) instead of initialize; implement server/discover; decide what replaces per-session tool projection when there are no sessions (per-principal projection derived from auth context per request).
Client side: stateless connections to 2026-07-28 backends; keep session-ful handling for 2025-11-25 backends (dual-protocol per backend).
Composite workflows: elicitation becomes MRTR (see the MRTR passthrough issue); workflow state must key on server-minted handles, not session IDs.
Statelessness dissolves the cross-pod affinity TODO (registry.go) — any pod can serve any request; Redis remains for workflow/handle state only.
Depends on: the go-sdk v1.7 adoption issue. Deliverable: design doc first.
Note for whoever implements the cross-generation bridge here: two e2e specs were removed from the single-server dual-era k8s test in #5981 (commit 5fa6712) because they can't work without this bridge — please re-add them as vMCP e2e coverage when it lands.
They were:
mixed Legacy + Modern traffic over a shared Redis session store
session-store (Redis) outage → 503, then recovery
Both need a Legacy (session) client to open a session against a stateless backend. On a single-server MCPServer that's impossible — one go-sdk backend can't be both stateless (to serve Modern per-request clients) and session-issuing (for Legacy) at once, and the single-server proxy only does per-request version discrimination, not generation bridging. vMCP is where the bridge lives (per #5743), so that's where the mixed-era coverage belongs.
Activity
Drop Legacy-session k8s specs; single-server can't bridge eras
jhrozek commentedon Jul 25, 2026
Note for whoever implements the cross-generation bridge here: two e2e specs were removed from the single-server dual-era k8s test in #5981 (commit 5fa6712) because they can't work without this bridge — please re-add them as vMCP e2e coverage when it lands.
They were:
Both need a Legacy (session) client to open a session against a stateless backend. On a single-server MCPServer that's impossible — one go-sdk backend can't be both stateless (to serve Modern per-request clients) and session-issuing (for Legacy) at once, and the single-server proxy only does per-request version discrimination, not generation bridging. vMCP is where the bridge lives (per #5743), so that's where the mixed-era coverage belongs.
Drop Legacy-session k8s specs; single-server can't bridge eras
Drop Legacy-session k8s specs; single-server can't bridge eras
Drop Legacy-session k8s specs; single-server can't bridge eras
Drop Legacy-session k8s specs; single-server can't bridge eras
Add live e2e tests for dual-era stateless proxy behavior (#5981)
jhrozek commentedon Jul 28, 2026
all subtasks closed, closing