# opa-mcp-server

> Use this tool when you need to author, evaluate, and debug Rego policies for Open Policy Agent (OPA) using a comprehensive set of 32 tools wrapped around the OPA CLI and Regal linter. It solves policy management and debugging problems through a unified interface, accepting Rego policies as input and outputting evaluation results. Ideal for use cases requiring policy-based decision making, access control, and compliance management in various applications and systems.

Canonical page: https://skillsregistry.net/skills/orygnscode-opa-mcp-server  
JSON: https://api.skillsregistry.net/v1/skills/orygnscode-opa-mcp-server

## Description

MCP server for Open Policy Agent (OPA) and the Rego policy language. Wraps the OPA CLI and Regal linter with 32 tools for authoring, evaluating, and debugging Rego policies through any MCP-compatible client.

## Trust

- **Trust score (0–1):** 0.82
- **Verification tier:** scanned
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** other
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/mwnw2lrjat)
- **Repository:** <https://github.com/OrygnsCode/opa-mcp-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "orygnscode-opa-mcp-server"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/orygnscode-opa-mcp-server` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/orygnscode-opa-mcp-server/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
