Protect Mcp
Plugin Verified ActiveCedar policy enforcement + Ed25519 signed receipts for every Claude Code tool call. First cryptographic governance plugin — receipts independently verifiable offline.
To provide cryptographic governance and verifiable audit trails for AI agent actions, ensuring compliance and security by enforcing policies and signing every tool call.
Features
- Cedar policy enforcement before tool execution
- Ed25519 signed receipts for allow/deny decisions
- Hash-chained audit trail for integrity
- Offline verification of receipts
- Command-line tools for verification and auditing
Use Cases
- Securing AI agent actions in production environments
- Providing auditable evidence for compliance requirements
- Detecting and preventing unauthorized tool usage
- Establishing tamper-evident logs of AI agent activity
Non-Goals
- Acting as a general-purpose logging system
- Storing sensitive data beyond cryptographic receipts
- Replacing the Claude Code session log entirely
Workflow
- User installs plugin and configures hooks.
- User creates a Cedar policy file.
- User starts the signing server or relies on environment variables.
- Claude Code agent makes a tool call.
- PreToolUse hook evaluates call against Cedar policy.
- If denied, tool call is blocked; if allowed, tool executes.
- PostToolUse hook signs a receipt with decision, input, and output.
- Receipt is saved locally and linked to the previous receipt.
- User can verify individual receipts or audit the chain offline.
Practices
- Policy Enforcement
- Cryptographic Auditing
- Access Control
Prerequisites
- Node.js installed
- Claude Code environment
- Policy file (e.g., ./protect.cedar)
- Signing key file (e.g., ./protect-mcp.key)
Invocation
- info:Hook matcher tightnessThe `PreToolUse` and `PostToolUse` hooks use a broad `.*` matcher, which could be tightened if specific tool categories were to be excluded from policy evaluation or receipt signing.
Installation
First, add the marketplace
/plugin marketplace add wshobson/agents/plugin install protect-mcp@claude-code-workflowsQuality Score
VerifiedTrust Signals
Similar Extensions
Review Agent Governance
99Require a human approval signal before an AI agent can post PR reviews, comments, merges, or writes to CI config. Cedar-gated, receipt-signed, designed for the Hermes-style failure mode where a review bot posts without oversight.
Dotforge
100Node.js 20+ with Express/Fastify, TypeScript, and ESM module rules for Claude Code.
Signed Audit Trails
95Teaching skill: signed audit trails for Claude Code tool calls. Cookbook-style walkthrough of Cedar-gated tool calls with Ed25519 receipts, offline verification, and CI/CD integration. Pairs with the protect-mcp plugin.
HubSpot Admin Skills
99Complete HubSpot CRM administration toolkit — audit, clean, enrich, segment, automate, and maintain your database
Dotforge
98Swift 5.9+ with SwiftUI, iOS 17+, @Observable, async/await, and SPM rules for Claude Code.
Dotforge
98Behavior governance for Claude Code — declarative runtime policies on tool calls (search-first, no-destructive-git, verify-before-done, …) compiled to PreToolUse hooks, plus configuration governance: 18 skills, 7 agents, 16 stacks, audit scoring, practices pipeline.