Shadow MCP sprawl
People add MCP servers to their own clients, one config file at a time. Nobody holds the full list of which agents can reach which systems.
Which agents can write to production data today?Open source · Apache-2.0 · Self-hosted MCP gateway
Neurouter is a self-hosted gateway for the Model Context Protocol (MCP). Claude Code, Cursor, VS Code, ChatGPT and your own agents connect to one /mcp endpoint and reach only the MCP servers and tools you have granted. Every call is authenticated, authorized, rate-limited, audited and measured — in your cloud, under your keys.
MCP made it easy for any AI client to call real tools: read a repository, query a warehouse, update a ticket. It also made it easy for every team, and every laptop, to wire that up on its own. Most organizations end up with the same six gaps.
People add MCP servers to their own clients, one config file at a time. Nobody holds the full list of which agents can reach which systems.
Which agents can write to production data today?Personal access tokens and service keys sit in local JSON configs, copied between machines and rarely rotated. A lost laptop becomes a credential incident.
Where are our API tokens stored right now?When an agent changes something, the trail lives in a chat transcript on someone's machine — if it exists at all.
What did that agent do, for whom, with which inputs?Auditors ask who approved access and what happened. Screenshots of config files are not an answer, and logs anyone can edit are not evidence.
Can we prove the log hasn't been changed?Without a central point there is no count of calls, failures or latency per team, agent or tool — the starting point for any capacity or cost conversation.
Which teams use which tools, and how much?Controls built into one AI vendor's product stop at that vendor. Your teams use several clients, and that mix will keep changing.
What happens to our controls when we switch clients?Neurouter is an MCP server to your agents and an MCP client to your upstream servers. Everything in between is policy you control, applied the same way to every client.
Admins add remote MCP servers and their credentials. Neurouter syncs each server's tools and pins every definition, so a tool that changes silently is blocked until someone re-approves it.
Allow or deny whole servers or single tools for users, groups and agents — deny always wins. Flag sensitive tools for human approval and set rate limits per agent and per tool.
In the portal, people browse what they can use, request what they're missing, create API keys and copy a ready-made config for Claude Code, Cursor, VS Code or any MCP client.
Every call lands in a tamper-evident audit log and in usage metrics by server, tool, agent and user, with export to the monitoring and SIEM you already run.
Connect Claude Code (OAuth sign-in)
claude mcp add --transport http neurouter \
https://mcp.example.com/mcp
# In Claude Code: /mcp → Authenticate
Or a headless agent with an API key
claude mcp add --transport http neurouter \
https://mcp.example.com/mcp \
--header "Authorization: Bearer ${NEUROUTER_API_KEY}"
Instead of loading hundreds of tool definitions into every context window, agents get two meta-tools: search_tools and call_tool.
Neurouter follows the MCP authorization specification and keeps identities, credentials and policy in one place that you operate.
Every MCP call, search, admin change and sign-in is written to an append-only log. Rows are hash-chained and sealed at regular checkpoints signed with a key derived from your master keys. Verify checks the chain and reports the first row that doesn't match.
We're explicit about the limits: someone with database write access could rewrite rows, but cannot forge checkpoint signatures without your keys. Stream events to a system your database admins don't control and you close that gap too.
Per-minute rollups broken down by server, tool, agent and user, with built-in dashboards and session views — and the same data in the monitoring stack you already run.
Neurouter is a single container with no hosted component. Run it on AWS, Google Cloud, Azure, or your own Kubernetes on-premises. It talks only to your identity provider, the MCP servers you register and the export targets you configure.
Kubernetes, with Helm
helm install neurouter deploy/helm/neurouter \
--set publicUrl=https://mcp.example.com \
--set crypto.existingSecret=neurouter-crypto \
--set database.existingSecret=neurouter-db \
--set oidc.issuer=https://idp.example.com \
--set oidc.clientId=neurouter \
--set oidc.existingSecret=neurouter-oidc \
--set ingress.enabled=true \
--set ingress.host=mcp.example.com
Or try it on one machine
cp .env.example .env
npm run keys -- gen # paste the values into .env
docker compose up --build
Governance software should be something you can read. Neurouter is licensed under Apache-2.0: inspect it, run it, change it.
Apache-2.0 · free to use, modify and run in production.
A managed, multi-tenant Neurouter, operated for you.
Opens an email to signup@neurouter.com. We'll use your address only to tell you when Neurouter Cloud is available — see the privacy policy.
The Model Context Protocol is an open standard for connecting AI applications to tools and data. An MCP server exposes tools; an MCP client — Claude Code, Cursor, VS Code, ChatGPT or your own agent — calls them. The specification is at modelcontextprotocol.io.
Any client that can connect to a remote MCP server over Streamable HTTP. Interactive clients sign in through Neurouter's OAuth 2.1 server; scripts and CI use API keys. The portal generates connection snippets for Claude Code, Cursor, VS Code and generic clients. Both the 2025-11-25 and 2026-07-28 versions of the MCP specification are supported.
Remote MCP servers that use Streamable HTTP or the older SSE transport. Upstream authentication can be none, a shared service credential, or per-user OAuth, where each person connects their own account once and the gateway holds the encrypted token. Local stdio servers, run in managed sandboxes, are on the roadmap.
Neurouter has no hosted component and sends nothing to us. It runs in your infrastructure and connects only to your identity provider, the upstream MCP servers you register and the export targets you configure. Tool search uses an embedding model that ships inside the container image.
Vendor controls cover that vendor's client. Neurouter works at the protocol level, so one set of policies, one audit log and one credential store apply to every MCP client your teams use — and you can change or add clients without rebuilding your governance.
Neurouter is new and under active development. The capabilities described on this page are in its first release; anything marked roadmap is not built yet. Start with a pilot, review the code, and run it behind your normal change process.
The self-hosted gateway is free and open source under Apache-2.0; you pay only for the infrastructure it runs on. Pricing for Neurouter Cloud will be published when it launches.
PostgreSQL 16 or newer with the vector extension in production; it's required for more than one replica. For a local evaluation it runs on SQLite with no Docker needed. The audit log can live in a separate database if you prefer.
Please don't open a public issue. See our security and responsible disclosure policy.
Read the code, run it in your own cloud, and judge it on what it does.