# Neurouter MCP Gateway

> Neurouter MCP Gateway is an open-source MCP server for developer tools. Turns OpenAPI or GraphQL specs into a governed MCP server and scores agent readiness. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, Web, Self-hosted
- **Website:** https://neurouter.com
- **Repository:** https://github.com/neurouter/neurouter
- **MCP Registry name:** com.neurouter/gateway
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
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.

### Claude Code: Or share it with your project (.mcp.json)

```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 Desktop (claude_desktop_config.json)

```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.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

```sh
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
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```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>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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.

### Devin Desktop (~/.config/devin/mcp_config.json)

```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.

### Cline (cline_mcp_settings.json)

```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.

### Zed (Zed settings.json)

```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.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```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>"
      }
    }
  }
}
```

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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.

### Kiro (~/.kiro/settings/mcp.json)

```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.

### Other clients (your client's MCP settings (most use this shape))

```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>"
      }
    }
  }
}
```

## 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.

## Alternatives

- [mcpify](https://ai-powered.com/mcp/mcpify): mcpify is an open-source MCP server for developer tools.
- [Enterprise MCP Gateway](https://ai-powered.com/mcp/enterprise-mcp-gateway-3): Enterprise MCP Gateway is an open-source MCP server for developer tools.
- [Openapi MCP](https://ai-powered.com/mcp/openapi-mcp-2): Openapi MCP is an open-source MCP server for developer tools.
- [MCP Gateway](https://ai-powered.com/mcp/mcp-gateway-2): MCP Gateway is an open-source MCP server for developer tools.
- [Api Test MCP](https://ai-powered.com/mcp/api-test-mcp): Api Test MCP is an open-source MCP server for developer tools.
- [MCP API Translator](https://ai-powered.com/mcp/mcp-api-translator): MCP API Translator is an open-source MCP server for developer tools.
- [MCP Graphql Bridge](https://ai-powered.com/mcp/mcp-graphql-bridge): MCP Graphql Bridge is an open-source MCP server for developer tools.
- [New Relic MCP Server](https://ai-powered.com/mcp/new-relic-mcp-server-2): New Relic MCP Server is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/neurouter-mcp-gateway
