L'Atlas / MCP servers / OPA MCP

OPA MCP

io.github.OrygnsCode/opa-mcp

MCP server Not tested

Get a review See pricing

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

Technical sheet

Author
OrygnsCode (registry namespace)
Repository
github.com/OrygnsCode/opa-mcp-server
Site
orygn.tech/products/opa-mcp
Version
0.11.2
Transport
stdio
Authentication
None (declared in the registry)
Packages
@orygn/opa-mcp 0.11.2 npm stdio
docker.io/orygn/opa-mcp:0.11.2 oci stdio
Tools
—
Categories
Development and code
Last updated
28 Nov 2026
Published
28 Nov 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded. Latest test not successful: the badge only says “listed”.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.OrygnsCode/opa-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.OrygnsCode/opa-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.OrygnsCode/opa-mcp"><img src="https://latlas.dev/badge/fiche/io.github.OrygnsCode/opa-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

No remote address published: this server runs locally, so we do not test it.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport not listeddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Local launch of package @orygn/opa-mcp (npm). Formats taken from each client’s documentation.

Claude Code
claude mcp add-json opa-mcp '{"command":"npx","args":["-y","@orygn/[email protected]"]}'
Claude (claude.ai, Claude Desktop, Cowork)claude_desktop_config.json (macOS : ~/Library/Application Support/Claude/ ; Windows : %APPDATA%\Claude\ ; Linux : ~/.config/Claude/)
{
  "mcpServers": {
    "opa-mcp": {
      "command": "npx",
      "args": ["-y","@orygn/[email protected]"]
    }
  }
}
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "opa-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y","@orygn/[email protected]"]
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "opa-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y","@orygn/[email protected]"],
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "opa-mcp": {
      "command": "npx",
      "args": ["-y","@orygn/[email protected]"]
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "opa-mcp": {
      "command": "npx",
      "args": ["-y","@orygn/[email protected]"]
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.opa-mcp]
command = "npx"
args = ["-y","@orygn/[email protected]"]

Declared environment variables

NameRequiredDescription
OPA_URLnoBase URL of a running OPA server. Required only for opa_* runtime tools, not for rego_* language tools.
OPA_TOKENno (secret)Bearer token for OPA running with --authentication=token.
OPA_BINARYnoPath to the opa binary. Defaults to 'opa' on PATH.
REGAL_BINARYnoPath to the regal binary (optional; used by rego_lint, rego_security_audit and rego_fix). Defaults to 'regal' on PATH.
CONFTEST_BINARYnoPath to the conftest binary (optional, used by conftest_* tools). Defaults to 'conftest' on PATH.
OPA_MCP_ALLOWED_PATHSnoComma-separated list of root directories tools may read/write. When unset, file-based tools refuse to access the disk.
GITHUB_TOKENno (secret)GitHub personal access token with the "gist" scope. Required only for rego_playground_share.

Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.