MCP Server Configuration Mismatch Between Terminal UI and CLI

Resolved 💬 3 comments Opened Oct 18, 2025 by UNcover111 Closed Oct 22, 2025

Bug Description
What to include in your bug report:

  • MCP servers show as "connected" in the /mcp call in terminal UI but claude mcp get returns "No MCP server found"
  • claude mcp list shows "No MCP servers configured" despite terminal UI showing 4 servers
  • Configuration files don't exist at expected Windows paths (%APPDATA%\Claude)
  • CLI diagnostic shows npm-global installation (1.0.67)

This appears to be a configuration scope or registry issue where the UI and CLI are reading from different sources. The engineering team will need to investigate why the servers are visible in one interface but not accessible through the other.

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 1.0.67
  • Feedback ID: 1a7eea69-ce3d-475a-ab90-3e16ad3da890

Errors

[
  {
    "error": "Error: Agent file <REPO_ROOT>\\.claude\\agents\\template-snippet-generator.md is missing required 'name' in frontmatter\n    at I58 (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:1373)\n    at <NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:679\n    at Array.map (<anonymous>)\n    at <NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:622\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async <NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:469\n    at async mvB (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:2569:4)\n    at async Object.prompt (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:2641:1194)\n    at async bvB (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:2536:191)\n    at async Promise.all (index 0)",
    "timestamp": "<ISO-8601>"
  },
  {
    "error": "Error: Agent file <REPO_ROOT>\\.claude\\agents\\shopify-validator.md is missing required 'name' in frontmatter\n    at I58 (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:1373)\n    at <NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:679\n    at Array.map (<anonymous>)\n    at <NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:622\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async <NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:469\n    at async mvB (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:2569:4)\n    at async Object.prompt (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:2641:1194)\n    at async bvB (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:2536:191)\n    at async Promise.all (index 0)",
    "timestamp": "<ISO-8601>"
  },
  {
    "error": "Error: Agent file <REPO_ROOT>\\.claude\\agents\\shopify-structure-generator.md is missing required 'name' in frontmatter\n    at I58 (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:1373)\n    at <NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:679\n    at Array.map (<anonymous>)\n    at <NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:622\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async <NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:469)\n    at async mvB (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:2569:4)\n    at async Object.prompt (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:2641:1194)\n    at async bvB (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:2536:191)\n    at async Promise.all (index 0)",
    "timestamp": "<ISO-8601>"
  },
  {
    "error": "Error: Agent file <REPO_ROOT>\\.claude\\agents\\shopify-deployer.md is missing required 'name' in frontmatter\n    at I58 (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:1373)\n    at <NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:679\n    at Array.map (<anonymous>)\n    at <NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:622\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async <NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:1923:469\n    at async mvB (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:2569:4)\n    at async Object.prompt (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:2641:1194)\n    at async bvB (<NPM_GLOBAL>\\@anthropic-ai\\claude-code\\cli.js:2536:191)\n    at async Promise.all (index 0)",
    "timestamp": "<ISO-8601>"
  }
]

Note: Error logs were truncated.

View original on GitHub ↗

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