Search / io.github.OrygnsCode/opa-mcp
OPA MCP
L0· runs locallyAuthor, validate, debug, and explain OPA Rego policies through any MCP-compatible client.
v0.9.0 · active · repository · website · descriptor JSON · versions
Search / io.github.OrygnsCode/opa-mcp
L0· runs locallyAuthor, validate, debug, and explain OPA Rego policies through any MCP-compatible client.
v0.9.0 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"opa-mcp": {
"command": "npx",
"args": [
"-y",
"@orygn/[email protected]"
],
"env": {
"OPA_URL": "http://localhost:8181",
"OPA_TOKEN": "${OPA_TOKEN}",
"OPA_BINARY": "opa",
"REGAL_BINARY": "regal",
"CONFTEST_BINARY": "conftest",
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
}
}
}
}claude mcp add opa-mcp -e "OPA_URL=http://localhost:8181" -e "OPA_TOKEN=${OPA_TOKEN}" -e "OPA_BINARY=opa" -e "REGAL_BINARY=regal" -e "CONFTEST_BINARY=conftest" -e "GITHUB_TOKEN=${GITHUB_TOKEN}" -- npx -y @orygn/[email protected][mcp_servers.opa-mcp]
command = "npx"
args = ["-y", "@orygn/[email protected]"]
env = { "OPA_URL" = "http://localhost:8181", "OPA_TOKEN" = "${OPA_TOKEN}", "OPA_BINARY" = "opa", "REGAL_BINARY" = "regal", "CONFTEST_BINARY" = "conftest", "GITHUB_TOKEN" = "${GITHUB_TOKEN}" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"opa-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"@orygn/[email protected]"
],
"enabled": true,
"environment": {
"OPA_URL": "http://localhost:8181",
"OPA_TOKEN": "{env:OPA_TOKEN}",
"OPA_BINARY": "opa",
"REGAL_BINARY": "regal",
"CONFTEST_BINARY": "conftest",
"GITHUB_TOKEN": "{env:GITHUB_TOKEN}"
}
}
}
}{
"mcpServers": {
"opa-mcp": {
"command": "npx",
"args": [
"-y",
"@orygn/[email protected]"
],
"env": {
"OPA_URL": "http://localhost:8181",
"OPA_TOKEN": "${OPA_TOKEN}",
"OPA_BINARY": "opa",
"REGAL_BINARY": "regal",
"CONFTEST_BINARY": "conftest",
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=opa-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBvcnlnbi9vcGEtbWNwQDAuOS4wIl0sImVudiI6eyJPUEFfVVJMIjoiaHR0cDovL2xvY2FsaG9zdDo4MTgxIiwiT1BBX1RPS0VOIjoiJHtPUEFfVE9LRU59IiwiT1BBX0JJTkFSWSI6Im9wYSIsIlJFR0FMX0JJTkFSWSI6InJlZ2FsIiwiQ09ORlRFU1RfQklOQVJZIjoiY29uZnRlc3QiLCJHSVRIVUJfVE9LRU4iOiIke0dJVEhVQl9UT0tFTn0ifX0%3D"
}{
"servers": {
"opa-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@orygn/[email protected]"
],
"env": {
"OPA_URL": "http://localhost:8181",
"OPA_TOKEN": "${OPA_TOKEN}",
"OPA_BINARY": "opa",
"REGAL_BINARY": "regal",
"CONFTEST_BINARY": "conftest",
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
}
}
}
}{
"mcpServers": {
"opa-mcp": {
"command": "npx",
"args": [
"-y",
"@orygn/[email protected]"
],
"env": {
"OPA_URL": "http://localhost:8181",
"OPA_TOKEN": "${OPA_TOKEN}",
"OPA_BINARY": "opa",
"REGAL_BINARY": "regal",
"CONFTEST_BINARY": "conftest",
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
}
}
}
}extensions:
"opa-mcp":
enabled: true
name: "opa-mcp"
type: stdio
cmd: "npx"
args:
- "-y"
- "@orygn/[email protected]"
envs:
"OPA_URL": "http://localhost:8181"
"OPA_TOKEN": "${OPA_TOKEN}"
"OPA_BINARY": "opa"
"REGAL_BINARY": "regal"
"CONFTEST_BINARY": "conftest"
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
timeout: 300
Placeholders to fill from your own secret store: ${OPA_TOKEN}, ${GITHUB_TOKEN}. The registry never accepts secret values.
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)stability.changes, stability.rug_pulltool list unknowndeps.known_vulns, deps.mcp_sdk_version, deps.resolvabledeps.dev does not know @orygn/[email protected]No tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +website ~liveness-unmeasured +updated-14d-ago -unpinned-packages(1)
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
@orygn/[email protected] npmthis version is not known to the dependency resolver
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
@orygn/opa-mcp | npm | 0.9.0 | npx | OPA_TOKEN, GITHUB_TOKEN |
docker.io/orygn/opa-mcp:0.9.0 | oci | unpinned | – | OPA_TOKEN, GITHUB_TOKEN |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
{
"name": "io.github.OrygnsCode/opa-mcp",
"_meta": {
"io.modelcontextprotocol.registry/publisher-provided": {
"tool": "manual",
"version": "0.9.0"
}
},
"title": "OPA MCP",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "0.9.0",
"packages": [
{
"version": "0.9.0",
"transport": {
"type": "stdio"
},
"identifier": "@orygn/opa-mcp",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "OPA_URL",
"default": "http://localhost:8181",
"description": "Base URL of a running OPA server. Required only for opa_* runtime tools, not for rego_* language tools."
},
{
"name": "OPA_TOKEN",
"isSecret": true,
"description": "Bearer token for OPA running with --authentication=token."
},
{
"name": "OPA_BINARY",
"default": "opa",
"description": "Path to the opa binary. Defaults to 'opa' on PATH."
},
{
"name": "REGAL_BINARY",
"default": "regal",
"description": "Path to the regal binary (optional; used by rego_lint, rego_security_audit and rego_fix). Defaults to 'regal' on PATH."
},
{
"name": "CONFTEST_BINARY",
"default": "conftest",
"description": "Path to the conftest binary (optional, used by conftest_* tools). Defaults to 'conftest' on PATH."
},
{
"name": "OPA_MCP_ALLOWED_PATHS",
"description": "Comma-separated list of root directories tools may read/write. When unset, file-based tools refuse to access the disk."
},
{
"name": "GITHUB_TOKEN",
"isSecret": true,
"description": "GitHub personal access token with the \"gist\" scope. Required only for rego_playground_share."
}
]
},
{
"transport": {
"type": "stdio"
},
"identifier": "docker.io/orygn/opa-mcp:0.9.0",
"registryType": "oci",
"environmentVariables": [
{
"name": "OPA_URL",
"default": "http://localhost:8181",
"description": "Base URL of a running OPA server."
},
{
"name": "OPA_TOKEN",
"isSecret": true,
"description": "Bearer token for OPA authentication."
},
{
"name": "GITHUB_TOKEN",
"isSecret": true,
"description": "GitHub personal access token with the \"gist\" scope. Required only for rego_playground_share."
}
]
}
],
"repository": {
"url": "https://github.com/OrygnsCode/opa-mcp-server",
"source": "github"
},
"websiteUrl": "https://orygn.tech",
"description": "Author, validate, debug, and explain OPA Rego policies through any MCP-compatible client."
}