claude-code
claude-code copied to clipboard
[BUG] .claude.json MCP global configs = empty
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
- claude mcp add
-s user - check ~/.claude.json for mcp configs
- configs only at the bottom of .claude.json, global mcp configs closer to top are totally blank
- 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.