MCP Integration in Claude Code
Last reviewed
Correct answer: C. A cloned repository cannot approve its own servers, so the committed setting is ignored until the workspace is trusted.
Explanation
The principle — A trust decision that the untrusted thing can make for itself is not a trust decision.
Why the key is correct — A cloned repository cannot approve its own servers: the approval settings committed to the project are ignored in an untrusted folder, and the server stays pending instead of being connected and health-checked. Trusting the workspace is a separate act by the person, and it has to come first.
Why the others are wrong — The clone is complete; the setting is simply not consulted. The folder does not merely prompt more often, it disregards the setting. And pending is not a working state — the server is neither connected nor checked.
Remember this — A repository cannot vouch for itself, which is the whole point of asking you instead. Trusting the workspace is the step that has to come from a person, and until it does the committed setting has no effect at all.
Sources — Anthropic's Claude Code MCP reference.
Sources
“A cloned repository can't approve its own servers: enableAllProjectMcpServers or enabledMcpjsonServers committed to the project's .claude/settings.json is ignored in an untrusted folder, and the server stays at ⏸ Pending approval instead of being connected and health-checked.”
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.