[BUG] Claude Desktop: Cannot remove LOCAL DEV MCP connectors — server rejects legacy -1p-internal IDs
Note: This is a Claude Desktop issue, not Claude Code. Filing here as there is no public issue tracker for Claude Desktop.
Bug Description
LOCAL DEV MCP connectors with legacy -1p-internal IDs (gcal-1p-internal, gdrive-1p-internal, gmail-1p-internal) cannot be removed from Claude Desktop. The server-side /mcp/logout/ endpoint rejects these IDs with a validation error.
Steps to Reproduce
- Open Claude Desktop → Settings → Connectors
- Scroll to the LOCAL DEV section where
gcal,gdrive,gmailentries appear - Click Configure on any entry (e.g.,
gcal) - Click Uninstall → Confirm "Disconnect"
- Two red error banners appear:
- **"Invalid server ID format. Expected UUID or mcpsrv_ tagged ID."*
- "Failed to disconnect from server"
Error Details (from DevTools Console)
Failing API call:
POST https://claude.ai/api/organizations/{org_id}/mcp/logout/gcal-1p-internal → 400 (Bad Request)
Server response:
{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "Invalid server ID format. Expected UUID or mcpsrv_* tagged ID.",
"details": {
"error_visibility": "user_facing",
"error_code": "invalid_server_id"
}
},
"request_id": "req_011CXVsj13SWTz4S1cBzua1N"
}
Additional console error (separate issue):
Error invoking remote method 'isStartupOnLoginEnabled': Result from method "isStartupOnLoginEnabled" in interface "Startup" failed to pass validation
Root Cause Analysis
The connectors were originally created with -1p-internal suffixed IDs (e.g., gcal-1p-internal). The server's /mcp/logout/ endpoint now validates that IDs must be UUIDs or mcpsrv_* tagged format. The legacy -1p-internal IDs fail this validation, making these connectors permanently stuck — they cannot be deleted through the UI.
Troubleshooting Already Attempted
All of the following were performed with Claude Desktop fully quit. None resolved the issue:
- Verified
claude_desktop_config.jsonis empty ({}) - Deleted Local Storage (LevelDB), Session Storage
- Full Electron cache/storage wipe: Cache, Code Cache, GPUCache, DawnGraphiteCache, blob_storage, WebStorage, Cookies, Preferences, DIPS, SharedStorage, Network Persistent State, TransportSecurity, Trust Tokens
- Cleared
~/Library/Caches/com.anthropic.claudefordesktop/
Result: Entries persist after all local data is cleared, confirming they are stored server-side.
Expected Behavior
Clicking Uninstall/Disconnect should successfully remove the LOCAL DEV connector entries.
Actual Behavior
Removal fails with "Invalid server ID format" error. Entries remain permanently and cannot be removed.
Environment
- Claude Desktop version: 1.1.886
- OS: macOS 26.2 (Build 25C56)
- Architecture: Apple Silicon (arm64)
Suggested Fix
The /mcp/logout/ endpoint's ID validation should accept the same formats that were used to create these connectors, including the legacy -1p-internal format. Alternatively, a migration should convert these IDs to the new format.
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗