MCP Opa Authz
● Activeio.github.dyokto/mcp-opa-authz
Authorization answers from real policy code: evaluate Rego locally, or ask an AuthZEN 1.0 PDP.
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"mcp-opa-authz": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/dyokto/mcp-opa-authz:0.8.0"
],
"env": {
"AUTHZEN_PDP_TOKEN": "<your AUTHZEN_PDP_TOKEN>"
}
}
}
}claude mcp add --env AUTHZEN_PDP_TOKEN='<your AUTHZEN_PDP_TOKEN>' --transport stdio mcp-opa-authz -- docker run -i --rm ghcr.io/dyokto/mcp-opa-authz:0.8.0codex mcp add mcp-opa-authz --env AUTHZEN_PDP_TOKEN='<your AUTHZEN_PDP_TOKEN>' -- docker run -i --rm ghcr.io/dyokto/mcp-opa-authz:0.8.0code --add-mcp '{"name":"mcp-opa-authz","type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/dyokto/mcp-opa-authz:0.8.0"],"env":{"AUTHZEN_PDP_TOKEN":"<your AUTHZEN_PDP_TOKEN>"}}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
- AUTHZEN_PDP_TOKENsecretAuthorization header value for the PDP. A value with no scheme is sent as "Bearer <token>".
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
Is it safe? Is it maintained?
Serverdex check: Dec 5, 2026Looks healthy: MCP Opa Authz is maintained, open source.
- Maintained
- Active
- Last commit today (Dec 4, 2026), 8 open issues.
- Official registry
- Active
- Published as io.github.dyokto/mcp-opa-authz in the official MCP registry, version 0.8.0.
- Source
- Open source, Apache-2.0
- Public repository under the Apache-2.0 licence, 1 stars, 2 forks.
- Runs
- On your machine
- A local Docker package started by your client; it can reach whatever your user account can.
- Credentials
- 1 required
- Declared environment variables: AUTHZEN_PDP_TOKEN. They stay on your machine; the config on this page shows where each goes.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
Report Card
How the grade works →Grade A · Production-ready
Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.
- Recent commits+30/30
Last commit today.
- Open licence+15/15
Apache-2.0 on GitHub.
- Documentation+15/15
The repository ships a README.
- Adoption0/20
1 GitHub stars.
- Registry status+12/12
Active in the official MCP registry.
- Product surface+8/8
Has a homepage or a published package/endpoint.
Own this server? Add the grade badge — it links back here
<a href="https://serverdex.io/server/io-github-dyokto-mcp-opa-authz?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-dyokto-mcp-opa-authz/report-badge.svg" alt="MCP Opa Authz — Serverdex Report Card A" height="22"></a>Compare every server's grade on best-maintained MCP servers.
On GitHub
read Dec 4, 2026Goauthorizationauthzenclaudegolangllm-toolsmcpmodel-context-protocolopapolicy-as-coderego
From the README
mcp-opa-authz Stop letting your agent guess at authorization. This is an MCP server that answers "is this allowed?" from real policy code — either Rego you hand it, or the OpenID AuthZEN 1.0 PDP that actually governs your system. Ask a model whether Alice may delete that document and it will produce a confident, plausible, unfalsifiable answer. Give it these tools and the answer comes from the policy. That is enough for evaluate_policy. Point it at a PDP to get the rest: The quick start installs it, connects an MCP client, and asks evaluate_policy for one denied and one allowed answer without a model. Docs site: . Two layers, same question Use evaluatepolicy while authoring or debugging a policy you have the source of. Use authzenevaluate when the decision has to come from production, not from a policy pasted into the chat. The server's MCP instructions tell the model the same thing, so it usually picks correctly on its own. What makes this different from opa eval in a shell tool An agent given shell access can already run opa eval. What it cannot do is get an answer it is allowed to trust: • Undefined is not false. A Rego query with no matching rule and no default returns []. Every model reads that as a deny. evaluate_policy returns defined alongside value, so "the policy denied" and "the policy has no opinion" stop being the same answer. • A PDP that did not answer is not a deny. AuthZEN makes decision a required member.…
Read the full README on GitHub →Alternatives to MCP Opa Authz
All MCP Opa Authz alternatives →Best Security & Identity servers →Compare side by side →The most-starred Security & Identity servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| HOL Guard | 1,138 | Dec 2026 | Local / not checked |
| SonarQube MCP Server | 695 | Nov 2026 | Local / not checked |
| MCP Ssh Manager | 561 | Dec 2026 | Local / not checked |
| Security Detections | 530 | Nov 2026 | Local / not checked |
| MCPProxy | 434 | Nov 2026 | Local / not checked |
MCP Opa Authz: questions people ask
- Is MCP Opa Authz a remote or a local MCP server?
- According to its entry in the official MCP registry, MCP Opa Authz ships as a local package (Docker) that your client starts on your machine.
- Does MCP Opa Authz need an API key?
- Its registry entry declares one required environment variable: AUTHZEN_PDP_TOKEN. The config on this page shows where each goes.
- Is MCP Opa Authz safe to use?
- Looks healthy: MCP Opa Authz is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, Apache-2.0; runs: On your machine; credentials: 1 required. Serverdex check of Dec 5, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is MCP Opa Authz still maintained?
- Active: the repository's last commit today. Last push Dec 4, 2026, 1 GitHub stars, Apache-2.0 licence. Read from GitHub on Dec 4, 2026.
- How do I add MCP Opa Authz to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More Security & Identity servers
Browse all Security & Identity →VulKill Security
Production-ready
AI pentests, monitoring & triage: 260+ controls in 12 security domains for code and live websites.
Purify Security Feeds
Well-maintained
Query CISA KEV / EPSS vulnerability feeds with full per-record provenance and auditable versions
Tkach Security
Well-maintained
Fail-closed MCP adapter for untrusted model output over a local Tkach runtime.
Edworking MCP
Production-ready
Edworking projects, tasks, Docs, search, conversations and files with scoped OAuth access.
Secrets Audit — Leaked API Key & Secret Detector
Production-ready
Detects leaked secrets & API keys: 32+ provider rules (AWS, GitHub, Stripe, OpenAI…), zero deps.
gpg-mcp
Well-maintained
Security-focused MCP server for GnuPG signing, encryption and key management.
Add the badge to your site
Show visitors that MCP Opa Authz is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-dyokto-mcp-opa-authz?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="MCP Opa Authz — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-dyokto-mcp-opa-authz?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-dyokto-mcp-opa-authz) [](https://serverdex.io/install/vscode/io-github-dyokto-mcp-opa-authz) [](https://serverdex.io/install/claude-code/io-github-dyokto-mcp-opa-authz)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-dyokto-mcp-opa-authz"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-dyokto-mcp-opa-authz"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-dyokto-mcp-opa-authz"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).