claude-code - 💡(How to fix) Fix [Bug] MCP server settings from claude.ai persist and override Claude Code configuration [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46966Fetched 2026-04-13 05:45:04
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
1
Author
Timeline (top)
labeled ×3commented ×1

Code Example

[]

---

Manage MCP servers
  7 servers

    User MCPs (/Users/samm/.claude.json)
  ❯ dev-tools · ✔ connected
    excalidraw · ✔ connected

    claude.ai
    claude.ai Atlassian · ✔ connected
    claude.ai Gmail · △ needs authentication
    claude.ai Google Calendar · △ needs authentication
    claude.ai Last.FM · △ needs authentication
RAW_BUFFERClick to expand / collapse

Bug Description MCP servers from claude.ai (web) are showing up in claude code. Despite disabling them inside Claude Code they get re-enabled in every new project. Claude web MCP server configuration should be seperate from Claude Code.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.104
  • Feedback ID: ef32ee3f-1bd8-4e64-a459-4ea0a950b958

Errors

[]
  Manage MCP servers
  7 servers

    User MCPs (/Users/samm/.claude.json)
  ❯ dev-tools · ✔ connected
    excalidraw · ✔ connected

    claude.ai
    claude.ai Atlassian · ✔ connected
    claude.ai Gmail · △ needs authentication
    claude.ai Google Calendar · △ needs authentication
    claude.ai Last.FM · △ needs authentication

Above shows claude.ai web MCP servers configured and enabled despite never being added to Claude Code - and also being disabled in a previous Claude Code session.

extent analysis

TL;DR

Disable the claude.ai web MCP servers in the Claude Code configuration file /Users/samm/.claude.json to prevent them from being re-enabled in new projects.

Guidance

  • Verify that the /Users/samm/.claude.json file is being used by Claude Code as the configuration file for MCP servers.
  • Check the contents of the /Users/samm/.claude.json file to see if the claude.ai web MCP servers are explicitly enabled or if there is a default configuration that is causing them to be enabled.
  • Try manually editing the /Users/samm/.claude.json file to disable the claude.ai web MCP servers and see if this prevents them from being re-enabled in new projects.
  • If editing the configuration file does not work, try resetting the Claude Code configuration to its default state to see if this resolves the issue.

Notes

The issue seems to be related to the configuration file /Users/samm/.claude.json not being properly updated or respected by Claude Code. The fact that the claude.ai web MCP servers are being re-enabled in new projects despite being disabled in a previous session suggests that there may be a caching or synchronization issue.

Recommendation

Apply workaround: Manually edit the /Users/samm/.claude.json file to disable the claude.ai web MCP servers, as this is the most direct way to address the issue based on the provided information.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING