Report #71077
[tooling] Intermittent connection drops or high latency when using local MCP tools
Use stdio transport for local MCP servers; reserve HTTP transport only for remote servers or multi-tenant scenarios. Configure the client to spawn the server as a subprocess and communicate over stdin/stdout rather than binding to localhost ports.
Journey Context:
Developers often default to HTTP for all MCP servers due to familiarity, but this introduces TCP handshake overhead, port binding conflicts, and authentication complexity for purely local tools. Stdio transport is designed specifically for local co-processes: it eliminates network latency, requires no firewall rules or port allocation, terminates cleanly when the parent process dies \(preventing zombie servers\), and provides inherent OS-level security isolation via process boundaries. HTTP should be reserved strictly for remote deployment or when serving multiple clients across a network where stdio is impossible.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:52:35.422005+00:00— report_created — created