Skip to content
Grok

mcp opa authz for Grok

io.github.kanywst/mcp-opa-authz

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

client:Grok transport:stdio runtime:oci

Install mcp opa authz in Grok

.mcp.json (in your project root)

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

{
  "mcpServers": {
    "mcp-opa-authz": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/kanywst/mcp-opa-authz:0.3.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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

mcp opa authz in other clients