{"slug": "the-mcp-reliability-security-gap-and-an-open-source-proxy-that-fills-it", "title": "The MCP reliability & security gap — and an open-source proxy that fills it", "summary": "A developer released mcp-bastion, an open-source proxy that addresses reliability and security gaps in the Model Context Protocol (MCP). The proxy handles MCP server disconnections by providing status and reconnect tools for agents, and adds runtime defenses against prompt injection and tool squatting. It is available on GitHub under the Apache-2.0 license.", "body_md": "As AI agents move from demos to production, the **Model Context Protocol (MCP)** has become the default way to give them tools. But the operational layer around MCP is still immature, and two gaps show up fast.\n\nMCP servers disconnect mid-session — a crashed subprocess, a dropped network stream — and the agent has no good signal. It sees a generic *\"No such tool available\"* error, indistinguishable from a tool that never existed. Worse, it can't reconnect itself; a human has to intervene. In a long autonomous run, capabilities silently vanish and the agent fails in confusing ways.\n\nMCP tools are described in natural language that the model reads and acts on. That creates two live threats:\n\nRuntime defenses for these live mostly in paid platforms.\n\n[ mcp-bastion](https://github.com/Gowthaman90/mcp-bastion) is a proxy that addresses both, and it's deliberately boring to adopt: it's a\n\nIt's organized in three layers:\n\n`bastion__status`\n\n, `bastion__reconnect`\n\n) that let the agent itself inspect and recover connections.It speaks both stdio and Streamable HTTP. TypeScript, Apache-2.0, layered architecture, tests, and CI.\n\n```\nnpx mcp-bastion\n```\n\nRepo: [https://github.com/Gowthaman90/mcp-bastion](https://github.com/Gowthaman90/mcp-bastion)\n\nIt's early and I'd love feedback — especially on the security heuristics and which audit sinks people want.", "url": "https://wpnews.pro/news/the-mcp-reliability-security-gap-and-an-open-source-proxy-that-fills-it", "canonical_source": "https://dev.to/gowthaman90/the-mcp-reliability-security-gap-and-an-open-source-proxy-that-fills-it-3ppo", "published_at": "2026-07-08 13:31:18+00:00", "updated_at": "2026-07-08 13:58:32.659398+00:00", "lang": "en", "topics": ["ai-agents", "ai-safety", "developer-tools", "large-language-models", "generative-ai"], "entities": ["mcp-bastion", "Model Context Protocol", "MCP", "GitHub", "Apache-2.0"], "alternates": {"html": "https://wpnews.pro/news/the-mcp-reliability-security-gap-and-an-open-source-proxy-that-fills-it", "markdown": "https://wpnews.pro/news/the-mcp-reliability-security-gap-and-an-open-source-proxy-that-fills-it.md", "text": "https://wpnews.pro/news/the-mcp-reliability-security-gap-and-an-open-source-proxy-that-fills-it.txt", "jsonld": "https://wpnews.pro/news/the-mcp-reliability-security-gap-and-an-open-source-proxy-that-fills-it.jsonld"}}