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
[plan] Configure session timeouts for HTTP gateways #6252
Configure session timeouts for MCP HTTP handlers to prevent resource leaks from abandoned sessions.
Context
The SDK's StreamableHTTPOptions now supports SessionTimeout to automatically clean up idle sessions. This is essential for production MCP gateways that serve multiple clients over HTTP.
Approach
Update HTTP handler creation to use StreamableHTTPOptions:
Activity