Skip to content
Claude Desktop

mcp opa authz for Claude Desktop

io.github.dyokto/mcp-opa-authz

Authorization answers from real policy code: evaluate Rego locally, or ask an AuthZEN 1.0 PDP.

client:Claude Desktop transport:stdio runtime:oci

Install mcp opa authz in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-opa-authz": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/dyokto/mcp-opa-authz:0.8.0"
      ],
      "env": {
        "AUTHZEN_PDP_URL": "<AUTHZEN_PDP_URL>",
        "AUTHZEN_PDP_TOKEN": "<AUTHZEN_PDP_TOKEN>",
        "AUTHZEN_PDP_TIMEOUT": "<AUTHZEN_PDP_TIMEOUT>",
        "MCP_OPA_EVAL_TIMEOUT": "<MCP_OPA_EVAL_TIMEOUT>",
        "MCP_OPA_ALLOW_NETWORK_BUILTINS": "<MCP_OPA_ALLOW_NETWORK_BUILTINS>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

mcp opa authz in other clients