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.
We read the source, 21 h ago · rules 3dff92dd89df
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.
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.
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.
claude mcp add opa-mcp -- npx -y @orygn/opa-mcp
{
"mcpServers": {
"opa-mcp": {
"args": [
"-y",
"@orygn/opa-mcp"
],
"command": "npx"
}
}
}
[mcp_servers.opa-mcp]
command = "npx"
args = ["-y", "@orygn/opa-mcp"]
{
"mcpServers": {
"opa-mcp": {
"args": [
"-y",
"@orygn/opa-mcp"
],
"command": "npx"
}
}
}
{
"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.
Dashboards as data. Author, validate, render, and share dvt dashboards from any MCP client.
Create, edit, validate, preview, and render Shotcut projects through AI clients.
Generate AI images and videos from any compatible MCP client.
Generate and manage Storydoc presentations from any MCP-compatible client.
Recall locally stored agent memories through an MCP-compatible host.
Plan, compare, price, generate, and recover AI video from compatible MCP clients.
Author, validate, simulate, and one-click-build game economies on the Magicweave platform.
Paid MusicXML validation, rendering, and automated QC for MCP clients.
Answers built from our own checks of this server.