io.github.kanywst/mcp-opa-authz MCP Server
io.github.kanywst/mcp-opa-authz
What is the io.github.kanywst/mcp-opa-authz MCP server?
Authorization answers from real policy code: evaluate Rego locally, or ask an AuthZEN 1.0 PDP.
How to install io.github.kanywst/mcp-opa-authz
Copy-paste configuration for popular MCP clients.
AUTHZEN_PDP_URLDefault AuthZEN Access Evaluation endpoint, e.g. https://pdp.example.com/access/v1/evaluation. Only evaluate_policy works without it.
AUTHZEN_PDP_TOKENsecretAuthorization header value for the PDP. A value with no scheme is sent as "Bearer <token>".
AUTHZEN_PDP_TIMEOUTPer-request timeout for PDP calls, as a Go duration. Default 10s.
MCP_OPA_EVAL_TIMEOUTWall-clock limit on a single Rego evaluation, as a Go duration. Default 5s.
MCP_OPA_ALLOW_NETWORK_BUILTINSRe-enable http.send, net.lookup_ip_addr and opa.runtime inside evaluated policies. Off by default: policy source evaluated here comes from a model and runs inside the server process.
{
"mcpServers": {
"mcp-opa-authz": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/kanywst/mcp-opa-authz:0.2.1"
],
"env": {
"AUTHZEN_PDP_URL": "<YOUR_AUTHZEN_PDP_URL>",
"AUTHZEN_PDP_TOKEN": "<YOUR_AUTHZEN_PDP_TOKEN>",
"AUTHZEN_PDP_TIMEOUT": "<YOUR_AUTHZEN_PDP_TIMEOUT>",
"MCP_OPA_EVAL_TIMEOUT": "<YOUR_MCP_OPA_EVAL_TIMEOUT>",
"MCP_OPA_ALLOW_NETWORK_BUILTINS": "<YOUR_MCP_OPA_ALLOW_NETWORK_BUILTINS>"
}
}
}
}{
"mcpServers": {
"mcp-opa-authz": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/kanywst/mcp-opa-authz:0.2.1"
],
"env": {
"AUTHZEN_PDP_URL": "<YOUR_AUTHZEN_PDP_URL>",
"AUTHZEN_PDP_TOKEN": "<YOUR_AUTHZEN_PDP_TOKEN>",
"AUTHZEN_PDP_TIMEOUT": "<YOUR_AUTHZEN_PDP_TIMEOUT>",
"MCP_OPA_EVAL_TIMEOUT": "<YOUR_MCP_OPA_EVAL_TIMEOUT>",
"MCP_OPA_ALLOW_NETWORK_BUILTINS": "<YOUR_MCP_OPA_ALLOW_NETWORK_BUILTINS>"
}
}
}
}{
"mcpServers": {
"mcp-opa-authz": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/kanywst/mcp-opa-authz:0.2.1"
],
"env": {
"AUTHZEN_PDP_URL": "<YOUR_AUTHZEN_PDP_URL>",
"AUTHZEN_PDP_TOKEN": "<YOUR_AUTHZEN_PDP_TOKEN>",
"AUTHZEN_PDP_TIMEOUT": "<YOUR_AUTHZEN_PDP_TIMEOUT>",
"MCP_OPA_EVAL_TIMEOUT": "<YOUR_MCP_OPA_EVAL_TIMEOUT>",
"MCP_OPA_ALLOW_NETWORK_BUILTINS": "<YOUR_MCP_OPA_ALLOW_NETWORK_BUILTINS>"
}
}
}
}{
"servers": {
"mcp-opa-authz": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/kanywst/mcp-opa-authz:0.2.1"
],
"env": {
"AUTHZEN_PDP_URL": "<YOUR_AUTHZEN_PDP_URL>",
"AUTHZEN_PDP_TOKEN": "<YOUR_AUTHZEN_PDP_TOKEN>",
"AUTHZEN_PDP_TIMEOUT": "<YOUR_AUTHZEN_PDP_TIMEOUT>",
"MCP_OPA_EVAL_TIMEOUT": "<YOUR_MCP_OPA_EVAL_TIMEOUT>",
"MCP_OPA_ALLOW_NETWORK_BUILTINS": "<YOUR_MCP_OPA_ALLOW_NETWORK_BUILTINS>"
}
}
}
}claude mcp add mcp-opa-authz --env AUTHZEN_PDP_URL=<YOUR_AUTHZEN_PDP_URL> --env AUTHZEN_PDP_TOKEN=<YOUR_AUTHZEN_PDP_TOKEN> --env AUTHZEN_PDP_TIMEOUT=<YOUR_AUTHZEN_PDP_TIMEOUT> --env MCP_OPA_EVAL_TIMEOUT=<YOUR_MCP_OPA_EVAL_TIMEOUT> --env MCP_OPA_ALLOW_NETWORK_BUILTINS=<YOUR_MCP_OPA_ALLOW_NETWORK_BUILTINS> -- docker run -i --rm ghcr.io/kanywst/mcp-opa-authz:0.2.1Related MCP servers
Control a real Chrome browser to complete any task: fill forms, extract data, book flights.

World Monitor
Real-time global intelligence: markets, conflicts, country risk, energy, and infrastructure monitoring via 39 MCP tools.

Netdata
Real-time infrastructure monitoring with per-second metrics, ML-powered anomaly detection, and zero-configuration setup.
Trending hip-hop artist momentum scores across four cultural dimensions.
AI orchestration platform with 100+ agents, swarm coordination, and self-learning memory for enterprise development.

Scrapling MCP Server
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass capabilities.


