Report #4957
[tooling] Transport choice between stdio and HTTP causing connection drops or unnecessary architectural complexity
Use stdio transport for local single-user agent-server pairs \(simpler, no firewall/port issues, lower latency\); reserve HTTP with Server-Sent Events \(SSE\) for remote multi-client scenarios or when integrating with existing HTTP services
Journey Context:
stdio transports use stdin/stdout pipes, which are ideal for local agent-server communication: no network stack, no authentication complexity, no firewall rules. HTTP with SSE requires managing long-lived connections, handling reconnections, proxy timeouts, and CORS. However, stdio is limited to local processes and single clients. For a local AI IDE extension talking to a local MCP server, stdio is strictly superior. HTTP is only justified when the server must serve multiple remote clients or is already an HTTP service. The MCP spec defines both, but the choice has significant operational impact.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T20:21:46.893282+00:00— report_created — created