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. 131 installs a week from npm. Last commit 7 Sep 2026.

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

Installs per day peak 173 · avg 29 · -50% w/w
a month agotoday
131
Installs / week
npm · @orygn/opa-mcp
8
Stars
0 open issues
7 Sep 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 21 h ago · rules 3dff92dd89df

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.

    const child = spawn(binary, opts.args, {
  const result = await opa.eval(evalInput, signal);

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": {
      "args": [
        "-y",
        "@orygn/opa-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.opa-mcp]
command = "npx"
args = ["-y", "@orygn/opa-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "opa-mcp": {
      "args": [
        "-y",
        "@orygn/opa-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "opa-mcp": {
      "args": [
        "-y",
        "@orygn/opa-mcp"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: 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.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to OPA MCP

same job, measured the same way
Dvt
by dvt

Dashboards as data. Author, validate, render, and share dvt dashboards from any MCP client.

answering
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
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.

693 installs/wk local only
MaxVideoAI
by maxvideoai

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

answering
Magicweave Fastmcp
by fortunecasablancas

Author, validate, simulate, and one-click-build game economies on the Magicweave platform.

answering
Musicwire MCP
by thatdudealso

Paid MusicXML validation, rendering, and automated QC for MCP clients.

39 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 131 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 with the file path 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 131 times in the last week. Week over week that is -50%. 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.