Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By shotcowboystylev0.2.0MITIn 1 marketplace
Cedar policy enforcement + Ed25519 signed, hash-chained receipts for every Claude Code tool call. Claude Code only: it runs in PreToolUse and PostToolUse hooks.
You run one by typing its /name in Claude Code.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Cedar policy enforcement + Ed25519 signed receipts for every Claude Code tool call.
Every Claude Code tool call is evaluated against a Cedar policy before it runs, and every call that runs gets an Ed25519-signed receipt that can be verified offline with your public key.
Claude Code only. Enforcement and signing run in Claude Code's
PreToolUse and PostToolUse hooks. Other coding tools get the skill, agents,
and commands, which can write policies and verify receipts, but nothing there
evaluates a policy or signs a receipt.
permit matches and no forbid matches../receipts/receipts.jsonl, each linked to the previous one by hash, so a modified, deleted, or reordered line fails verification. Lines cut from the end of the file are not detected.npx @veritasacta/[email protected] --replay-chain with your public key needs no vendor lookup or account. npx downloads the verifier on first use, so run npm install --no-save @veritasacta/[email protected] in the project before you go offline.Receipts are evidence against later tampering by someone without the key. They
are not proof against the agent itself: the hook and the agent run as the same
OS user. See the threat model in
skills/protect-mcp-setup/references/threat-model.md.
# 1. Install this plugin. This registers the hooks.
claude plugin marketplace add shotcowboystyle/ag-skills
claude plugin install protect-mcp@claude-code-workflows
# 2. Create ./protect.cedar from the starter policy in
# skills/protect-mcp-setup/SKILL.md. With no policy file every call is
# allowed; set PROTECT_MCP_FAIL_CLOSED=1 to deny instead.
# 3. Create the signing key once. An existing key is never replaced. To rotate
# it, archive the key and receipts.jsonl first.
if [ ! -e ./protect-mcp.key ]; then
d=$(mktemp -d) && npx [email protected] init --dir "$d" && mv "$d/keys/gateway.json" ./protect-mcp.key
fi
chmod 600 ./protect-mcp.key
grep -qxF '/protect-mcp.key' .gitignore 2>/dev/null || echo '/protect-mcp.key' >> .gitignore
# 4. Run Claude Code normally. Every tool call is now policy-evaluated
# and produces a signed receipt in ./receipts/
plugins/protect-mcp/
├── skills/protect-mcp-setup/SKILL.md — Full setup and usage guide
├── agents/policy-enforcer.md — Cedar policy author (Opus)
├── agents/receipt-verifier.md — Chain verification expert (Sonnet)
├── commands/verify-receipt.md — /verify-receipt <path>
├── commands/audit-chain.md — /audit-chain [--last N]
└── hooks/hooks.json — PreToolUse + PostToolUse hooks
npx claudepluginhub shotcowboystyle/ag-skills --plugin protect-mcpPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.