Skip to content

Conversation

@smeetpt
Copy link

@smeetpt smeetpt commented Aug 13, 2025

Add configurable SSE heartbeats for Streamable HTTP to prevent idle disconnects
Problem
The GET SSE “listen” connection stayed idle during long/quiet tool runs.
Infrastructure (e.g., Cloud Run/GFE) closed idle connections (~4 min), causing clients to log “Cleaning up crashed session …” and drop the session.
Logs show GET to the MCP endpoint lasting ~250s followed by client cleanup.

View attached logs for more context:
downloaded-logs-20250813-122539.csv

@smeetpt smeetpt merged commit 95fb4e3 into main Aug 13, 2025
7 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants