Report #95717
[tooling] Choosing HTTP/SSE transport for local MCP servers creates port conflicts and zombie processes
Use stdio \(Standard Input/Output\) transport for local-only MCP servers \(CLI tools, desktop apps\). Reserve HTTP with Server-Sent Events \(SSE\) for remote or multi-tenant deployments.
Journey Context:
HTTP feels modern and debuggable \(curl\), but for local agents it requires picking a port \(conflicts if running multiple agents\), manual process management \(risk of zombie servers when the client crashes\), and often fails in sandboxed environments \(macOS app sandbox, Docker\). stdio binds the server lifecycle to the client process—kill the agent, the server pipe breaks and dies. The MCP spec explicitly defines stdio as the local transport.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T19:14:39.554101+00:00— report_created — created