MCP Servers Not Initializing - Poor Error Messages and Troubleshooting Experience
Resolved 💬 3 comments Opened Mar 17, 2026 by deba-harness Closed Mar 21, 2026
Summary
MCP servers configured in .claude/settings.json fail to initialize with no helpful error messages. /mcp command only shows "No MCP servers configured" without explaining why.
Environment
- OS: macOS (Darwin 24.6.0)
- Claude Code version: Latest stable
- Provider: Vertex AI
- MCP servers attempted: mermaid, excalidraw, playwright, jira
Steps to Reproduce
- Create
.claude/settings.jsonwith MCP server configurations - Create
.claude/settings.local.jsonwith"enableAllProjectMcpServers": true - Restart Claude Code (fully quit and reopen)
- Run
/mcpcommand - Result: "No MCP servers configured"
Configuration Files
.claude/settings.json:
{
"mcpServers": {
"mermaid": {
"command": "npx",
"args": ["-y", "mermaid-mcp-server"]
},
"excalidraw": {
"command": "npx",
"args": ["-y", "excalidraw-mcp"]
},
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp"]
},
"jira": {
"command": "npx",
"args": ["-y", "jira-mcp"]
}
}
}
.claude/settings.local.json:
{
"enableAllProjectMcpServers": true
}
Expected Behavior
- MCP servers should initialize on startup
- Clear error messages if servers fail to start
/doctorcommand should diagnose MCP issues- Logs should be accessible showing what went wrong
Actual Behavior
- No servers initialize
/mcponly says "No MCP servers configured"/doctordoesn't help diagnose the issue- No clear logs or error messages
- Required 5+ full restarts with no progress
- Claude Code assistant made multiple incorrect troubleshooting suggestions
Impact
This is extremely frustrating for users:
- No feedback about what's wrong
- Time-consuming trial and error with restarts
- No way to diagnose the actual problem
- The AI assistant itself doesn't have visibility into the issue
Suggestions
- Better error messages: Explain WHY servers aren't loading (e.g., "Config file not found", "Server failed to start: [error]", "Permission denied")
- Diagnostic tools:
/doctorshould check MCP configuration and report specific issues - Logs: Make logs accessible showing MCP server initialization attempts
- Real-time feedback: Show server status as they attempt to connect
- AI agent improvement: The assistant should have access to diagnostic information to actually help troubleshoot
Additional Context
User has successfully used MCP servers (Playwright, Jira) in other Claude Code projects with Vertex AI, so the issue is project-specific and configuration-related, but completely opaque to debug.
---
Note: This experience has been extremely draining. The product needs better observability and error handling for MCP servers.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗