Skip to content
Windsurf

mcp opa authz for Windsurf

io.github.kanywst/mcp-opa-authz

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

client:Windsurf transport:stdio runtime:oci

Install mcp opa authz in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_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/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>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

mcp opa authz in other clients