mcpbeat Sign in

OPA MCP Server

local only

OPA MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 418 installs a week from npm. Last commit 24 Oct 2026.

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

Installs per day peak 183 · avg 27 · +380% w/w
a month agotoday
418
Installs / week
npm · @orygn/opa-mcp
8
Stars
0 open issues
24 Oct 2026
Last commit
8 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 1 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Checks whether it runs in a sandbox src/lib/telemetry.ts:32
    ((await exists('/.dockerenv')) || (await exists('/run/.containerenv')))
    const child = spawn(binary, opts.args, {
      const isPresent = model.eval(presence, true).toString() === 'true';

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add opa-mcp -- npx -y @orygn/opa-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "opa-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/opa-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.opa-mcp]
command = "npx"
args = ["-y", "@orygn/opa-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "opa-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/opa-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "opa-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@orygn/opa-mcp"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: OPA_URL (Base URL of a running OPA server. Required only for opa_* runtime tools, not for rego_* language tools), OPA_TOKEN (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 (GitHub personal access token with the "gist" scope. Required only for rego_playground_share).

Alternatives to OPA MCP

same job, measured the same way
Shotcut MCP
by matrodrigs

Create, edit, validate, preview, and render Shotcut projects through AI clients.

local only
Claude Imagine
by claudeimagine

Generate AI images and videos from any compatible MCP client.

answering
Yomio
by yomio

Read Yomio expense, income, account, budget, and spending data in an MCP-compatible AI client.

48 installs/wk 15 tools answering
Storydoc
by storydoc

Generate and manage Storydoc presentations from any MCP-compatible client.

answering
Fidelis Memory
by hermes-labs-ai

Recall locally stored agent memories through an MCP-compatible host.

128 installs/wk local only
craftbag
by craftbag

MCP server to list, load, explain, and validate Agent Skills.

local only
MaxVideoAI
by maxvideoai

Plan, compare, price, generate, and recover AI video from compatible MCP clients.

answering
AEM Content Manager (ACM)
by wttech

Validate and run Groovy scripts on Adobe Experience Manager through AEM Content Manager (ACM).

56 installs/wk local only

OPA MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for OPA MCP?
OPA MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @orygn/opa-mcp was installed 418 times last week.
How do I connect OPA MCP?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @orygn/opa-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use OPA MCP?
The npm package @orygn/opa-mcp was installed 418 times in the last week. Week over week that is +380%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is OPA MCP open source?
Yes — it is published under the MIT licence, written in TypeScript and 8 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.