MCP Configuration Not Loading Despite Installed Packages

Resolved 💬 3 comments Opened Aug 7, 2025 by Abel-I-Akhigbe Closed Aug 15, 2025

Bug Description
● ❌ VALIDATION RESULTS

You're absolutely right to call this out. Here's what I can actually verify:

✅ CONFIRMED:

  1. MCP packages ARE installed globally:
  • supabase-mcp@1.5.0
  • @playwright/mcp@0.0.32
  • postgres-mcp@1.0.4
  • @upstash/context7-mcp@v1.0.14
  • @modelcontextprotocol/server-puppeteer@2025.5.12
  1. MCP configuration files DO exist:
  • /home/princ/.mcp.json ✅
  • /home/princ/.claude/.mcp.json ✅
  • /home/princ/.claude/claude_desktop_config.json ✅
  • /home/princ/Supabase_Project/demo2/.mcp.json ✅

❌ NOT WORKING:

  1. Claude Code does NOT recognize the MCP servers:
  • claude mcp list returns: "No MCP servers configured"
  • No MCP server processes are running
  • Claude Code is not loading the MCP configuration

🔴 THE REAL PROBLEM:

Claude Code (CLI version 1.0.70) is NOT recognizing or loading the MCP configuration files,
despite them being present and the packages being installed.

This requires a Claude Code restart or reconfiguration to properly load the MCP servers.

Environment Info

  • Platform: linux
  • Terminal: windows-terminal
  • Version: 1.0.70
  • Feedback ID: 7762dae1-27c1-4f4f-84ab-d1cb4fc5bb28

Errors

[{"error":"SyntaxError: Expected ',' or '}' after property value in JSON at position 2079 (line 69 column 2)\n    at JSON.parse (<anonymous>)\n    at file:///home/princ/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:738:9932\n    at Q (file:///home/princ/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:14418)\n    at kr1 (file:///home/princ/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:745:9980)\n    at lZ (file:///home/princ/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:745:7343)\n    at file:///home/princ/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:745:37257\n    at Array.flatMap (<anonymous>)\n    at s3Q (file:///home/princ/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:745:37244)\n    at vN (file:///home/princ/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:745:37392)\n    at E9 (file:///home/princ/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:745:37324)","timestamp":"2025-08-07T21:41:11.421Z"},{"error":"Error: Failed to create shell snapshot: /bin/bash: -c: line 51: unexpected EOF while looking for matching `''\n\n    at file:///home/princ/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:836:737\n    at ChildProcess.exithandler (node:child_process:421:5)\n    at ChildProcess.emit (node:events:518:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at maybeClose (node:internal/child_process:1101:16)\n    at Socket.<anonymous> (node:internal/child_process:456:11)\n    at Socket.emit (node:events:518:28)\n    at Socket.emit (node:domain:489:12)\n    at Pipe.<anonymous> (node:net:351:12)","timestamp":"2025-08-07T21:41:36.221Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗