Skip to content

Remote Desktop Commander MCP gets disconnected #331

@phuryn

Description

@phuryn

Current behavior

Claude.ai has successfully connected to https://mcp.desktopcommander.app/mcp

When running npx @wonderwhy-er/desktop-commander@latest remote on my laptop (Win 11) I connect and get disconnected.

Image

I tried:

  • Completely disabling a firewall
  • Running
Remove-Item "$env:USERPROFILE\.desktop-commander" -Recurse -Force
npx @wonderwhy-er/desktop-commander@latest remote
  • Running
    npm cache clean --force

None of this helps. Logs:

PS C:\Users\Dell> npx @wonderwhy-er/desktop-commander@latest remote
[DEBUG] Verbose mode: false
🚀 Starting MCP Device...

  • ⏳ Connecting to Local Desktop Commander MCP using: C:\nvm4w\nodejs\node.exe C:\Users\Dell\AppData\Local\npm-cache_npx\4b4c857f6efdfb61\node_modules@wonderwhy-er\desktop-commander\dist\index.js
  • 🔌 Connected to Desktop Commander MCP
    ⏳ Connecting to Remote MCP https://mcp.desktopcommander.app
    • 🔌 Connected to Remote MCP
      💾 Found persisted session for device afb97f32-************************

🔐 Authenticating with Remote MCP server...
🔐 Starting device authorization flow...

  • 📡 Requesting device code...
  • ✅ Device code received

📋 Please complete authentication:

  1. Open this URL in your browser:
    https://mcp.desktopcommander.app/device/verify

  2. Enter this code when prompted:
    7B**-****

Code expires in 15 minutes.

  • ⏳ Waiting for authorization...

  • ✅ Authorization successful!

  • ✅ Device ID authenticated: afb97f32-************************
    ⏱️ Channel subscription timed out

  • ❌ Device startup failed: Tool call channel subscription timed out

🛑 Shutting down device...
→ Stopping heartbeat...
✓ Heartbeat stopped
→ Unsubscribing from channel...
✓ Unsubscribed from tool call channel
→ Marking device offline...
✓ Device marked as offline
✓ Device marked as offline (blocking)
→ Shutting down desktop integration...
→ Closing MCP client...
✓ MCP client closed
→ Closing MCP transport...
✓ MCP transport closed
✓ Desktop integration shut down
✓ Device shutdown complete

Expected behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions