OPA MCP

io.github.OrygnsCode/opa-mcp

About OPA MCP

OPA MCP is an MCP server published by the GitHub account OrygnsCode. Author, validate, debug, and explain OPA Rego policies through any MCP-compatible client.

It runs on your own machine: your AI client starts it from the npm package @orygn/opa-mcp at version 0.9.1.

It asks for 2 secrets: OPA_TOKEN and GITHUB_TOKEN. Give it a key with the least access that still works.

Version 0.9.1 was published on 23 October 2026, and the source code is public, so you can read it before installing.

Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.

What it asks for

VariableRequiredSecretDescription
OPA_URLNoNoBase URL of a running OPA server. Required only for opa_* runtime tools, not for rego_* language tools.
OPA_TOKENNoYesBearer token for OPA running with --authentication=token.
OPA_BINARYNoNoPath to the opa binary. Defaults to 'opa' on PATH.
REGAL_BINARYNoNoPath to the regal binary (optional; used by rego_lint, rego_security_audit and rego_fix). Defaults to 'regal' on PATH.
CONFTEST_BINARYNoNoPath to the conftest binary (optional, used by conftest_* tools). Defaults to 'conftest' on PATH.
OPA_MCP_ALLOWED_PATHSNoNoComma-separated list of root directories tools may read/write. When unset, file-based tools refuse to access the disk.
GITHUB_TOKENNoYesGitHub personal access token with the "gist" scope. Required only for rego_playground_share.

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/OrygnsCode/opa-mcp-server
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for 2 secrets: OPA_TOKEN, GITHUB_TOKEN
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account OrygnsCode
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPass@orygn/opa-mcp@0.9.1 runs nothing at install
Code red flagsPassRead 193 files in @orygn/opa-mcp@0.9.1: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo hidden characters or instructions to the AI in 193 files, including comments and the README

Popularity & health: 57 / 100

Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.

Popularity14 / 40

8 GitHub stars, 418 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity15 / 25

Last push 2026-10-24, last release 2026-10-23, 0 commits in 90 days.

Issue health8 / 15

0 closed of 0 issues, too few to judge. No data, so half marks.

Our checks20 / 20

0 warnings, each costing a fifth.

1 forks, 193 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.

What people say

No Hacker News threads link to its source code.

Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.

Facts

Registry nameio.github.OrygnsCode/opa-mcp
PublisherGitHub account OrygnsCode
How the name is verifiedName verified via GitHub account OrygnsCode. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagesnpm @orygn/opa-mcp 0.9.1 (stdio)
oci docker.io/orygn/opa-mcp:0.9.1 no version given (stdio)
Version0.9.1
Published
Last updated
Source repositoryhttps://github.com/OrygnsCode/opa-mcp-server
Websitehttps://orygn.tech
CategoryCoding & design (assigned by keyword rule, not by hand)

Related servers in Coding & design