OPA MCP
MCPby OrygnsCode · v0.2.1
Author, validate, debug, and explain OPA Rego policies through any MCP-compatible client.
MCP configuration
Command
Environment
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). 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.
Install in one click with Zurek
Browse here, install from the native macOS app — pick targets, fill env vars, and write configs safely.