claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] .claude.json MCP global configs = empty

Open mintmcqueen opened this issue 7 months ago • 0 comments

Environment

  • Platform (select one):
    • [x ] Anthropic API
  • Claude CLI version: 1.0.35
  • Operating System: mac os 14.4.1
  • Terminal: Terminal

Bug Description

MCP configs land automatically in ~/.claude.json using claude CLI add command (including -s user flag). But the global MCP configs in .claude.json remain empty (mcp configs only append to bottom of .claude.json near changelog. This seems like...an error?

Steps to Reproduce

  1. claude mcp add -s user
  2. check ~/.claude.json for mcp configs
  3. configs only at the bottom of .claude.json, global mcp configs closer to top are totally blank
  4. mcp configs don't appear in any other 'default' files (eg ~/.claude/settings.json)

Expected Behavior

Engage with global mcp config settings defined in .claude.json

Actual Behavior

Appends strangely only to the bottom

Suggestion

Establish master ~/.claude/mcp.json file that manages ALL -s user level mcp installs. Discontinue .claude.json mcp config support -- it's too muddy.

mintmcqueen avatar Jun 30 '25 19:06 mintmcqueen