1. Conduid
  2. Security
  3. OPA MCP
MCP server · Security

OPA MCP

Author, validate, debug, and explain OPA Rego policies through any MCP-compatible client.

Unclaimed security
37Low

Scored 5 months ago · breakdown

About OPA MCP

OPA MCP is an MCP server in the Security category: author, validate, debug, and explain OPA Rego policies through any MCP-compatible client.

Install

Claude Code
claude mcp add opa-mcp -- npx -y @orygn/opa-mcp
npx
npx -y @orygn/opa-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (9)

rego_capabilitiesList the built-ins and features the resolved `opa` binary understands (`OPA_BINARY`, then `PATH`, then the bundled copy); `builtins` names up to 100 to return full records for

Parameters not published.

rego_checkType-check and validate Rego. Wraps `opa check`.

Parameters not published.

rego_check_schemaCheck Rego against a JSON Schema. Validates that every `input.*` field the policy reads exists in the schema using `opa check --schema`. Accepts an inline schema, a path to a JSON Schema file, or a schema directory when the policy declares `schemas:` annotations.

Parameters not published.

rego_depsStatic dependency analysis: rule-level data references and cross-package calls.

Parameters not published.

rego_formatFormat Rego source. Wraps `opa fmt`. Idempotent.

Parameters not published.

rego_inspectInspect a bundle or directory: packages, rules, annotations. Wraps `opa inspect`.

Parameters not published.

rego_lintRun Regal across a file or directory. Returns each violation with its category, level and location. **Requires `regal` on `PATH` or `REGAL_BINARY` set.**

Parameters not published.

rego_migrate_v1Migrate Rego v0 source to v1 syntax. Runs `opa fmt --rego-v1` then validates with `opa check --v1-compatible`. Returns `{ original, migrated, changed, valid, errors }`.

Parameters not published.

rego_parse_astParse Rego to AST JSON. Wraps `opa parse`.

Parameters not published.

Ask AI

✦

Ask AI about OPA MCP

Powered by Claude · Grounded in docs

I know everything about OPA MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

6 checks have not been run yet.

Questions

About OPA MCP

How do I install OPA MCP?

Run claude mcp add opa-mcp -- npx -y @orygn/opa-mcp, then add the server to your MCP client's configuration.

Is OPA MCP safe to use with an AI agent?

Its trust score is 37 out of 100 (low). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is OPA MCP still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.