<!-- Generated by website/scripts/sync-docs.mjs from docs/running.md. Edit that file, not this one. -->

# Running it

> Every page of this site: https://dyokto.github.io/mcp-opa-authz/llms.txt

## From source

```bash
make smoke
```

Builds the binary, stands up a fake AuthZEN PDP, drives one real MCP stdio session through all five tools, and asserts each answered — including that `http.send` is still rejected. No MCP client and no real PDP needed.

## Container

```bash
docker run -i --rm \
  -e AUTHZEN_PDP_URL=https://pdp.example.com/access/v1/evaluation \
  ghcr.io/dyokto/mcp-opa-authz
```

## Cursor and other MCP clients

```jsonc
{
  "mcpServers": {
    "opa-authz": {
      "command": "mcp-opa-authz",
      "env": { "AUTHZEN_PDP_URL": "http://localhost:8181/access/v1/evaluation" }
    }
  }
}
```

A local [opa-authzen-plugin](https://github.com/dyokto/opa-authzen-plugin) on `:8181` works as the PDP. So does [Topaz](https://www.topaz.sh/), [Cerbos](https://www.cerbos.dev/), [Keycloak](https://www.keycloak.org/2026/05/authzen-as-experimental-feature) with its experimental AuthZEN support, or anything else on the [interop list](https://authzen-interop.net/).
