Claude Code · tool · fg-0010

MCP servers with write access to one project load in every directory

If you see Tools for one client's systems are available in an unrelated folder, the cause and the fix for Claude Code are below, last verified 2026-11-06.

Verified Nov 2026trust 50/100
Symptom
Tools for one client's systems are available in an unrelated folder
Cause
Servers in the top-level mcpServers block of ~/.claude.json load in every working directory.
Fix
Register servers under each project's own block and keep the top-level block empty unless a server truly belongs everywhere.
Apply
Move entries from mcpServers to projects["/path/to/project"].mcpServers in ~/.claude.json, after backing the file up
Affected
Claude Code, August 2026
Sources

Last verified 2026-11-06 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun