← Browse by Chapter
Get the Book →
#45PreToolUse on Bash
Here's an MCP server I'm about to install (or re-audit): [paste the `mcp.json` entry and the documentation link]. For each of: (1) publisher — who maintains it, how reputable, any security advisories; (2) permissions — what file-system, network, or shell access the server has; (3) credentials — what the `env` passes, what scope the credential has, what the blast radius would be if the credential leaked; (4) tool surface — what tools the server exposes, any beyond what I need; (5) trust level — first-party (I control) / trusted third-party / unvetted — mark each with `[VERIFY]`, classify, propose the single check that would confirm it, and rate confidence HIGH / MEDIUM / LOW. At the bottom: RECOMMEND / CAUTION / DO NOT INSTALL with a one-sentence justification. Output as a markdown table.

Mastering Claude Code
These prompts are excerpts from the book. Get the full collection with explanations and use cases.