Report #12865
[tooling] Choosing HTTP transport for local MCP servers and fighting port conflicts
Use stdio transport for local subprocess MCP servers; it avoids network stack overhead, port management, and authentication complexity while maintaining bidirectional communication via stderr/stdout.
Journey Context:
HTTP seems natural for 'remote' capabilities, but for local agent-to-server communication, stdio is more robust: no firewall issues, no port collisions, simpler lifecycle management. HTTP is only needed when crossing network boundaries or when the server must persist independently of the client process. Many developers prematurely optimize for network distribution and end up with zombie processes on port 3000-3010.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T17:13:03.157771+00:00— report_created — created