Skip to content

Running it

Markdown · llms.txt

Terminal window
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.

Terminal window
docker run -i --rm \
-e AUTHZEN_PDP_URL=https://pdp.example.com/access/v1/evaluation \
ghcr.io/dyokto/mcp-opa-authz
{
"mcpServers": {
"opa-authz": {
"command": "mcp-opa-authz",
"env": { "AUTHZEN_PDP_URL": "http://localhost:8181/access/v1/evaluation" }
}
}
}

A local opa-authzen-plugin on :8181 works as the PDP. So does Topaz, Cerbos, Keycloak with its experimental AuthZEN support, or anything else on the interop list.