Integration

Cerbos integration

Cerbos is a policy decision point: authorization rules live in YAML resource and principal policies, and the running server answers access questions against them. This catalog entry covers both of its HTTP surfaces. The decision surface asks whether a principal may perform given actions on given resource instances, returning one ALLOW or DENY per action with the policy and rule that decided it, and asks for a query plan instead, the filter expression a database query would need to return only the rows that principal may act on. The administration surface adds or updates policies and schemas, reads them back by id, lists the policies and schemas the store holds, inspects policies to see the actions, variables and derived roles they define, disables and re-enables policies, deletes policies and schemas outright, reloads the policy store from disk or from its database, and purges superseded store revisions. The host is part of the credential because every install is its own deployment: point it at the Cerbos HTTP listener (port 3592 by default). Authentication is HTTP Basic with the username and password configured under the server's admin API credentials; the decision endpoints themselves are normally unauthenticated, and the administration endpoints answer only when the admin API is enabled on that server.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Cerbos.Built from the 16 Cerbos tools below, on the connection you add once.

What you can do with Cerbos

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Schema, 4 operations

  • add_or_update_schemasAdd or update schemasPOSTAgents: ask firstAdd or update schema.
  • delete_schemasDelete schemasDELETEAgents: ask firstDelete schema.
  • get_schemasGet schemasGETAgents: ask firstGet schema.
  • list_schemasList schemasGETAgents: ask firstList schemas.

Policy, 2 operations

  • add_or_update_policiesAdd or update policiesPOSTAgents: ask firstAdd or update policies.
  • get_policiesGet policiesGETAgents: ask firstGet policy.

Resource, 2 operations

  • check_resourcesCheck resourcesPOSTAgents: ask firstCheck resources.
  • plan_resourcesPlan resourcesPOSTAgents: ask firstPlan resources.

Delete, 1 operation

  • delete_policiesDelete policiesPOSTAgents: ask firstDelete policy.

Disable, 1 operation

  • disable_policiesDisable policiesPOSTAgents: ask firstDisable policy.

Enable, 1 operation

  • enable_policiesEnable policiesPOSTAgents: ask firstEnable policy.

Inspect, 1 operation

  • inspect_policiesInspect policiesGETAgents: ask firstInspect policies.

Policie, 1 operation

  • list_policiesList policiesGETAgents: ask firstList policies.

Reload, 1 operation

  • reload_storeReload storeGETAgents: ask firstReload store.

Revision, 1 operation

  • purge_store_revisionsPurge store revisionsDELETEAgents: ask firstPurge store revisions.

Server info, 1 operation

  • get_server_infoGet server infoGETAgents: ask firstGet server information.

Use Cerbos from Claude Code, Cursor or Codex

Connect Cerbos in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Cerbos operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Cerbos

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Cerbos once

    Add your Cerbos connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Cerbos integration FAQ

What can you do with the Cerbos integration?

LiveContext exposes 16 operations on Cerbos, covering schema, policy, resource and delete.

Popular integrations

Browse the whole catalog