io.github.kanywst/mcp-opa-authz
Authorization answers from real policy code: evaluate Rego locally, or ask an AuthZEN 1.0 PDP.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/kanywst/mcp-opa-authz
- Website
- github.com/kanywst/mcp-opa-authz#readme
- Version
- 0.7.0
- Author
- kanywst (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 17, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: AUTHZEN_PDP_URL, AUTHZEN_PDP_TOKEN, AUTHZEN_PDP_TIMEOUT, MCP_OPA_EVAL_TIMEOUT, MCP_OPA_ALLOW_NETWORK_BUILTINS.
On your machine
Claude Code
The server runs on your machine (oci package). In a terminal:
claude mcp add mcp-opa-authz -e AUTHZEN_PDP_URL=YOUR_AUTHZEN_PDP_URL -e AUTHZEN_PDP_TOKEN=YOUR_AUTHZEN_PDP_TOKEN -e AUTHZEN_PDP_TIMEOUT=YOUR_AUTHZEN_PDP_TIMEOUT -e MCP_OPA_EVAL_TIMEOUT=YOUR_MCP_OPA_EVAL_TIMEOUT -e MCP_OPA_ALLOW_NETWORK_BUILTINS=YOUR_MCP_OPA_ALLOW_NETWORK_BUILTINS -- docker run -i --rm -e AUTHZEN_PDP_URL -e AUTHZEN_PDP_TOKEN -e AUTHZEN_PDP_TIMEOUT -e MCP_OPA_EVAL_TIMEOUT -e MCP_OPA_ALLOW_NETWORK_BUILTINS ghcr.io/kanywst/mcp-opa-authz:0.7.0Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"mcp-opa-authz": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"AUTHZEN_PDP_URL",
"-e",
"AUTHZEN_PDP_TOKEN",
"-e",
"AUTHZEN_PDP_TIMEOUT",
"-e",
"MCP_OPA_EVAL_TIMEOUT",
"-e",
"MCP_OPA_ALLOW_NETWORK_BUILTINS",
"ghcr.io/kanywst/mcp-opa-authz:0.7.0"
],
"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"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"mcp-opa-authz": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"AUTHZEN_PDP_URL",
"-e",
"AUTHZEN_PDP_TOKEN",
"-e",
"AUTHZEN_PDP_TIMEOUT",
"-e",
"MCP_OPA_EVAL_TIMEOUT",
"-e",
"MCP_OPA_ALLOW_NETWORK_BUILTINS",
"ghcr.io/kanywst/mcp-opa-authz:0.7.0"
],
"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"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"mcp-opa-authz": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"AUTHZEN_PDP_URL",
"-e",
"AUTHZEN_PDP_TOKEN",
"-e",
"AUTHZEN_PDP_TIMEOUT",
"-e",
"MCP_OPA_EVAL_TIMEOUT",
"-e",
"MCP_OPA_ALLOW_NETWORK_BUILTINS",
"ghcr.io/kanywst/mcp-opa-authz:0.7.0"
],
"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"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
io.github.kanywst/mcp-opa-authz · L’Agora
[io.github.kanywst/mcp-opa-authz — L’Agora](https://lagora.dev/en/entry/io.github.kanywst/mcp-opa-authz)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.kanywst/mcp-opa-authz)HTML
<a href="https://lagora.dev/en/entry/io.github.kanywst/mcp-opa-authz"><img src="https://lagora.dev/badge/io.github.kanywst/mcp-opa-authz.svg?lang=en" alt="io.github.kanywst/mcp-opa-authz on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.