A local gateway shares one MCP setup across 24 AI clients and cuts context use
kydude · reddit · 2026-07-21
A developer built a local gateway that lets 24 AI clients share one MCP setup, with one click per client and no manual config-file editing. The motivation is simple: the same MCP servers had to be added separately in Claude Desktop, Cursor, Codex, and other clients, each with its own config format and duplicated keys. The gateway keeps servers in one place, stores keys in the OS keychain, and lets every client point to the same local endpoint. Its second feature is **lazy tool discovery**. Instead of dumping the full server catalog into context, it exposes four meta-tools and lets the agent search on demand. Reported benchmark results: - 3 servers: 179k tokens flat vs 47k with lazy discovery - 6 servers: 472k tokens flat vs 40k with lazy discovery - The author says flat discovery scales poorly, while lazy discovery stays roughly constant The project is free, MIT-licensed, local-first, and currently supports 24 clients.
More from coding & agent
- The author says Codex reached 20x and is now debugging spec decoding on a hybrid parallel setup — TheZachMueller · 2026-07-21
- Axcess adds an MCP connector for WCAG accessibility checks that scanners miss — modelcontextprotocol · 2026-07-21
- X post asks whether Cursor Composer, built on Kimi models, would also be banned — max_paperclips · 2026-07-21
- A developer’s Codex usage is draining pooled enterprise credits at a small company — Distinct_Relation_62 · 2026-07-21
- Qwen Code ships cua-driver-rs 0.7.3 with relative coordinates and MCP filtering — github-actions[bot] · 2026-07-21
- Matt Pocock says every new codebase turns legacy within days — mattpocockuk · 2026-07-21