OPA MCP
io.github.OrygnsCode/opa-mcp
About OPA MCP
OPA MCP is an MCP server published by the GitHub account OrygnsCode. Author, validate, debug, and explain OPA Rego policies through any MCP-compatible client.
It runs on your own machine: your AI client starts it from the npm package @orygn/opa-mcp at version 0.9.1.
It asks for 2 secrets: OPA_TOKEN and GITHUB_TOKEN. Give it a key with the least access that still works.
Version 0.9.1 was published on 23 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
OPA_URL | No | No | Base URL of a running OPA server. Required only for opa_* runtime tools, not for rego_* language tools. |
OPA_TOKEN | No | Yes | Bearer token for OPA running with --authentication=token. |
OPA_BINARY | No | No | Path to the opa binary. Defaults to 'opa' on PATH. |
REGAL_BINARY | No | No | Path to the regal binary (optional; used by rego_lint, rego_security_audit and rego_fix). Defaults to 'regal' on PATH. |
CONFTEST_BINARY | No | No | Path to the conftest binary (optional, used by conftest_* tools). Defaults to 'conftest' on PATH. |
OPA_MCP_ALLOWED_PATHS | No | No | Comma-separated list of root directories tools may read/write. When unset, file-based tools refuse to access the disk. |
GITHUB_TOKEN | No | Yes | GitHub personal access token with the "gist" scope. Required only for rego_playground_share. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/OrygnsCode/opa-mcp-server |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 2 secrets: OPA_TOKEN, GITHUB_TOKEN |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account OrygnsCode |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @orygn/opa-mcp@0.9.1 runs nothing at install |
| Code red flags | Pass | Read 193 files in @orygn/opa-mcp@0.9.1: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 193 files, including comments and the README |
Popularity & health: 57 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
1 forks, 193 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.OrygnsCode/opa-mcp |
|---|---|
| Publisher | GitHub account OrygnsCode |
| How the name is verified | Name verified via GitHub account OrygnsCode. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @orygn/opa-mcp 0.9.1 (stdio)oci docker.io/orygn/opa-mcp:0.9.1 no version given (stdio) |
| Version | 0.9.1 |
| Published | |
| Last updated | |
| Source repository | https://github.com/OrygnsCode/opa-mcp-server |
| Website | https://orygn.tech |
| Category | Coding & design (assigned by keyword rule, not by hand) |
Related servers in Coding & design
- gdbstub-mcp7/7Debug kernels through QEMU's gdbstub with no gdb binary - and…
- optlens7/7Debug and explain LP/MILP models: why infeasible, the smallest fix,…
Arc7/7Author, validate, lay out, render, and diff architecture diagrams…
- lakelogic-mcp7/7Validate, lint, test-run and explain Open Lakehouse Contracts with…
- caveat-lang7/7Authoring bridge for Caveat: validate, check and test programs;…
- craftbag3/4MCP server to list, load, explain, and validate Agent Skills.