Sign in
Explore
Add-ons · HookEveryday codingTesting & SecurityGuardrails & permissionsReviewedRuns shell commands

protect-mcp/hooks.json

Runs evaluate.sh before each tool call and sign.sh after it, for policy checks and signed receipts.

Kind
Hook
Works with
Claude Code
Languages
Shell
Source
wshobson/agents @ 0874a27b17a2
Path
plugins/protect-mcp/hooks/hooks.json
Jobs
Guardrails
Topics
Guardrails & permissions

Credit

Made by
wshobson
Original
github.com/wshobson/agents/blob/0874a27b17a22e2b7c2e2bcd72576…
License
MIT

Listed by Skill Manifest; not made by us.

InstallInstall it from a plugin marketplace.
/plugin install protect-mcp@claude-code-workflows
Install factsScanned 3 Nov 2026
Adds
  • Entries under `hooks` in .claude/settings.json
  • Hook on PreToolUse
  • Hook on PostToolUse
Runs scripts
Yes
  • /hooks/evaluate.sh
  • /hooks/sign.sh
  • hook command runs on every matching event
Uses the network
None found
Needs secrets
None found
Source revision
0874a27b17a2
Licence
MIT
Last activity
24 Nov 2026
Source changed after the scan
Yes
  • Last push 24 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": ".*",
        "hooks": [
          {
            "type": "command",
            "command": "\"${CLAUDE_PLUGIN_ROOT}\"/hooks/evaluate.sh"
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": ".*",
        "hooks": [
          {
            "type": "command",
            "command": "\"${CLAUDE_PLUGIN_ROOT}\"/hooks/sign.sh"
          }
        ]
      }
    ]
  }
}