Best for
- Developers who want to manage several MCP servers centrally.
- Teams that want to apply security plugins to tool call requests or responses.
- Users who want to record MCP tool calls for troubleshooting.
This gateway aggregates or proxies other MCP servers; it only becomes useful once you connect real servers behind it.
The source describes an MCP gateway centered on proxying and plugins, with tool discovery and execution, credential masking, optional PII handling, external security checks, call tracing, and pre-load scanning. It provides Cursor and Claude Desktop configuration examples but does not specify a transport protocol.
Strongest · Setup experience 12/20 Weakest · Security and permissions 6/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Python
LASSO_API_KEY
Set when using the lasso plugin; obtain the API key by signing up with Lasso Security.
XETRACK_DB_PATH
Set when using the xetrack plugin; specifies the location of the SQLite database file.
XETRACK_LOGS_PATH
Set when using the xetrack plugin; specifies where logs are stored.
FLATTEN_ARGUMENTS
Optional with the xetrack plugin; controls whether call arguments are flattened and defaults to true.
FLATTEN_RESPONSE
Optional with the xetrack plugin; controls whether responses are flattened and defaults to true.
Install the mcp-gateway Python package, configure the client to run it as a server, and use --mcp-json-path to point to an MCP configuration file. Specify plugins with --plugin; the README example enables basic and configures a filesystem MCP under servers.
{
"mcpServers": {
"mcp-gateway": {
"command": "mcp-gateway",
"args": [
"--mcp-json-path",
"~/.cursor/mcp.json",
"--plugin",
"basic"
],
"servers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"."
]
}
}
}
}
}
Shown for Cursor. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"mcp-gateway": {
"command": "mcp-gateway",
"args": [
"--mcp-json-path",
"~/.cursor/mcp.json",
"--plugin",
"basic"
],
"servers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"."
]
}
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.mcp-gateway] command = "mcp-gateway" args = ["--mcp-json-path", "~/.cursor/mcp.json", "--plugin", "basic"]
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add mcp-gateway -- mcp-gateway --mcp-json-path '~/.cursor/mcp.json' --plugin basic
Run it in a terminal; replace any <…> placeholders with your own values first.
Confirm get_metadata and run_tool appear in the client's tool list. Call get_metadata and check that it returns information about the configured proxied MCPs.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
MCP Gateway is an intermediary for MCP servers. It reads server configuration, manages configured server lifecycles, and offers a unified entry point for discovering and calling tools. Plugins can intercept requests and responses to handle sensitive information, and a scanner analyzes server reputation and tool descriptions before loading.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision 7e7f1f6e5314 Data synced 2026-12-05 Read the FMRS scoring method Markdown