claude-code - 💡(How to fix) Fix [BUG] [Claude Desktop] Team cloud sync silently overwrites locally added MCP servers — no warning, no merge

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…

Error Message

locally added MCP servers in memory. No error, no warning, no merge. no error or warning anywhere

Error Messages/Logs

No error message. No warning. No log entry. The locally added MCP server

Root Cause

Root cause confirmed: removing "remoteToolsDeviceName" from the config stops the sync and the MCP server persists correctly.

Fix Action

Workaround

Remove "remoteToolsDeviceName" from config and lock file with attrib +R

Code Example

No error message. No warning. No log entry. The locally added MCP server 
simply disappears from Developer Settings silently every time Claude 
Desktop starts. This silent failure is what made it so hard to debug.

Config file before Claude Desktop starts:
- onedrive-claude ✅
- es-readonly ✅

Developer Settings after Claude Desktop starts:
- onedrive-claude ✅
- es-readonly  (silently removed by cloud sync)
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Desktop app version: [check Claude Desktop → Help → About] OS: Windows 10

Bug Description

When claude_desktop_config.json contains "remoteToolsDeviceName", Claude Desktop fetches the team cloud config on startup and silently overwrites locally added MCP servers in memory. No error, no warning, no merge.

Steps to Reproduce

  1. Have a Claude Team account with remoteToolsDeviceName set in config
  2. Add a new MCP server locally to claude_desktop_config.json
  3. Restart Claude Desktop completely
  4. Check Settings → Developer
  5. Locally added server is missing — only the cloud config servers appear

Expected Behaviour

Local mcpServers should be MERGED with cloud config, not overwritten

Actual Behaviour

Cloud config silently wins. Locally added MCP server disappears with no error or warning anywhere

Workaround

Remove "remoteToolsDeviceName" from config and lock file with attrib +R

Impact

1.5 days lost rolling out MCP to 15 staff machines. Every machine failed the same way. All diagnostics showed everything working correctly — the silent overwrite made this nearly impossible to debug.

Requests

  1. Merge mcpServers from local + cloud config instead of overwriting
  2. Show a warning when cloud sync removes a locally added MCP server
  3. Add MCP server management to the Team Admin Panel so admins can push MCP servers to all devices without manually editing each machine

What Should Happen?

When Claude Desktop syncs team cloud config on startup, it should MERGE the mcpServers from local config with the cloud config. Locally added MCP servers should survive the sync — not be silently removed.

Error Messages/Logs

No error message. No warning. No log entry. The locally added MCP server 
simply disappears from Developer Settings silently every time Claude 
Desktop starts. This silent failure is what made it so hard to debug.

Config file before Claude Desktop starts:
- onedrive-claude ✅
- es-readonly ✅

Developer Settings after Claude Desktop starts:
- onedrive-claude ✅
- es-readonly ❌ (silently removed by cloud sync)

Steps to Reproduce

  1. Have a Claude Team plan account with Claude Desktop installed on Windows
  2. Note that claude_desktop_config.json contains "remoteToolsDeviceName" (added automatically by Claude Desktop for team sync)
  3. Add a new MCP server to claude_desktop_config.json locally: { "mcpServers": { "es-readonly": { "command": "node", "args": ["path/to/mcp-remote/proxy.js", "https://your-server.com/mcp", "--header", "Authorization: Bearer YOUR_TOKEN"] } } }
  4. Verify the file — both existing and new MCP server are present ✅
  5. Fully quit Claude Desktop (system tray → Quit)
  6. Reopen Claude Desktop
  7. Go to Settings → Developer
  8. The newly added MCP server is gone — only the original cloud config servers remain
  9. Check the config file again — it has been overwritten with cloud version

Repeat steps 3-9 as many times as you like — same result every time.

Root cause confirmed: removing "remoteToolsDeviceName" from the config stops the sync and the MCP server persists correctly.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.133

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

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