cupcake MCP Server
eqtylab/cupcake
[](https://agentrank-ai.com/tool/eqtylab--cupcake/?utm_source=badge&utm_medium=readme&utm_campaign=agentrank_badge) A native policy enforcement layer for AI coding agents. Built on OPA/Rego.
claude mcp add agentrank -- npx -y agentrank-mcp-server Overview
eqtylab/cupcake is a Rust tool licensed under Apache-2.0. A native policy enforcement layer for AI coding agents. Built on OPA/Rego. Topics: claude-code, cursor, gemini-cli, hooks, coding-agents, factory-ai, opencode, agent-security, mcp, llm-as-a-judge, opa, alignment.
Ranked #10322 out of 24846 indexed tools.
Ecosystem
Score Breakdown
297 stars → growing community
Last commit 8mo ago → stale
23/45 issues closed → decent issue management
7 contributors → small team
No dependents → no downstream usage
Weights: Freshness 20% · Issue Health 20% · Dependents 22% · Stars 10% · Contributors 8% · How we score →
How to Improve
Matched Queries
From the README
# Cupcake
<p align="left">
<picture>
<source srcset="docs/docs/assets/cupcake-dark.png" media="(prefers-color-scheme: dark)">
</picture>
</p>
Make AI agents follow the rules.
**Policy enforcement** layer for AI agents; yielding better performance and security **without consuming model context**.
- **Deterministic rule-following** for your agents. [Interactive Examples](https://cupcake-policy-studio.vercel.app/example-policies/security/symlink-detection?harness=claude-code&format=rego)
- **Better performance** by moving rules out of context and into policy-as-code.
- **Trigger alerts** and put _bad_ agents in timeout when they repeatedly violate rules.
Cupcake intercepts agent events and evaluates them against **user-defined rules** written in **[Open Policy Agent (OPA)](https://www.openpolicyagent.org/) [Rego](https://www.openpolicyagent.org/docs/policy-language).** Agent actions can be blocked, modified, and auto-corrected by providing the agent helpful feedback. Add Read full README on GitHub → Get the weekly AgentRank digest
Top movers, new tools, ecosystem insights — straight to your inbox.