Skip to content
Cline

OPA MCP for Cline

io.github.orygnscode/opa-mcp

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

client:Cline transport:stdio runtime:npm

Install OPA MCP in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "opa-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/opa-mcp"
      ],
      "env": {
        "OPA_URL": "<OPA_URL>",
        "OPA_TOKEN": "<OPA_TOKEN>",
        "OPA_BINARY": "<OPA_BINARY>",
        "REGAL_BINARY": "<REGAL_BINARY>",
        "CONFTEST_BINARY": "<CONFTEST_BINARY>",
        "OPA_MCP_ALLOWED_PATHS": "<OPA_MCP_ALLOWED_PATHS>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

OPA MCP in other clients