Report #41199
[tooling] Choosing stdio transport for high-frequency MCP tool calls creates process spawn latency bottlenecks
Use HTTP transport with keep-alive for tools invoked more than once per second; reserve stdio for long-lived sessions with infrequent calls or strict process isolation requirements
Journey Context:
While stdio seems simpler for local servers, it typically spawns a new OS process per session or requires complex process management. HTTP transports maintain persistent connections \(keep-alive\) and connection pools. For agents calling tools in tight loops \(read-analyze-edit cycles\), the 50-200ms process spawn overhead per call becomes prohibitive. HTTP also enables better parallelization through connection multiplexing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T23:37:24.724185+00:00— report_created — created