Cortex Gateway
Self-hosted OAuth 2.1 gateway that fronts many HTTP backends as one MCP server
The server answered 6 days ago with a sign-in request for OAuth (HTTP 401), so we could not list its tools.
Cortex 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
- Self-hosted, API
- Runs
- Remotely
- Access
- Needs sign-in (OAuth)
- Version
- 0.4.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http cortex-gateway https://mcp.cortex-gateway.dev/mcpAdd --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": {
"cortex-gateway": {
"type": "http",
"url": "https://mcp.cortex-gateway.dev/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://mcp.cortex-gateway.dev/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"cortex-gateway": {
"url": "https://mcp.cortex-gateway.dev/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"cortex-gateway": {
"type": "http",
"url": "https://mcp.cortex-gateway.dev/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://mcp.cortex-gateway.dev/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add cortex-gateway --url https://mcp.cortex-gateway.dev/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.cortex-gateway]
url = "https://mcp.cortex-gateway.dev/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://mcp.cortex-gateway.dev/mcpEnter a Name (for example "Cortex Gateway"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"cortex-gateway": {
"type": "http",
"url": "https://mcp.cortex-gateway.dev/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "cortex-gateway": { "httpUrl": "https://mcp.cortex-gateway.dev/mcp" } } }Or run: gemini mcp add -s user --transport http cortex-gateway https://mcp.cortex-gateway.dev/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "cortex-gateway": { "serverUrl": "https://mcp.cortex-gateway.dev/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "cortex-gateway": { "url": "https://mcp.cortex-gateway.dev/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "cortex-gateway": { "type": "streamableHttp", "url": "https://mcp.cortex-gateway.dev/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "cortex-gateway": { "url": "https://mcp.cortex-gateway.dev/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "cortex-gateway": { "url": "https://mcp.cortex-gateway.dev/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "cortex-gateway": { "url": "https://mcp.cortex-gateway.dev/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "cortex-gateway": { "url": "https://mcp.cortex-gateway.dev/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
CORTEX_CANONICAL_URICanonical MCP resource URI (RFC 9728)RequiredOAUTH_ISSUEROAuth 2.1 authorization server URLRequiredCORTEX_BACKENDSComma-separated federated backend idsRequiredCORTEX_TECHNICAL_TOKENStatic token for backend catalog discoveryRequired
About Cortex Gateway
The gateway exists so each employee can hand their own agent exactly that person's rights and nothing more. Backends are ordinary web services that expose one POST endpoint, a contract of roughly 120 lines with no MCP library. The gateway discovers their tools, merges them into a single catalogue, enforces OAuth 2.1 scopes, routes each tool call to the owning backend and writes a pseudonymized audit trail.
The user's JWT is propagated to every backend, which re-validates it and applies its own permissions, so nothing is mirrored or synced. An unreachable backend simply drops out of the tool list. A compact search mode keeps large catalogues from flooding an agent's context, and agents can file report_missing_capability tickets when a tool is missing.
Native MCP servers can also be federated through a beta proxy adapter with a per-user token vault encrypted with AES-256-GCM. Deployment is a container image; the registry lists required settings for the canonical URI, OAuth issuer, backend ids and a technical token.
Tools this server provides (3)
Taken from the project documentation; the running server may differ.
Going by the tool names, 2 of 3 tools read data; 1 name doesn't say.
From the server's own tool labels and tool names; not verified by us.
- get_helpName suggests: reads
- Self-describing discovery of the gateway's capabilities.
- get_snapshotName suggests: reads
- Self-describing snapshot of the federated catalogue.
- report_missing_capability
- Files a ticket when a tool is missing or insufficient.
What it does
- Federated tool catalogue
- Merges tools from many plain-HTTP backends into one MCP endpoint.
- Per-user scopes
- Propagates the caller's JWT so each app's own permission model applies per person.
- Central audit trail
- Keeps a pseudonymized log of tool calls on your own infrastructure.
- MCP proxy adapter
- Fronts off-the-shelf MCP servers with a token vault and per-user linking flow (beta).
- Search mode
- Offers a compact catalogue view so large tool sets do not overload the agent.
- Failure isolation
- An unreachable backend disappears from tool listings while the rest keep working.
Good for
- Give employees one company-wide connector for internal CRM, billing and docs apps
- Expose several products through one versioned agent API
- Run a topic hub that federates providers behind one URL
- Offer free and paid tool tiers using OAuth scopes as entitlements
Pricing
Open source
Cortex Gateway FAQ
What do backends need to implement?
A single POST /api/cortex/backend endpoint following a small JSON-RPC contract; no MCP library or stdio is required.
How are permissions handled?
The gateway decides nothing itself. It passes the user's token on and each backend enforces that user's rights.
Which MCP versions does Cortex Gateway speak?
The README lists spec 2026-07-28 as well as 2025-11-25 and 2025-06-18 on the same endpoint, chosen per request.
How is Cortex Gateway deployed?
As an OCI container image, ghcr.io/wellknownmcp/cortex-gateway, listening on port 3213 by default.
Is Cortex Gateway free?
Yes. Cortex Gateway is open source, so you can use and self-host it for free.
How do I add Cortex Gateway to Claude Code?
Run this command in your terminal: claude mcp add --transport http cortex-gateway https://mcp.cortex-gateway.dev/mcp
What are the best alternatives to Cortex Gateway?
The closest alternatives to Cortex Gateway are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Status: checked automatically by AIPoweredBot on 24 November 2026.
- Install steps: from the official MCP Registry entry.


