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
- Approve it interactively
Startclaudein the project folder, accept the workspace trust prompt, then approve the project servers when asked.cd /path/to/project claude - 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 - Check for a rejection setting
If the status is✘ Rejected (see disabledMcpjsonServers in settings), remove the server fromdisabledMcpjsonServersin your Claude Code settings. - 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. - 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
Dev Tools● Maintained
GitHub
GitHub's official MCP server for repositories, issues, pull requests, Actions and more (local Docker image or the hosted api.githubcopilot.com/mcp/ en
★ 34.9k · updated 2026-11-27 · 🔑 auth
Docs & Knowledge● Maintained
Context7
Upstash Context7: up-to-date library documentation for AI coding agents (local @upstash/context7-mcp or hosted mcp.context7.com/mcp). Version 4.9.0 (N
★ 65.7k · updated 2026-11-30 · 🔑 auth
Browser Automation● Maintained
Playwright (Microsoft)
Microsoft's official Playwright MCP server: lets your AI assistant drive a real browser using the page's accessibility tree instead of screenshots. Ve
★ 40.3k · updated 2026-11-30
Sources
- https://code.claude.com/docs/en/mcp
- https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
- Inconsistency: parent-dir trust skips the trust dialog but not the .mcp.json approval gate (GitHub issue, 2 comments)
- Project-scoped stdio MCP server with a path-based `command` shows "Connected" via `claude mcp list`/`get` but its tools never appear in the interactive session (GitHub issue, 5 comments)