Skip to content
ai101.tools
navigateopenescclose
Claude+372Whisper+228LangChain+168Codex+223NotebookLM+276DALL-E 3+192DeepL+249n8n+208Topaz Video AI+153LlamaIndex+161
Protect MCP logo
Skill

Protect MCP

Gates every tool call through a Cedar policy and signs the decision into a hash-chained receipt.

0
SaveVisit website ↗

Install

Ships scripts
Claude Code: /plugin marketplace add wshobson/agents → /plugin install protect-mcp@claude-code-workflows
Triggers on

Ajanın araç çağrıları politikayla sınırlanırken ya da yapılan işlemler için kurcalanamaz bir denetim kaydı gerekirken

Author
Tom Farley
License
MIT

Two hooks wrap each Claude Code tool call. The first evaluates the request against a Cedar policy file — principal, action, resource, context — and a deny exits with code 2, which is how Claude Code is told to block the call before it runs. The second writes a receipt: tool name, hashes of input and output, the decision, the policy digest, and a link to the previous receipt, all signed with Ed25519 over JCS-canonicalised JSON. Chaining is what makes deletion detectable and not only modification, since a removed receipt breaks the link its successor points at. Verification runs offline through a separate CLI returning exit 0 for valid, 1 for tampered and 2 for malformed, so an auditor needs the public key and nothing else: no account, no network, no trust in whoever ran the agent.

Comments(0)

Sign in to comment

No comments yet — be the first.

Similar skills

Report this comment

Why are you reporting this?