loading…
Search for a command to run...
loading…
An MCP routing proxy that prevents LLMs from executing unintended tools. It securely curates, filters, and routes tools from multiple backend MCP servers. (LLMが
An MCP routing proxy that prevents LLMs from executing unintended tools. It securely curates, filters, and routes tools from multiple backend MCP servers. (LLMが意図しないツールを実行するのを防ぐMCPルーティングプロキシ。複数のバックエンドMCPサーバーからのツールを安全にキュレーション、フィルタリング、ルーティングします。)
The MCP Routing Gateway is a stateless router and Pure Proxy designed to solve the problem of "LLMs selecting tools unintended by the user," which is a common issue faced by current mainstream AI agents (e.g., Claude Desktop, Cline).
When multiple MCP servers are registered directly to a standard AI agent, the LLM can freely browse and execute all tools, posing the risk of triggering unexpected destructive operations or unnecessary tool calls.
This project sits between the AI agent and the actual group of MCP servers, mediating the communication to provide a control layer that "presents only safely curated (filtered and virtualized) tools to the LLM."
This project incorporates both "MCP Server" and "MCP Client" functionalities internally.
AI Agent (MCP Client) → | [MCP Server] Gateway [MCP Client] | → Backend MCP Servers
stdio).mcp_config.json and automatically launches and manages multiple MCP servers defined within it (via stdio spawned processes).This project is built on the strict philosophy of being a "Router and Pure Proxy."
tools/list (presenting the tool list) and tools/call (tool invocation). Based on the configuration file, it hides dangerous tools or replaces them with secure virtual tools.All configurations are entirely managed in JSON format. By default, the gateway looks for these files in the working directory ~/.mcp-routing-gateway. You can change this directory using the --work-dir CLI option.
mcp_config.json (Backend Definition):
The standard configuration file format for MCP clients. It defines the group of MCP servers that the Gateway connects to and launches in the background.gateway_config.json (Routing and Filter Definition):
A rule configuration file unique to the Gateway. It defines "which tools to hide (Blocked Tools)" and "which tools to virtualize (Virtual Tools)."For detailed usage and CLI options, please see the User Manual.
Add this to claude_desktop_config.json and restart Claude Desktop.
{
"mcpServers": {
"mcp-routing-gateway": {
"command": "npx",
"args": []
}
}
}