OPA MCP
Author, validate, debug, and explain OPA Rego policies through any MCP-compatible client.
Topics: Security
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (npm 0.9.1)
npx -y @orygn/[email protected]
Or add to your MCP client config:
{
"mcpServers": {
"opa-mcp-server": {
"command": "npx",
"args": [
"-y",
"@orygn/[email protected]"
],
"env": {
"OPA_TOKEN": "<YOUR_VALUE>",
"GITHUB_TOKEN": "<YOUR_VALUE>"
}
}
}
}
OPA_URL— Base URL of a running OPA server. Required only for opa_* runtime tools, not for rego_* language tools.OPA_TOKENsecret — 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_TOKENsecret — GitHub personal access token with the "gist" scope. Required only for rego_playground_share.
Package (oci)
docker run -i --rm -e OPA_TOKEN=<YOUR_VALUE> -e GITHUB_TOKEN=<YOUR_VALUE> docker.io/orygn/opa-mcp:0.9.1
Or add to your MCP client config:
{
"mcpServers": {
"opa-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"OPA_TOKEN=<YOUR_VALUE>",
"-e",
"GITHUB_TOKEN=<YOUR_VALUE>",
"docker.io/orygn/opa-mcp:0.9.1"
]
}
}
}
OPA_URL— Base URL of a running OPA server.OPA_TOKENsecret — Bearer token for OPA authentication.GITHUB_TOKENsecret — GitHub personal access token with the "gist" scope. Required only for rego_playground_share.
Related servers
semgrep
Scan code for security vulnerabilities using Semgrep.
ida-pro-mcp
IDA Pro plugin for binary analysis: decompilation, disassembly and automatic malware analysis reports.
lauriewired/ghidramcp
Autonomous reverse engineering with Ghidra: decompile binaries, rename methods and data, and list methods, classes, imports and exports.
jadx-ai-mcp
JADX decompiler plugin providing live, LLM-assisted reverse engineering.
beelzebub
Honeypot framework for building decoy MCP tools that an agent would never use in normal work, to detect prompt injection and malicious…
SafeDep Vet MCP
Protect your AI agents and IDEs from malicious open-source packages.
Listed in punkpeye/awesome-mcp-servers (MIT)
Data from the Official MCP Registry