Claude Code · tool · fg-0489
.mcp.json servers stay 'Pending approval' and enableAllProjectMcpServers in the repo is ignored
claude mcp list shows the project server as Pending approval (run claude to approve)
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
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"] }Affects: Claude Code, as of 2026-10; trust requirement for settings.local.json approvals since v2.1.207
Sources
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp