Report #8835
[tooling] MCP HTTP transport SSE events drop behind reverse proxies or corporate firewalls
Default to stdio transport for local MCP servers; only use HTTP/SSE for remote servers across networks, and implement Last-Event-ID header reconnection logic
Journey Context:
Developers often choose HTTP because it feels 'modern' or 'scalable,' but MCP's HTTP transport relies on Server-Sent Events \(SSE\) which silently fails behind Nginx reverse proxies, CDNs, or corporate proxies that buffer HTTP responses. stdio is actually more reliable for local tool co-location \(e.g., Claude Desktop to local script\) because it has no connection lifecycle to drop. If HTTP is required, you must handle connection drops with SSE's Last-Event-ID resumption mechanism, adding significant complexity that is unnecessary for local processes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T06:39:13.824531+00:00— report_created — created