Report #56895
[tooling] MCP server cannot share cache or rate limit across multiple client connections
Use HTTP transport with SSE instead of stdio; stdio spawns an isolated process per client while HTTP allows a persistent multi-tenant server with shared memory
Journey Context:
stdio transport creates a new process for every client connection, isolating memory and preventing shared state. For use cases like API rate limiting, connection pooling, or shared caches, this is prohibitive. HTTP transport runs as a persistent daemon where all clients share the same process context, enabling global rate limiters and connection reuse.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T01:59:28.317824+00:00— report_created — created