Claude Code Remote Control: execution location and prerequisites
Understand the remote connection to a local session, then inspect login, workspace trust and process availability.
File execution remains local · Inspect login, organizational access and trust first · Continue a conversation through the interactive entry
At a glance
The goal is to understand where file operations execute when a local Claude Code session is continued from mobile or web. The Remote Control page was checked. No login, remote session, device enrollment or network change was performed. This covers the interactive entry; server-mode multi-session flags need separate inspection.
Runtime and applicability
- Article type
- Spec file
- Verified
- Applies to
- Claude Code Applies to Claude Code as documented; environment prerequisites appear in the body.
- Tools
File locations
| Path | Scope | How it is read |
|---|---|---|
本机交互会话 /remote-control 或启动 claude --remote-control | Connect a remote interface to an ongoing local session. | Local startup or a session command enables Remote Control after its confirmation. |
When to use
- When continuing a local task from another device and inspecting local runtime conditions.
When not to use
- When execution must be cloud-hosted or continue while the local machine is offline.
File execution remains local
The web or mobile interface connects to local Claude Code, retaining its filesystem, MCP and project settings. This differs from a cloud session executing on cloud infrastructure. The machine and claude process must remain running. Local execution does not mean all data stays local: the docs state that messages, responses and tool activity are stored as a transcript on Anthropic servers for synchronization and reconnection.
Inspect login, organizational access and trust first
Eligible claude.ai subscription login is required; API keys are unsupported. Team and Enterprise need Owner enablement, with relevant permissions for Enterprise custom roles. Third-party providers, ANTHROPIC_BASE_URL hosts other than api.anthropic.com and the enterprise Claude apps gateway are unsupported. Inspect the existing environment and policy; this guide does not recommend removing proxies, deleting settings or widening permissions. Inspect workspace trust in an unfamiliar directory.
Continue a conversation through the interactive entry
In an existing interactive session, /remote-control carries current conversation history and requires a first-use confirmation. claude --remote-control starts an interactive session with it enabled. Inspect local status and the corresponding session URL before connecting from another eligible device. An old URL does not prove connection to the same process. The server command claude remote-control has distinct startup and multi-session semantics.
Inspect process and network on disconnection
Remote Control makes outbound HTTPS requests and opens no inbound local port. Stopping the interactive process makes it offline; during a network outage an interactive session can continue locally and retry. A visible remote page does not prove a running process. Only documentation and entry strings were checked, not connection, forwarded approvals or retention. Use a harmless task to inspect directory, session identity and actual operation; stop on unclear identity or organizational authorization.
Sources
All links are official pages; verification dates are listed per source, and links point to the version checked.