Claude Code · tool · fg-0489

.mcp.json servers stay 'Pending approval' and enableAllProjectMcpServers in the repo is ignored

If you see claude mcp list shows the project server as Pending approval (run claude to approve), the cause and the fix for Claude Code are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
claude mcp list shows the project server as Pending approval (run claude to approve)enabledMcpjsonServers committed in .claude/settings.json has no effect in a fresh cloneProject MCP tools are missing until someone opens an interactive session
Cause
Project-scoped servers need approval, and a cloned repository cannot approve its own servers: approval keys in the committed .claude/settings.json are ignored until the folder is trusted. Since v2.1.207 an untracked .claude/settings.local.json is also applied only in a trusted folder.
Fix
Run claude once in the folder and accept the trust dialog and the server prompt, or put the approval in your user settings, managed settings, or a --settings argument, which apply even in an untrusted folder.
Apply
// ~/.claude/settings.json { "enabledMcpjsonServers": ["db-tools"] }
Affected
Claude Code, as of 2026-10; trust requirement for settings.local.json approvals since v2.1.207
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

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