MCP Integration in Claude Code
Last reviewed
Correct answer: B. It marks the server as needing authentication, so you can sign in to it.
Explanation
The principle — Needing authentication is a state discovered from what the server answers, not something declared in your configuration.
Why the key is correct — Claude Code marks a remote server as needing authentication when the server responds with 401 Unauthorized or 403 Forbidden. Once flagged, the server can be signed in to.
Why the others are wrong — Five-hundred responses indicate a fault at the server rather than a question about you. The state is found by making a request rather than before one. And 403 is treated the same as 401 rather than as a dead end.
Remember this — Both a 401 and a 403 mean sign in, not give up.
Sources — Anthropic's Claude Code MCP reference.
Sources
“Claude Code marks a remote server as needing authentication when the server responds with 401 Unauthorized or 403 Forbidden.”
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.