Skip to content
MCP server

Neurouter MCP Gateway

Turns OpenAPI or GraphQL specs into a governed MCP server and scores agent readiness

Neurouter MCP Gateway is an open-source MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Open source
Platforms
API, CLI, Web
Runs
Remotely
Access
Needs a secret key or token
Version
0.1.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add gateway --env PUBLIC_URL='<PUBLIC_URL>' --env DATABASE_URL='<DATABASE_URL>' --env NEUROUTER_MASTER_KEYS='<NEUROUTER_MASTER_KEYS>' --env NEUROUTER_ACTIVE_KEY_ID='<NEUROUTER_ACTIVE_KEY_ID>' --env HASH_PEPPER='<HASH_PEPPER>' -- docker run -i --rm -e PUBLIC_URL -e DATABASE_URL -e NEUROUTER_MASTER_KEYS -e NEUROUTER_ACTIVE_KEY_ID -e HASH_PEPPER ghcr.io/neurouter/neurouter:0.1.1

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "gateway": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PUBLIC_URL",
        "-e",
        "DATABASE_URL",
        "-e",
        "NEUROUTER_MASTER_KEYS",
        "-e",
        "NEUROUTER_ACTIVE_KEY_ID",
        "-e",
        "HASH_PEPPER",
        "ghcr.io/neurouter/neurouter:0.1.1"
      ],
      "env": {
        "PUBLIC_URL": "<PUBLIC_URL>",
        "DATABASE_URL": "<DATABASE_URL>",
        "NEUROUTER_MASTER_KEYS": "<NEUROUTER_MASTER_KEYS>",
        "NEUROUTER_ACTIVE_KEY_ID": "<NEUROUTER_ACTIVE_KEY_ID>",
        "HASH_PEPPER": "<HASH_PEPPER>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "gateway": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PUBLIC_URL",
        "-e",
        "DATABASE_URL",
        "-e",
        "NEUROUTER_MASTER_KEYS",
        "-e",
        "NEUROUTER_ACTIVE_KEY_ID",
        "-e",
        "HASH_PEPPER",
        "ghcr.io/neurouter/neurouter:0.1.1"
      ],
      "env": {
        "PUBLIC_URL": "<PUBLIC_URL>",
        "DATABASE_URL": "<DATABASE_URL>",
        "NEUROUTER_MASTER_KEYS": "<NEUROUTER_MASTER_KEYS>",
        "NEUROUTER_ACTIVE_KEY_ID": "<NEUROUTER_ACTIVE_KEY_ID>",
        "HASH_PEPPER": "<HASH_PEPPER>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "gateway": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PUBLIC_URL",
        "-e",
        "DATABASE_URL",
        "-e",
        "NEUROUTER_MASTER_KEYS",
        "-e",
        "NEUROUTER_ACTIVE_KEY_ID",
        "-e",
        "HASH_PEPPER",
        "ghcr.io/neurouter/neurouter:0.1.1"
      ],
      "env": {
        "PUBLIC_URL": "<PUBLIC_URL>",
        "DATABASE_URL": "<DATABASE_URL>",
        "NEUROUTER_MASTER_KEYS": "<NEUROUTER_MASTER_KEYS>",
        "NEUROUTER_ACTIVE_KEY_ID": "<NEUROUTER_ACTIVE_KEY_ID>",
        "HASH_PEPPER": "<HASH_PEPPER>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "gateway": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PUBLIC_URL",
        "-e",
        "DATABASE_URL",
        "-e",
        "NEUROUTER_MASTER_KEYS",
        "-e",
        "NEUROUTER_ACTIVE_KEY_ID",
        "-e",
        "HASH_PEPPER",
        "ghcr.io/neurouter/neurouter:0.1.1"
      ],
      "env": {
        "PUBLIC_URL": "<PUBLIC_URL>",
        "DATABASE_URL": "<DATABASE_URL>",
        "NEUROUTER_MASTER_KEYS": "<NEUROUTER_MASTER_KEYS>",
        "NEUROUTER_ACTIVE_KEY_ID": "<NEUROUTER_ACTIVE_KEY_ID>",
        "HASH_PEPPER": "<HASH_PEPPER>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add gateway --env PUBLIC_URL='<PUBLIC_URL>' --env DATABASE_URL='<DATABASE_URL>' --env NEUROUTER_MASTER_KEYS='<NEUROUTER_MASTER_KEYS>' --env NEUROUTER_ACTIVE_KEY_ID='<NEUROUTER_ACTIVE_KEY_ID>' --env HASH_PEPPER='<HASH_PEPPER>' -- docker run -i --rm -e PUBLIC_URL -e DATABASE_URL -e NEUROUTER_MASTER_KEYS -e NEUROUTER_ACTIVE_KEY_ID -e HASH_PEPPER ghcr.io/neurouter/neurouter:0.1.1

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.gateway]
command = "docker"
args = ["run", "-i", "--rm", "-e", "PUBLIC_URL", "-e", "DATABASE_URL", "-e", "NEUROUTER_MASTER_KEYS", "-e", "NEUROUTER_ACTIVE_KEY_ID", "-e", "HASH_PEPPER", "ghcr.io/neurouter/neurouter:0.1.1"]
env = { PUBLIC_URL = "<PUBLIC_URL>", DATABASE_URL = "<DATABASE_URL>", NEUROUTER_MASTER_KEYS = "<NEUROUTER_MASTER_KEYS>", NEUROUTER_ACTIVE_KEY_ID = "<NEUROUTER_ACTIVE_KEY_ID>", HASH_PEPPER = "<HASH_PEPPER>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "gateway": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PUBLIC_URL",
        "-e",
        "DATABASE_URL",
        "-e",
        "NEUROUTER_MASTER_KEYS",
        "-e",
        "NEUROUTER_ACTIVE_KEY_ID",
        "-e",
        "HASH_PEPPER",
        "ghcr.io/neurouter/neurouter:0.1.1"
      ],
      "env": {
        "PUBLIC_URL": "<PUBLIC_URL>",
        "DATABASE_URL": "<DATABASE_URL>",
        "NEUROUTER_MASTER_KEYS": "<NEUROUTER_MASTER_KEYS>",
        "NEUROUTER_ACTIVE_KEY_ID": "<NEUROUTER_ACTIVE_KEY_ID>",
        "HASH_PEPPER": "<HASH_PEPPER>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "gateway": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "PUBLIC_URL",
            "-e",
            "DATABASE_URL",
            "-e",
            "NEUROUTER_MASTER_KEYS",
            "-e",
            "NEUROUTER_ACTIVE_KEY_ID",
            "-e",
            "HASH_PEPPER",
            "ghcr.io/neurouter/neurouter:0.1.1"
          ],
          "env": {
            "PUBLIC_URL": "<PUBLIC_URL>",
            "DATABASE_URL": "<DATABASE_URL>",
            "NEUROUTER_MASTER_KEYS": "<NEUROUTER_MASTER_KEYS>",
            "NEUROUTER_ACTIVE_KEY_ID": "<NEUROUTER_ACTIVE_KEY_ID>",
            "HASH_PEPPER": "<HASH_PEPPER>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e PUBLIC_URL='<PUBLIC_URL>' -e DATABASE_URL='<DATABASE_URL>' -e NEUROUTER_MASTER_KEYS='<NEUROUTER_MASTER_KEYS>' -e NEUROUTER_ACTIVE_KEY_ID='<NEUROUTER_ACTIVE_KEY_ID>' -e HASH_PEPPER='<HASH_PEPPER>' gateway docker -- run -i --rm -e PUBLIC_URL -e DATABASE_URL -e NEUROUTER_MASTER_KEYS -e NEUROUTER_ACTIVE_KEY_ID -e HASH_PEPPER ghcr.io/neurouter/neurouter:0.1.1

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "gateway": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "PUBLIC_URL",
            "-e",
            "DATABASE_URL",
            "-e",
            "NEUROUTER_MASTER_KEYS",
            "-e",
            "NEUROUTER_ACTIVE_KEY_ID",
            "-e",
            "HASH_PEPPER",
            "ghcr.io/neurouter/neurouter:0.1.1"
          ],
          "env": {
            "PUBLIC_URL": "<PUBLIC_URL>",
            "DATABASE_URL": "<DATABASE_URL>",
            "NEUROUTER_MASTER_KEYS": "<NEUROUTER_MASTER_KEYS>",
            "NEUROUTER_ACTIVE_KEY_ID": "<NEUROUTER_ACTIVE_KEY_ID>",
            "HASH_PEPPER": "<HASH_PEPPER>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "gateway": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "PUBLIC_URL",
            "-e",
            "DATABASE_URL",
            "-e",
            "NEUROUTER_MASTER_KEYS",
            "-e",
            "NEUROUTER_ACTIVE_KEY_ID",
            "-e",
            "HASH_PEPPER",
            "ghcr.io/neurouter/neurouter:0.1.1"
          ],
          "env": {
            "PUBLIC_URL": "<PUBLIC_URL>",
            "DATABASE_URL": "<DATABASE_URL>",
            "NEUROUTER_MASTER_KEYS": "<NEUROUTER_MASTER_KEYS>",
            "NEUROUTER_ACTIVE_KEY_ID": "<NEUROUTER_ACTIVE_KEY_ID>",
            "HASH_PEPPER": "<HASH_PEPPER>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "gateway": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "PUBLIC_URL",
            "-e",
            "DATABASE_URL",
            "-e",
            "NEUROUTER_MASTER_KEYS",
            "-e",
            "NEUROUTER_ACTIVE_KEY_ID",
            "-e",
            "HASH_PEPPER",
            "ghcr.io/neurouter/neurouter:0.1.1"
          ],
          "env": {
            "PUBLIC_URL": "<PUBLIC_URL>",
            "DATABASE_URL": "<DATABASE_URL>",
            "NEUROUTER_MASTER_KEYS": "<NEUROUTER_MASTER_KEYS>",
            "NEUROUTER_ACTIVE_KEY_ID": "<NEUROUTER_ACTIVE_KEY_ID>",
            "HASH_PEPPER": "<HASH_PEPPER>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "gateway": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "PUBLIC_URL",
            "-e",
            "DATABASE_URL",
            "-e",
            "NEUROUTER_MASTER_KEYS",
            "-e",
            "NEUROUTER_ACTIVE_KEY_ID",
            "-e",
            "HASH_PEPPER",
            "ghcr.io/neurouter/neurouter:0.1.1"
          ],
          "env": {
            "PUBLIC_URL": "<PUBLIC_URL>",
            "DATABASE_URL": "<DATABASE_URL>",
            "NEUROUTER_MASTER_KEYS": "<NEUROUTER_MASTER_KEYS>",
            "NEUROUTER_ACTIVE_KEY_ID": "<NEUROUTER_ACTIVE_KEY_ID>",
            "HASH_PEPPER": "<HASH_PEPPER>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "gateway": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "PUBLIC_URL",
            "-e",
            "DATABASE_URL",
            "-e",
            "NEUROUTER_MASTER_KEYS",
            "-e",
            "NEUROUTER_ACTIVE_KEY_ID",
            "-e",
            "HASH_PEPPER",
            "ghcr.io/neurouter/neurouter:0.1.1"
          ],
          "env": {
            "PUBLIC_URL": "<PUBLIC_URL>",
            "DATABASE_URL": "<DATABASE_URL>",
            "NEUROUTER_MASTER_KEYS": "<NEUROUTER_MASTER_KEYS>",
            "NEUROUTER_ACTIVE_KEY_ID": "<NEUROUTER_ACTIVE_KEY_ID>",
            "HASH_PEPPER": "<HASH_PEPPER>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "gateway": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "PUBLIC_URL",
            "-e",
            "DATABASE_URL",
            "-e",
            "NEUROUTER_MASTER_KEYS",
            "-e",
            "NEUROUTER_ACTIVE_KEY_ID",
            "-e",
            "HASH_PEPPER",
            "ghcr.io/neurouter/neurouter:0.1.1"
          ],
          "env": {
            "PUBLIC_URL": "<PUBLIC_URL>",
            "DATABASE_URL": "<DATABASE_URL>",
            "NEUROUTER_MASTER_KEYS": "<NEUROUTER_MASTER_KEYS>",
            "NEUROUTER_ACTIVE_KEY_ID": "<NEUROUTER_ACTIVE_KEY_ID>",
            "HASH_PEPPER": "<HASH_PEPPER>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "gateway": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "PUBLIC_URL",
            "-e",
            "DATABASE_URL",
            "-e",
            "NEUROUTER_MASTER_KEYS",
            "-e",
            "NEUROUTER_ACTIVE_KEY_ID",
            "-e",
            "HASH_PEPPER",
            "ghcr.io/neurouter/neurouter:0.1.1"
          ],
          "env": {
            "PUBLIC_URL": "<PUBLIC_URL>",
            "DATABASE_URL": "<DATABASE_URL>",
            "NEUROUTER_MASTER_KEYS": "<NEUROUTER_MASTER_KEYS>",
            "NEUROUTER_ACTIVE_KEY_ID": "<NEUROUTER_ACTIVE_KEY_ID>",
            "HASH_PEPPER": "<HASH_PEPPER>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • PUBLIC_URLExternal https base URL (OAuth metadata, origin checks)Required
  • DATABASE_URLpostgres:// URL in production, sqlite: for evaluationRequired
  • NEUROUTER_MASTER_KEYSKey-encryption keys (id:base64)Required
  • NEUROUTER_ACTIVE_KEY_IDActive key idRequired
  • HASH_PEPPERHMAC pepper for API keys and tokensRequired
  • PORTHTTP port

About Neurouter MCP Gateway

Neurouter takes an existing OpenAPI 3.x or GraphQL specification and produces a curated MCP server, with overlays that rename, hide and trim tools without editing the spec itself. Each call passes a single policy pipeline that defaults to read-only, with separate dev, QA and prod environments that carry their own credentials.

Beyond serving tools, it runs evals that generate tasks from the spec, execute them against a mock with the model providers you supply, and report a 0-100 readiness score that can gate a pull request through a GitHub Action or the CLI. Agents can also report unmet needs and tool problems through a built-in ops tool, which feeds an inbox for the API team.

The core is Apache-2.0 and runs as a Node.js service with SQLite for trial use or Postgres in Docker or Kubernetes for production. It suits platform and API teams who want to know whether agents can use their endpoints safely before exposing them.

What it does

Spec to MCP import
Builds a tool model from an OpenAPI 3.x or GraphQL schema given as a URL, file or introspection.
Overlay curation
Renames, hides and re-describes tools in a separate YAML file that survives spec re-imports.
Read-only policy pipeline
Refuses write tools in each environment until writes are enabled per tool, and applies the same checks to every call path.
Readiness evals
Generates tasks from the spec and scores task success, tool quality, efficiency and stability per model.
Code mode scripts
Lets agents run restricted Python that calls tools as functions, with dry-run writes and resource limits.
Hash-chained audit log
Records every call, script and admin change with OpenTelemetry spans for external monitoring.

Good for

  • Check whether AI agents can complete real tasks against an internal API before release
  • Expose a company API to coding assistants with read-only access and per-environment credentials
  • Gate API changes in CI with a minimum agent-readiness score
  • Collect reports from agents about missing endpoints and broken tools
  • Produce an audit trail of agent activity for a security review

Pricing

Open source

Apache-2.0 self-hosted core; managed cloud pricing not yet set.

Prices change. Check neurouter.com before you buy.

Neurouter MCP Gateway FAQ

Which API description formats are supported?

OpenAPI 3.x and GraphQL, imported from a URL, a file or introspection. Each GraphQL query and mutation field becomes a tool.

Does any data leave my network?

The product is self-hosted and sends nothing to its maker. It connects to the APIs you configure, your identity provider and, for evals, the model provider whose key you supply.

Which models can run evals?

OpenAI, Anthropic and Gemini models are supported using your own API keys.

Is Neurouter MCP Gateway open source?

The core is released under Apache-2.0. A managed cloud is planned but has no published pricing or availability yet.

Does Neurouter MCP Gateway work with Claude Code and Cursor?

Each server and environment is a remote MCP endpoint over Streamable HTTP, and the console generates configuration snippets for Claude Code, Cursor, VS Code and generic clients.

Is Neurouter MCP Gateway free?

Yes. Neurouter MCP Gateway is open source, so you can use and self-host it for free.

How do I add Neurouter MCP Gateway to Claude Code?

Run this command in your terminal: claude mcp add gateway --env PUBLIC_URL='<PUBLIC_URL>' --env DATABASE_URL='<DATABASE_URL>' --env NEUROUTER_MASTER_KEYS='<NEUROUTER_MASTER_KEYS>' --env NEUROUTER_ACTIVE_KEY_ID='<NEUROUTER_ACTIVE_KEY_ID>' --env HASH_PEPPER='<HASH_PEPPER>' -- docker run -i --rm -e PUBLIC_URL -e DATABASE_URL -e NEUROUTER_MASTER_KEYS -e NEUROUTER_ACTIVE_KEY_ID -e HASH_PEPPER ghcr.io/neurouter/neurouter:0.1.1

What are the best alternatives to Neurouter MCP Gateway?

The closest alternatives to Neurouter MCP Gateway are mcpify, Enterprise MCP Gateway, Openapi MCP, MCP Gateway and Api Test MCP.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers