QuestionQ50

Claude Code Configuration & Workflows

Your team is configuring MCP servers in Claude Code. You want to add a shared venue lookup server that all team members should have access to, and you personally want to add an experimental music playlist server that only you are testing.

Which configuration approach correctly applies MCP server scopes?

Explanation

Claude Code's project scope stores MCP server definitions in a .mcp.json file that is intended to be checked into version control and shared with the entire team, making it the correct location for a server everyone should be able to use, such as the shared venue lookup server. In contrast, local/user-scoped servers are stored in the individual's ~/.claude.json file and remain private to that user across their own projects, which is the appropriate place for a personal, experimental server like the music playlist server that only one person is testing and that should not be pushed to teammates via the shared project configuration.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!