Cloud sync / remote-control drops when MCP tool permission prompt appears
Description
When using Claude Code with cloud sync / remote-control enabled (connecting a phone app to a desktop CLI session), the sync connection drops whenever an MCP tool use triggers a permission prompt.
Steps to reproduce
- Start a Claude Code CLI session with cloud sync / remote-control active
- Connect to the session from the Claude phone app
- Send messages back and forth — works fine
- Trigger an MCP tool call that requires user permission approval (e.g. selecting a workspace via Squad MCP)
- The permission prompt appears in the CLI
- Cloud sync / remote-control disconnects — the phone app stops receiving responses
Expected behavior
The remote-control / cloud sync connection should remain active while permission prompts are pending and after they are resolved.
Actual behavior
The connection drops silently. The user on the phone app sees no responses and has no indication that the sync broke. They must reconnect manually.
Environment
- macOS (Darwin 25.3.0)
- Claude Code CLI with cloud sync enabled
- MCP server: Squad (claude_ai_Squad)
Additional context
The specific MCP tool that triggered the disconnect was mcp__claude_ai_Squad__select_workspace. The permission prompt was denied by the user (since they couldn't see it on their phone), and the sync did not recover after the tool use was cancelled. Reconnecting via /remote-control restored the connection until the next permission prompt.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗