Expand description
Session management for MCP Streamable HTTP transport.
Each MCP session is identified by a Mcp-Session-Id header. The proxy
tracks per-session state including known tool annotations, protocol
version, and request counts.
Status: Production — fully wired into the HTTP proxy.
Structs§
- Discovered
Tool Session - Per-session tracking of a discovered tool (Phase 34.3).
- Global
Flagged Tool Entry - Entry in the global flagged-tools registry. Records when a tool was flagged so it can be expired after TTL.
- Session
State - Per-session state tracked by the HTTP proxy.
- Session
Store - Thread-safe session store with automatic expiry cleanup.
- Stateful
Context - Adapter that implements
RequestContextforSessionState.
Type Aliases§
- Tool
Annotations Compact - Type alias for backward compatibility with existing code.