Claude Code says MCP Pending approval. Trust the folder, then approve
A project `.mcp.json` server shows ⏸ Pending approval and never connects until you trust the workspace and approve it in an interactive `claude` session. Approvals committed in the repo’s `.claude/settings.json` are ignored in an untrusted folder—so don’t expect a clone to self-approve. Short answer: 5 steps. 1) Confirm the status is Pending approval; 2) Trust the workspace interactively; 3) Approve the server in the session; 4) If it shows Rejected or Disabled, fix the allow/deny lists; 5) Keep approvals out of the shared repo when needed.
Last updated: · This page is the decision checklist; the tools list for “Fix Claude Code MCP Pending approval” is a separate URL.
How do I trust the folder, then approve, when Claude Code MCP is pending approval?
Confirm the status is Pending approval
Run `claude mcp list` (or `claude mcp get <name>`). Official statuses include ⏸ Pending approval (run `claude` to approve) for project-scoped servers from `.mcp.json`. That is a configuration decision, not a network failure—don’t rewrite the server command yet. Docs: https://code.claude.com/docs/en/mcp
Trust the workspace interactively
From the project root, start `claude` and accept the workspace trust dialog. Claude Code only applies `.mcp.json` approvals from settings that aren’t checked into the repo after you trust the folder. Until then, `enableAllProjectMcpServers` or `enabledMcpjsonServers` in committed `.claude/settings.json` stay ignored and the server stays pending.
Approve the server in the session
In the trusted interactive session, approve the pending project MCP server when prompted, or open `/mcp` and enable it. Re-check with `claude mcp list` until the status is Connected (or Needs authentication if the remote server still needs OAuth).
If it shows Rejected or Disabled, fix the allow/deny lists
✘ Rejected (see disabledMcpjsonServers) means a settings entry blocks that `.mcp.json` server—remove it from `disabledMcpjsonServers`. ⊘ Disabled for this project means `disabledMcpServers` names it—re-enable via `/mcp`. Enterprise managed policy blocks need an admin. Those lists are separate from `enabledMcpServers` / `disabledMcpServers` for non-`.mcp.json` servers.
Keep approvals out of the shared repo when needed
Put per-developer approvals in untracked `.claude/settings.local.json` or your user `~/.claude/settings.json` so teammates each trust and approve deliberately. After a successful connect, use `/mcp` again if a remote server needs sign-in, then retry the tool call.
Which tools are best to fix Claude Code MCP Pending approval?
Claude Code MCP docs
Official server statuses, Pending approval, workspace trust, and enabled/disabledMcpjsonServers behavior.
Claude Code IAM / trust
Workspace trust and settings scopes that control when project MCP approvals apply.
Claude Code settings
Where user, project, and local settings live for MCP allow/deny lists.
Anthropic status
Check for API incidents if every MCP server fails after a correct approval.
Open: 1 spot per week
One labeled sponsor for this topic each week; this week's spot is open. See open weeks →
All tools for “Fix Claude Code MCP Pending approval” →
Related fixes
- Stop a Cursor agent loopHow to fix a Cursor agent loop (same edit, or work after Stop)Fix →
- Claude Code vs Codex vs Cursor ~$20 plansClaude Code vs Codex vs Cursor $20 plan limits: how to pick without burning the weekFix →
- Scan a vibe-coded app for leaked API keysCheck a vibe-coded app for leaked API keys before you share itFix →
- Add an MCP server to Claude Code, Cursor, or CodexHow to add an MCP server to Claude Code, Cursor, or CodexFix →
See also AI tools launched today on the daily board.
NewAIToolsToday Daily
Top 3 AI launches, one model or news item that matters, and one simple fix. A 5-minute read, every weekday.