# Godelgate Docs

Godelgate sits between your AI agents and the MCP servers they use. It ties every tool call to a person, enforces your policy before anything runs, stops prompt-injected agents from sending your data out, and records every decision.

New here? [Start with Godelgate Cloud](/docs/cloud) to connect your first client in two minutes with nothing to install, or follow the [Quickstart](/docs/quickstart) to self-host.

<div class="diagram">
  <div class="dg-row"><span class="dg-label">AI clients</span><span class="dg-box">Claude Code</span><span class="dg-box">Cursor</span><span class="dg-box">Codex</span><span class="dg-box">VS Code</span><span class="dg-box">Your agents</span></div>
  <div class="dg-arrow">↓ one MCP endpoint, one key per person</div>
  <div class="dg-row"><span class="dg-label">Godelgate</span><span class="dg-box dark">Identity</span><span class="dg-box dark">Policy</span><span class="dg-box dark">Trifecta containment</span><span class="dg-box dark">Tool pinning</span><span class="dg-box dark">Approvals</span><span class="dg-box dark">Audit</span></div>
  <div class="dg-arrow">↓ only allowed calls pass</div>
  <div class="dg-row"><span class="dg-label">Your systems</span><span class="dg-box">Local MCP servers</span><span class="dg-box">Remote MCP servers</span><span class="dg-box">Built-in demo</span></div>
</div>

## Core capabilities

- **[Lethal-trifecta containment](/docs/trifecta):** each session remembers whether the agent has read private data and untrusted content. Once it has, tools that can send data out are blocked or held for approval.
- **[Tool pinning](/docs/tool-pinning):** tool definitions are fingerprinted on first sight. A changed or suspicious tool is quarantined and hidden from agents until an admin trusts it.
- **[Policy rules](/docs/policy):** allow, deny or require approval per tool, with globs and group scoping.
- **[Approvals](/docs/approvals):** risky calls wait for a human in the dashboard while the agent's request stays open.
- **[Audit log](/docs/audit-log):** every call, decision and reason, with secrets redacted, in an SQLite file you own.
- **[MCP gateway](/docs/mcp-gateway):** one Streamable HTTP endpoint that combines all your MCP servers, [REST APIs](/docs/openapi) and [isolated local servers](/docs/isolation).
- **[Data protection](/docs/data-protection):** secrets and personal data hidden from results; secrets can't be sent to tools.
- **[Single sign-on and SCIM](/docs/sso)**, **[OpenTelemetry](/docs/observability)** and **[the LLM proxy with cost tracking](/docs/llm-proxy)**.

## Explore

<div class="cards">
  <a class="card" href="/docs/quickstart"><b>Get started</b><span>Run Godelgate and connect a client.</span></a>
  <a class="card" href="/docs/trifecta"><b>Security</b><span>Trifecta, tool pinning, policy and approvals.</span></a>
  <a class="card" href="/docs/mcp-servers"><b>MCP</b><span>Connect servers and understand the gateway.</span></a>
  <a class="card" href="/docs/deployment"><b>Admin</b><span>Deploy, manage users and read the audit log.</span></a>
  <a class="card" href="/docs/connect-clients"><b>Integrations</b><span>Claude Code, Cursor, VS Code and Codex.</span></a>
  <a class="card" href="/docs/configuration"><b>Reference</b><span>Every config field, endpoint and variable.</span></a>
</div>
