opa-mcp
OPA MCP
Author, validate, debug, and explain OPA Rego policies through any MCP-compatible client.
Package Details
@orygn/opa-mcp
Environment Variables
http://localhost:8181Base URL of a running OPA server. Required only for opa_* runtime tools, not for rego_* language tools.
Bearer token for OPA running with --authentication=token.
opaPath to the opa binary. Defaults to 'opa' on PATH.
regalPath to the regal binary (optional, used by rego_lint). Defaults to 'regal' on PATH.
conftestPath to the conftest binary (optional, used by conftest_* tools). Defaults to 'conftest' on PATH.
Comma-separated list of root directories tools may read/write. When unset, file-based tools refuse to access the disk.
GitHub personal access token with the "gist" scope. Required only for rego_playground_share.
docker.io/orygn/opa-mcp:0.2.0
Environment Variables
http://host.docker.internal:8181Base URL of a running OPA server.
Bearer token for OPA authentication.
GitHub personal access token with the "gist" scope. Required only for rego_playground_share.