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

Resolved 💬 3 comments Opened Jun 30, 2025 by mintmcqueen Closed Aug 20, 2025

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 <servername> -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.

View original on GitHub ↗

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