← Back to directory
M

MCP Gateway

Community
Gateway / proxy
Discover and route tools across MCP servers and REST APIs through one compact interface.

This gateway aggregates or proxies other MCP servers; it only becomes useful once you connect real servers behind it.

Category
Dev Tools #132 of 751
Stars
★ 92 Popular
Transport
stdio (local process) · Streamable HTTP · SSE
Runtime
Rust · Docker
Credentials
No credential needed
License
Other / unspecified
Last commit
Tools
4
58FMRS · C

Based on the supplied project material, MCP Gateway is a self-hosted router for MCP and REST tools, with on-demand discovery, centralized management, and security controls. It suits users consolidating a larger tool catalog; backend, credential, and HTTP access-control setup require operator configuration, and discovery can add task overhead.

Strongest · Documentation 14/20 Weakest · Reliability 9/20

Reliability
9/20
Security and permissions
12/20
Maintenance
10/20
Documentation
14/20
Setup experience
13/20
Why each score
Reliability 9/20
The README describes stdio, HTTP, SSE, and WebSocket transports, multiple backends, hot reload, retries, health checks, and some performance and benchmark information, giving the main paths a plausible design basis. This review can inspect only the README and manifest: the CI badge and stated test counts are not verifiable execution results, and there is no verifiable handshake, failure-handling, or end-to-end execution evidence. Those gaps lower the score under static calibration, which also caps it at 12.
Security and permissions 12/20
The documentation describes tool-description scanning, optional capability hash pinning, identity propagation, OAuth isolation, cleartext credential restrictions, and authentication and scope settings. It also says some security coverage is self-assessed and lists hardening work still outstanding. The implementation and defaults cannot be verified from the README and manifest alone; authentication is documented as disabled by default, and the manifest's key and rollback environment variables indicate that deployment security depends on configuration. The provided evidence does not establish a red-line issue.
Maintenance 10/20
The repository is not archived, and the README describes versioning, upgrade documentation, a changelog, maintainer attribution, and licensing. The supplied material does not provide verifiable release cadence, commit activity, issue response, dependency-update practice, or a security-response channel. License metadata also needs reconciliation: the manifest says NOASSERTION while the README says PolyForm Noncommercial.
Documentation 14/20
The README provides several installation and client-connection paths, configuration examples, authentication and deployment guidance, troubleshooting, disclosed limitations, and benchmark references. The score is reduced because many feature claims and linked documents cannot be reviewed from the supplied material, tool parameters and operational boundaries are not documented with verifiable detail for every feature, and the license metadata conflicts with the README.
Setup experience 13/20
The material lists Homebrew, Cargo, Docker, and binary installation, plus a setup wizard, client configuration examples, manual JSON configuration, and diagnostic commands. The mainstream client path is relatively clear. Installation and compatibility have not been executed or otherwise verified; Docker configuration and credential setup still require operator work, and the material contains no verifiable CI or key-path test evidence, so the static-calibration ceiling applies.

Static review · not runReviewed 2026-11-30

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the networkChanges third-party account dataConnects to a database

Best for

  • Individuals and teams who want to self-host and centrally manage multiple MCP backends or REST APIs.
  • Users who want a smaller client tool-definition list while retaining access to a larger catalog.

Not for

  • Users who need only one simple MCP server and do not need aggregation or routing.
  • Users looking for a chat-completions or embeddings proxy; the project says it is not one.
  • Commercial deployments expecting all business use to be free; the README says commercial use outside specified free permissions requires a commercial license.

Required permissions

  • Requires access to and the ability to start configured MCP backends, along with any credentials those backends need.
  • For HTTP deployments, authentication, admin credentials, and client access scopes can be configured; authentication is disabled by default.
  • Container deployments may need a mounted configuration file and credentials, plus network access to configured backends.

Risks and side effects

  • The gateway routes calls to configured backends; incorrect backend settings or credentials can cause failures or expose unintended capabilities.
  • Connecting multiple backends increases the reachable attack surface. The README describes protections such as tool-description scanning, but its OWASP coverage is self-assessed, not certified.
  • The README's small live benchmark reports 1.2% to 16.1% more input tokens and one extra interaction for the meta-tool path compared with direct calls.
  • HTTP authentication is off by default, so operators need to configure access controls and network boundaries for their deployment.

Setup

Before you start

Runtime:Rust · Docker

GATEWAY_ATTESTATION_SIGNING_KEY optionalsecret Optional: HMAC-SHA256 signing key shared with bnaut-attestation for sandbox token verification.
Other optional settings (6)
MCP_GATEWAY_CONFIG_DIR optional Optional: overrides the gateway data and configuration directory; defaults to ~/.mcp-gateway.
GATEWAY_ATTESTATION_MODE optional Optional: sets sandbox attestation mode to observe (default, audits only) or off.
GATEWAY_ATTESTATION_KEY_ID optional Optional: signing key ID for sandbox attestation tokens; defaults to gateway.
SYMPHONY_PLUS_ATTESTATION optional Optional: set to 0 to disable boot-time sandbox attestation enforcement.
MCP_GATEWAY_FIREWALL_SKIP_KEYS optional Optional: comma-separated JSON keys exempt from firewall free-text prompt-injection scanning.
NO_COLOR optional Optional: set to any value to disable colored output in doctor diagnostics.

Install with Homebrew or Cargo; Docker and a Windows binary are also listed. Run mcp-gateway setup wizard --configure-client to import existing servers and configure clients, then run mcp-gateway serve and check with mcp-gateway doctor. The manifest provides OCI and Cargo packages using serve --stdio with stdio transport. A client can also be configured to connect to http://localhost:39400/mcp.

claude_desktop_config.json
{"mcpServers":{"gateway":{"type":"http","url":"http://localhost:39400/mcp"}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "gateway": {
      "type": "http",
      "url": "http://localhost:39400/mcp"
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.gateway]
url = "http://localhost:39400/mcp"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add --transport http gateway http://localhost:39400/mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm the client lists gateway_search_tools, gateway_invoke, gateway_list_servers, and gateway_list_tools. Call gateway_list_servers and check that it returns information about configured servers.

Troubleshooting

  1. Run `mcp-gateway doctor` to check configuration, ports, environment variables, and backend health.
  2. If a backend will not connect, test its command directly and inspect gateway debug logs.
  3. If tools are missing, check backend status with `gateway_list_servers`; tool lists are cached for five minutes.
  4. If an HTTP health check returns only summary status, confirm authentication is enabled and use admin credentials.

Things to try

Once connected, you can ask your AI assistant things like:

  • Search the available tools for one that can look up the weather.
  • List the configured MCP servers.
  • Show me the tools currently exposed by the gateway.

Tools 4

gateway_search_tools read-only
Search available backend tools by name and description.
gateway_invoke writes
Invoke a selected backend tool.
gateway_list_servers read-only
List configured backend servers and their status.
gateway_list_tools read-only
List tools available through the gateway.

Use cases

Aggregate multiple MCP servers behind one entry point and search for tools on demand.
Import REST APIs or OpenAPI specifications as routable capabilities.
Check backend health and manage tool routing from one gateway.

Supported clients

Claude Desktop
Claude Code
Cursor
Codex
Zed
ContinuePartial support
Windsurf
VS Code
Cline

Listed from the project's documentation, not tested by this site.

Overview

MCP Gateway is a self-hosted Rust gateway that brings multiple MCP backends and REST API capabilities behind one entry point. AI clients search for and invoke backend tools through a compact meta-tool surface. The project describes more than 110 built-in REST capabilities and OpenAPI import. It is designed for centralized tool routing; the added discovery step can increase input tokens and add an interaction on completed tasks.

Similar servers

Source revision 9ba9d7a49a5e Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/mikkoparkkola-mcp-gateway.svg)](https://followmcp.com/en/servers/mikkoparkkola-mcp-gateway)