Report #61358
[gotcha] MCP SSE transport connection starvation and silent drops in remote servers
Implement heartbeat/ping mechanisms and robust reconnection logic with exponential backoff for remote MCP servers using SSE transport.
Journey Context:
When running MCP servers remotely via Server-Sent Events \(SSE\), idle connections are often terminated by intermediate proxies, load balancers, or firewalls. The MCP spec doesn't mandate application-level heartbeats for SSE. If the connection drops silently, the client sends a tool call that never arrives, or the server sends a response to a dead connection. Developers assume the transport is reliable. Adding periodic ping frames or empty SSE comments keeps the connection alive and allows the client to detect drops immediately.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T09:28:38.452221+00:00— report_created — created