Transport · troubleshooting record
Legacy SSE MCP connection fails or drops
Legacy HTTP+SSE connections are stateful and easy to break through proxies, idle timeouts, and reconnect gaps. The transport is deprecated; new implementations should use Streamable HTTP.
Symptoms
- The SSE endpoint connects and then closes unexpectedly.
- Reconnection replays or loses messages.
- A proxy buffers the event stream or closes idle connections.
Confirmed causes
These causes have a documented basis. They may not be the cause of your specific failure.
An intermediary buffers or times out the event stream
SSE requires a long-lived streaming response; buffering proxies and idle timeouts break it.
The client and server implement different reconnection semantics
Legacy SSE uses an endpoint event and a separate message endpoint, and reconnection behavior is implementation-specific.
The client is using Streamable HTTP semantics against an SSE endpoint
Deprecated SSE and Streamable HTTP are different transports with different request flows.
Possible causes
- The server has no SSE endpoint at all.
- A load balancer pins connections to different instances.
- The authentication token expires mid-stream.
- The server closed the stream after an error.
What still needs verification
- The server's documented transport and endpoint path.
- Whether the client still supports SSE in your version.
- Proxy buffering and idle timeout configuration.
Affected environments
Fixes
Prefer Streamable HTTP when available
- Check whether the server exposes a Streamable HTTP endpoint.
- Update the client configuration and transport.
- Remove the legacy SSE entry once migration is verified.
If SSE is unavoidable, stabilize the stream
- Disable proxy buffering for the event stream.
- Raise idle timeouts beyond the expected session length.
- Ensure sticky routing for stateful deployments.
Verify the fix
- The connection stays open for the expected session duration.
- Messages are not duplicated or lost on reconnect.
- A tool call succeeds after the switch to Streamable HTTP.
Paste the configuration into the Config Doctor. It runs in your browser, never uploads the file, and can show structural issues and safe fixes.
Why we believe this
- modelcontextprotocol.io/specification/2026-07-28/basic/transportsOfficial documentation · checked Oct 23, 2026 · documented
The specification documents Streamable HTTP and deprecates HTTP+SSE for new implementations.