Egor Urvanov

MCP server scopes

MCP and safety · scope: local · project · user

MCP server scopes answer two questions: which projects an MCP server works in and who sees it. Claude Code has three, chosen when you add a server: local, the default, only you and the current project; project, the whole team through a .mcp.json file in the repo, each person approves the server before first use in an interactive session (in claude -p, the Agent SDK and cloud sessions it loads without a prompt); user, only you and all your projects. On a name clash the upper layer wins entirely: local overrides project, project overrides user.

local · defaultyou · this project~/.claude.jsonprojectteam · approves.mcp.jsonuseryou · all your projects~/.claude.jsonon a name clash: local ▸ project ▸ user● model, people, systems, data  ● agent and harnessThe scope decides who sees the server and in which projects

The three scopes side by side

localprojectuser
Who sees itonly youthe whole teamonly you
In which projectsthe current onethis repositoryall of yours
Where it is stored~/.claude.json, under the project path.mcp.json at the repo root~/.claude.json, shared section
How to addclaude mcp add by defaultclaude mcp add --scope projectclaude mcp add --scope user
Before first usenothingeveryone approves the server in an interactive sessionnothing
On a name clashoverrides project and useroverrides useryields to the others

Frequently asked questions

What MCP scopes does Claude Code have?

Three: local for you in the current project, project for the whole team through a file in the repo, and user for you across all projects.

When do you pick an MCP server scope?

When adding the server; the default is local.

Source: Claude Code MCP docs

Where it appears · 7

More 2

Related terms

Whole glossary

© 2026 Egor Urvanov