PluginBench
MCP Server
Active
MIT

OPA MCP MCP Server

io.github.OrygnsCode/opa-mcp

What is the OPA MCP MCP server?

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

How to install OPA MCP

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • OPA_URL

    Base URL of a running OPA server. Required only for opa_* runtime tools, not for rego_* language tools.

  • OPA_TOKEN
    secret

    Bearer token for OPA running with --authentication=token.

  • OPA_BINARY

    Path to the opa binary. Defaults to 'opa' on PATH.

  • REGAL_BINARY

    Path to the regal binary (optional; used by rego_lint, rego_security_audit and rego_fix). Defaults to 'regal' on PATH.

  • CONFTEST_BINARY

    Path to the conftest binary (optional, used by conftest_* tools). Defaults to 'conftest' on PATH.

  • OPA_MCP_ALLOWED_PATHS

    Comma-separated list of root directories tools may read/write. When unset, file-based tools refuse to access the disk.

  • GITHUB_TOKEN
    secret

    GitHub personal access token with the "gist" scope. Required only for rego_playground_share.

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "opa-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/opa-mcp"
      ],
      "env": {
        "OPA_URL": "<YOUR_OPA_URL>",
        "OPA_TOKEN": "<YOUR_OPA_TOKEN>",
        "OPA_BINARY": "<YOUR_OPA_BINARY>",
        "REGAL_BINARY": "<YOUR_REGAL_BINARY>",
        "CONFTEST_BINARY": "<YOUR_CONFTEST_BINARY>",
        "OPA_MCP_ALLOWED_PATHS": "<YOUR_OPA_MCP_ALLOWED_PATHS>",
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
      }
    }
  }
}

Related MCP servers

Discord server management MCP for AI agents: chat, moderation, admin, and full server building.

1
TypeScript
View repository →

Cited reports on any company or person, credential checks and mention scans for your AI

Teaches AI to write HTML email that renders in Outlook, Gmail, and Apple Mail. 19 rules, 6 comps.

0
MDX
MIT
View repository →

Robots-aware website audits, pre-crawl quotes, and structured evidence for people and agents.

View repository →

Author, edit and run Bruno collections as files: HTTP, WebSocket, gRPC, per-request pass/fail.

3
TypeScript
MIT
View repository →
OSosu! MCP logo

osu! MCP

Maintained

MCP server exposing the osu! API v2: player stats, scores, beatmap search, rankings.

0
Python
MIT
View repository →