Fixes › Claude Code

Claude Code: project MCP server stuck on "Pending approval"

Claude Code

The error

⏸ Pending approval (run `claude` to approve) • server from .mcp.json never loads

Why it happens

Servers in a project's .mcp.json can run code on your machine, so Claude Code asks you to approve them in an interactive session first. Until you do, claude mcp list shows them as pending. A server listed in disabledMcpjsonServers shows ✘ Rejected instead.

How to fix it

  1. Approve it interactively
    Start claude in the project folder, accept the workspace trust prompt, then approve the project servers when asked.
    cd /path/to/project
    claude
  2. Reset earlier choices
    If you rejected a server by mistake, reset your approvals for this project and start Claude Code again.
    claude mcp reset-project-choices
  3. Check for a rejection setting
    If the status is ✘ Rejected (see disabledMcpjsonServers in settings), remove the server from disabledMcpjsonServers in your Claude Code settings.
  4. Asked to approve again after updating?
    Since Claude Code 2.1.323 (November 12, 2026), project server approvals must match the server's exact name in .mcp.json. An approval saved under a different spelling (for example other capital letters) asks again. Approve it once more, or fix the spelling so they match.
  5. Scripts and claude -p
    Non-interactive runs (claude -p, Agent SDK) can't show the prompt and load project servers without asking, so only commit servers you trust to .mcp.json.

Related servers

Sources