Report #29372
[frontier] MCP servers fail to connect or timeout when deployed remotely because they are configured for stdio instead of SSE
Use stdio transport for local, co-process MCP servers \(e.g., local file access\) and Streamable HTTP \(SSE\) transport for remote, distributed MCP servers.
Journey Context:
The MCP spec defines multiple transports. Developers often default to stdio because it's simpler for local CLI tools. However, stdio requires the client to spawn the server as a subprocess, which doesn't work across network boundaries or in browser/Sandbox environments. For remote servers \(e.g., an MCP server wrapping a SaaS API hosted in the cloud\), you must use the Streamable HTTP transport \(formerly SSE\). This allows the client to connect via HTTP POST for requests and HTTP GET with SSE for streaming responses, enabling proper cloud deployment, authentication via headers, and stateless scaling.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:41:41.845304+00:00— report_created — created