Skip to main content
Showing 2 resources in hooks for "mcp"
Saved
Active
Hooks. Pre/post hooks for agent lifecycles
hooksReview firstSource-backedReview firstClaude Code

MCP Config Privacy Scanner - Claude Code Hook

by MkDev11

PreToolUse hook that reviews proposed writes to MCP configuration files and blocks inline credential values, credential-bearing URLs, and broad filesystem roots before they are saved.

Trigger:PreToolUse
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

MCP Server URL Allowlist - Claude Code Hook

by JSONbored

PreToolUse hook that blocks edits adding remote MCP server URLs unless their host appears in an explicit allowlist, reducing accidental connection to unreviewed OAuth, SSE, or Streamable HTTP MCP endpoints.

Trigger:PreToolUse
Safety Privacy