Routing Gateway
БесплатноНе проверен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サーバーからのツールを安全にキュレーション、フィルタリング、ルーティングします。)
README
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).
🌟 Why MCP Routing Gateway?
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."
🏗️ Architecture
This project incorporates both "MCP Server" and "MCP Client" functionalities internally.
AI Agent (MCP Client) → | [MCP Server] Gateway [MCP Client] | → Backend MCP Servers
- Frontend (MCP Server): Acts as a "single, secure MCP server" to the AI agent, accepting connections via standard input/output (
stdio). - Backend (MCP Client): Reads
mcp_config.jsonand automatically launches and manages multiple MCP servers defined within it (viastdiospawned processes).
🎯 Design Philosophy
This project is built on the strict philosophy of being a "Router and Pure Proxy."
- Zero Payload Interference (Pass-through): It does not interfere with payloads such as request IDs or arguments. It focuses entirely on relaying communication, functioning as a pure pipe.
- Facade Pattern (Filtering and Tool Overrides):
The Gateway only intervenes in the routing of
tools/list(presenting the tool list) andtools/call(tool invocation). Based on the configuration file, it hides dangerous tools or replaces them with secure virtual tools.
⚙️ Configuration
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.
Установка Routing Gateway
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/globalpocket/mcp-routing-gatewayFAQ
Routing Gateway MCP бесплатный?
Да, Routing Gateway MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Routing Gateway?
Нет, Routing Gateway работает без API-ключей и переменных окружения.
Routing Gateway — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Routing Gateway в Claude Desktop, Claude Code или Cursor?
Открой Routing Gateway на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Routing Gateway with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
