MCP Integration in Claude Code
Last reviewed
Correct answer: B. All of them, because naming the server alone matches every tool it provides.
Explanation
The principle — An MCP permission rule is built from two parts, the server and optionally a tool, and leaving the second part off widens the rule rather than breaking it.
Why the key is correct — MCP rules use the server name as configured in Claude Code, optionally followed by the name of a tool from that server. A rule naming only the server matches any tool that server provides.
Why the others are wrong — Individual tools do not have to be listed. A bare server name matches rather than denies; the list the rule sits in decides that. And the name used is your own label, not the vendor's.
Remember this — Server alone means every tool from that server.
Sources — Anthropic's Claude Code permissions reference.
Sources
“mcp__puppeteer matches any tool provided by the puppeteer server”
“MCP rules use the server name as configured in Claude Code, optionally followed by the name of a tool from that server.”
Practise 10 questions on this topic
Take MCP Integration in Claude Code — Timed Test 1 (10 questions) — scored instantly, explanation for every question, no login.