Open-source MCP gateway for enterprise AI

Roll out AI agents without leaking a single record.

AI agents read web pages, tickets and emails that anyone can write, and a hidden instruction in them can make an agent send your data to an attacker. Godelgate sits between your agents and your tools and stops that call.

Free during early accessApache-2.0, every featureOne process, one YAML fileWorks with Claude Code, Cursor, Codex

The problem

One bad page is enough to leak your data.

To be useful, an agent needs three things: your private data, content from outside (web pages, issues, emails) and a way to act (send email, post, open a pull request). Put the three together and anyone who can get text in front of the agent can tell it to send your data out. The model can't reliably tell an instruction from data, so asking it to be careful doesn't work.

Godelgate checks from outside the agent. It remembers what each session has read, and once a session has seen private data and untrusted content, any tool that can send data out is blocked or waits for a person. Run the attack and see.

Live attack
Without Godelgate
    With Godelgate

      The agent is asked to write a report. It has a CRM, a web browser and email. Fake data, real Godelgate.

      How it fits

      One checkpoint between your agents and your systems.

      Agents become useful when they can read your data and act on it. Godelgate gives every agent and AI client a single endpoint to connect to, and checks each call before it reaches anything that matters.

      See what it checks →
      AI clients and agentsClaude Code · Cursor · Codex · VS Code · Internal agents
      GodelgateIdentity · Policy · Trifecta containment · Tool pinning · Approvals · Audit
      Your systemsMCP servers · CRM · Email · Code · Databases · Docs
      “No system can prove its own consistency from the inside. AI agents are no different: a model can be talked into anything, and asking it whether it is behaving tells you nothing. The checks have to live outside it.”
      — The idea behind Godelgate, after Kurt Gödel's incompleteness theorems

      Production controls

      Contain, verify and prove every action.

      Safe agents aren't agents that never get fooled. They're agents that can't do damage when they are, and leave a record of everything they tried.

      Leaks are blocked by design

      Godelgate tracks each session. Once an agent has read private data and untrusted content, every tool that can send data out is blocked or held for a human. Allow rules can't override it.

      How containment works →

      Tools are trusted once, checked forever

      Every tool definition is fingerprinted on first sight. If a server changes a tool or hides instructions in its description, the tool is quarantined and hidden until someone reviews it.

      See tool pinning →

      Every action has an owner

      Each person and agent gets its own key and groups. Risky calls wait for approval. Every decision is logged with the rule that made it, secrets redacted, in a database you own.

      See approvals and audit →

      Product

      See everything your agents do.

      A live dashboard for every call, decision, approval and session, so security teams can say yes to agents instead of blocking them.

      Godelgate dashboard showing live tool calls

      Every tool call with the person, labels, decision and the reason behind it. Here an exfiltration attempt is denied by the trifecta rule.

      Quickstart

      Running in five minutes.

      Run it locally, ship it in a container, then point your AI clients at one URL.

      Read the quickstart guide →
      # Requires Node 22+. Starts with a built-in demo server.
      $ npm install && npm run build
      $ ALICE_KEY=$(openssl rand -hex 16) \
        GODELGATE_ADMIN_TOKEN=$(openssl rand -hex 16) \
        npm start
      # Dashboard: http://localhost:8080/app

      Works with your stack

      Keep the tools your teams already use.

      Engineers keep Claude Code, Cursor, Codex and VS Code. Godelgate speaks standard MCP on both sides, so nobody switches clients or rewrites servers.

      Your security team gets one place to set policy and review what happened.

      AI clients:Claude Code · Cursor · Codex · VS Code · any MCP client over HTTP
      MCP servers:25+ in the Cloud catalog with one-click OAuth: GitHub · Linear · Notion · Jira · Sentry · Stripe · Supabase · Figma · and any remote server, plus local (stdio) servers when self-hosted
      Runs on:Node 22 · Docker · Lizard · SQLite
      Identity:Google · Okta · Microsoft Entra ID · any OIDC or SAML provider · SCIM provisioning
      Observability:OpenTelemetry traces · Prometheus metrics · CSV audit export · LLM cost tracking
      Isolation:Each local server in its own Firecracker microVM (Cloud) or a locked-down container (self-hosted)

      Why Godelgate

      Small on purpose.

      Most AI platforms try to do everything. Godelgate does the one job that has to happen outside the agent, in a codebase you can read in an afternoon.

      GodelgateTypical AI platform
      License
      Apache-2.0, every feature included
      AGPL or open core, with SSO and RBAC paywalled
      Setup
      One process and a YAML file
      Kubernetes, several services, 6 GB+ of memory
      Prompt injection
      Contained by design: the lethal trifecta is enforced per session
      Detected by classifiers, which attackers learn to evade
      Tool tampering
      Definitions pinned; changes quarantined
      Usually trusted after install

      Godelgate is just an MCP endpoint. Keep your clients, your servers and your workflows.

      Pricing

      Free to run. Help when you want it.

      Every security feature is open source. Pay only if you want us to run it or support it.

      Open source

      $0 forever
      • Every security feature
      • Unlimited users and servers
      • Self-hosted: your data stays with you
      • Apache-2.0 license
      • Community support
      Get started

      Enterprise

      Custom
      • Everything in Cloud
      • SSO (Okta, Entra ID, SAML) and SCIM
      • Vault key management
      • Private or on-prem deployment
      • Security review and onboarding help
      • Support with an SLA
      Talk to us

      Move your first agent into production, safely.

      Bring the agent, the tools it needs and the data you're worried about. We'll show you Godelgate on your use case and set up the first policy with you.

      • A short call with an engineer, not a sales script
      • Your tools mapped to policy and trifecta labels
      • Early access to Godelgate Cloud

      FAQ

      What does Godelgate cost?

      The open-source edition is free under Apache-2.0, with every security feature, no user limits and no paywalled SSO. Cloud and Enterprise are for teams that want us to run it or support it.

      What is the “lethal trifecta”?

      An agent becomes dangerous when three things meet in one session: it can read private data, it reads content an attacker can control (web pages, emails, tickets), and it can send data out. Any two are fine. All three let a hidden instruction steal your data. Godelgate tracks the first two per session and blocks the third.

      How is this different from other MCP gateways?

      Most gateways route traffic and check who is calling. Godelgate also reasons about the whole session: what the agent has already read decides what it may do next. It also pins tool definitions, so a server can't quietly change a tool after you approved it.

      Our engineers already live in Claude Code and Cursor. Do they have to switch?

      No. Claude Code, Cursor, Codex, VS Code and other MCP clients connect to Godelgate like any MCP server. They see the same tools, with policy applied.

      Couldn't we build this ourselves?

      You could build a proxy. Session-aware containment, tool pinning, approvals that hold the agent's call open, and an audit trail your security team trusts take longer. Godelgate is open source, so you can also start from it and extend it.

      Why not just use a prompt-injection classifier?

      Classifiers guess, and attackers adapt. Containment doesn't need to recognise the attack: if the session can't send data out after reading untrusted content, the attack has nowhere to go. You can run both.

      Does Godelgate see or store our data?

      Self-hosted, everything stays on your infrastructure. On Cloud, server tokens and OAuth credentials are encrypted at rest, and each workspace is isolated from the others. The audit log keeps call metadata and short, redacted previews: fields that look like passwords, tokens or keys are removed, and long values are truncated.