You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unify MCP configuration and separate from conversation history #2539
The .claude.json file gets filled up with conversation history mixed with MCP
configurations, causing issues
MCP configuration format differs between Claude CLI and Claude Desktop app, requiring
separate config files instead of a unified approach
Steps to Reproduce
Configure MCP servers in .claude.json for Claude CLI
Use Claude CLI for conversations - history gets added to same file
Try to use same MCP config with Claude Desktop app
Observe that different config format/location is required
Expected Behavior
MCP configuration should be separate from conversation history
Single unified mcp.json config file should work for both Claude CLI and Claude Desktop app
Actual Behavior
Conversation history and MCP config mixed in same .claude.json file causes issues
Claude CLI and Desktop app require different MCP configuration formats/locations
Additional Context
This creates a poor developer experience requiring users to maintain separate MCP
configurations for CLI vs Desktop, and the mixing of history with config in CLI makes config
management problematic.
Reacted by Sam, Kyvrel, Mikhail Melnik and HuseyinSamiSari
Reacted by Eli Oshinsky, tarikbo-aws, Nikhil Maddirala, Byungjin Park (Claud), Dorian Massoulier, Shohei Kamiya, Swarnim and Sam
+1 for this one, this is terrible design. Even claude-code could not figure out where my config made using mcp add -s (for user) was actually stored. Very hard to version, edit, backup, etc. my configuration.
+1 for this one, this is terrible design. Even claude-code could not figure out where my config made using mcp add -s (for user) was actually stored. Very hard to version, edit, backup, etc. my configuration.
I was a bit puzzled on this config arch as well, very subpar 😢. @ollie-anthropic whenever you have an chance, could you update us on your ideas for new config organization arrangements. I think #5024 needs to be addressed by this.
Claude Code's main configuration file is a nightmare to work with.
The fact it uses a single ~/.claude.json for:
MCP Client configuration
Project definitions
State tracking
Update history
Changelog cache
and that it's not with the other config files in ~/.claude/ really does my head in.
Nothing more annoying than trying to find your MCP configuration in a 4000+ line long JSON file!
It would be easier for users to work on separate JSON files for configuration. Also, it would be possible to symlink Claude Desktop and Claude Code for MCP configurations. These files are spawning more and more as soon as MCPs are available augmenting the risk of user errors old versions. I would like to have a unified protocol for mcp.json.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
tarikbo-aws commentedon Jul 11, 2025
+1 for this one, this is terrible design. Even claude-code could not figure out where my config made using mcp add -s (for user) was actually stored. Very hard to version, edit, backup, etc. my configuration.
expozeur commentedon Jul 11, 2025
Two weeks later. Silence. Only crickets. :)
ollie-anthropic commentedon Jul 21, 2025
Hey all, sorry for the delayed reply on this. I understand this is unideal, and I hope to improve the situation on this shortly. Will keep you posted
aretrace commentedon Aug 3, 2025
I was a bit puzzled on this config arch as well, very subpar 😢.
@ollie-anthropic whenever you have an chance, could you update us on your ideas for new config organization arrangements. I think #5024 needs to be addressed by this.
sammcj commentedon Aug 25, 2025
Claude Code's main configuration file is a nightmare to work with.
The fact it uses a single ~/.claude.json for:
and that it's not with the other config files in ~/.claude/ really does my head in.
Nothing more annoying than trying to find your MCP configuration in a 4000+ line long JSON file!
matteocervelli commentedon Sep 17, 2025
It would be easier for users to work on separate JSON files for configuration. Also, it would be possible to symlink Claude Desktop and Claude Code for MCP configurations. These files are spawning more and more as soon as MCPs are available augmenting the risk of user errors old versions. I would like to have a unified protocol for mcp.json.
github-actions commentedon Dec 5, 2025
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
github-actions commentedon Jan 5, 2026
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
github-actions commentedon Jan 14, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.