Claude Certified Architect – Foundations Practice Question 33: MCP Project Scope
Claude Certified Architect, Foundations · Test 4 · question 3 of 10
A team wants every developer who clones their repository to get the same Jira MCP server configured automatically in Claude Code. The configuration must be version controlled and reviewed in pull requests, and credentials must not be committed. Which approach is correct?
Show answer and explanation
Answer:
Project scope stores the server in .mcp.json at the project root, intended to be checked into version control so the whole team gets it. The file supports environment variable expansion (such as ${JIRA_TOKEN}), so each developer supplies secrets locally. Claude Code asks for approval before using project-scoped servers from a file.
A is wrong: local scope (the default) is private to you in that project and is not shared. B is wrong: user scope is available across all your projects but is stored in your user configuration, not the repo. C relies on manual setup, so it is neither automatic nor reviewable, which is the problem to solve.
Reference: Connect Claude Code to tools via MCP