Submit a toolSubmit

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.

The problem: 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.

How do I trust the folder, then approve, when Claude Code MCP is pending approval?

  1. 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

  2. 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.

  3. 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).

  4. 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.

  5. 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.

All tools for “Fix Claude Code MCP Pending approval” →

Related fixes

See also AI tools launched today on the daily board.