OPA MCP
by github.com/OrygnsCode · v0.10.0 · updated Nov 17, 2026
Author, validate, debug, and explain OPA Rego policies through any MCP-compatible client.
Run it locally
Install the package and point your AI client at it.
npm
npx -y @orygn/[email protected]Environment variables
OPA_URLBase URL of a running OPA server. Required only for opa_* runtime tools, not for rego_* language tools.
OPA_TOKENsecretBearer token for OPA running with --authentication=token.
OPA_BINARYPath to the opa binary. Defaults to 'opa' on PATH.
REGAL_BINARYPath to the regal binary (optional; used by rego_lint, rego_security_audit and rego_fix). Defaults to 'regal' on PATH.
CONFTEST_BINARYPath to the conftest binary (optional, used by conftest_* tools). Defaults to 'conftest' on PATH.
OPA_MCP_ALLOWED_PATHSComma-separated list of root directories tools may read/write. When unset, file-based tools refuse to access the disk.
GITHUB_TOKENsecretGitHub personal access token with the "gist" scope. Required only for rego_playground_share.
Docker
docker run -i --rm docker.io/orygn/opa-mcp:0.10.0Environment variables
OPA_URLBase URL of a running OPA server.
OPA_TOKENsecretBearer token for OPA authentication.
GITHUB_TOKENsecretGitHub personal access token with the "gist" scope. Required only for rego_playground_share.
More from github.com/OrygnsCode
More MCP servers
FoxAPIs data sources
github.com/OsakaSaul
Developer, science, gaming and social data, plus a federal contractor check. FoxAPIs key.
FoxPlug
github.com/OsakaSaul
Your agent records what you ship; FoxPlug drafts launch posts and a changelog. Nothing posts.
MentionFox
github.com/OsakaSaul
Company and people checks: red flags, funding, leadership. Every claim cited. Free to try.
HTML Email Playbook
github.com/OsamaHassouna
Teaches AI to write HTML email that renders in Outlook, Gmail, and Apple Mail. 21 rules, 6 comps.
WebsiteIQ
github.com/OsbornVentures
Robots-aware website audits, pre-crawl quotes, and structured evidence for people and agents.
Orion Gate
github.com/Osen761
Zero-trust SQL AST & MCP firewall enforcing tenant isolation, PII scrubbing, and schema allowlists.