Claude Code Remote Control: continue a local session from your phone or browser
Claude Code Remote Control lets you continue a Claude Code session running on your own computer from claude.ai/code or the Claude mobile app. The session keeps running locally, so your files, MCP servers and tools stay on your machine. Start it with claude remote-control, claude --remote-control, or /remote-control inside a session, then open the session URL or scan the QR code. It needs a Pro, Max, Ultra, Team or Enterprise plan.
What is Claude Code Remote Control?
Remote Control connects claude.ai/code, or the Claude app for iOS and Android, to a Claude Code session that runs on your machine. You start a task at your desk, then steer it from your phone or from a browser on another computer.
The key point is where the work happens. Claude keeps running locally the entire time. The web and mobile screens are a window into that local session. So your computer has to stay on, and the claude process has to keep running. In return you keep:
- Your full local environment: filesystem, MCP servers, tools and project configuration. Typing
@autocompletes file paths from your local project. - Both surfaces at once: the conversation and the progress of subagents and workflows stay in sync across the terminal, browser and phone.
- Files and photos from your phone: attach a photo or file in the Claude app or on claude.ai/code. Claude sees photos directly; other files are downloaded to your machine and passed on as
@file references. - Recovery from interruptions: if your laptop sleeps or the network drops, Claude Code reconnects automatically when the machine is back online.
Remote Control is a Claude Code feature. It is separate from chat in other Claude products.
What do you need before you can use Remote Control?
| Requirement | Details |
|---|---|
| Plan | Pro, Max, Ultra, Team or Enterprise. API keys are not supported. On Team and Enterprise, an Owner must first enable the Remote Control toggle in Claude Code admin settings |
| Login | Sign in to claude.ai with /login inside claude. Without an eligible login, claude remote-control exits with an error |
| API endpoint | Not available with Amazon Bedrock, Google Cloud’s Agent Platform or Microsoft Foundry, with ANTHROPIC_BASE_URL pointing anywhere other than api.anthropic.com (an LLM gateway or proxy), or with an enterprise Claude apps gateway sign-in |
| Feature flags | Unavailable if you set CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC or DISABLE_GROWTHBOOK. DISABLE_TELEMETRY or DO_NOT_TRACK alone is allowed on recent versions unless your organization requires Trusted Devices |
| Workspace trust | In a directory you have not trusted, claude remote-control asks Trust <directory>? [y/N] before it starts |
The endpoint rule surprises people who route Claude Code through a proxy. If you use a router such as the one described in Claude Code Router, unset ANTHROPIC_BASE_URL before you try Remote Control. Plan prices change, so as of October 2026 check Claude Code pricing for what each plan includes.
How do you start a Remote Control session?
There are four ways in. Pick by what you want the session to do.
| Command | What you get | Use it when |
|---|---|---|
claude remote-control | Server mode: the process waits for remote connections and can serve several sessions. Press spacebar to show a QR code | You want a standing session you steer from elsewhere |
claude --remote-control (or --rc) | A normal interactive terminal session that is also available remotely | You want to type locally and remotely |
/remote-control (or /rc) in a session | Starts Remote Control on the current session and carries over the conversation | You are mid-task and decide to leave your desk |
/remote-control in VS Code or the Desktop app | Same, from the prompt box. Shows a Remote Control indicator | You work in the extension or the Desktop app |
cd ~/projects/my-app claude remote-control --name "my-app" --permission-mode acceptEdits
claude --remote-control "my-app"
The first time, Claude Code explains what Remote Control does and asks you to confirm: Enable Remote Control? (y/n) in server mode, or a dialog from /remote-control. In the VS Code extension, the command does not accept a name argument or show a QR code; the session title comes from your conversation.
Server mode takes more flags. The ones to know:
| Flag | What it does |
|---|---|
--name "My Project" | Sets the session title shown in the list at claude.ai/code |
--spawn same-dir | worktree | session | How the server creates sessions. same-dir shares the working directory (default); worktree gives each on-demand session its own git worktree; session serves exactly one session |
--capacity <N> | Maximum concurrent sessions; the default is 32 |
--permission-mode <mode> | Starting permission mode for the server’s sessions, such as acceptEdits |
-c, --continue | Brings back the session the last server in this directory started with |
--session-id <id> | Brings back one session by its ID |
--verbose, --debug | More connection and session logs |
Run claude remote-control --help to print the flags for your version. In worktree mode, press w while the server runs to toggle between same-dir and worktree; the mode you switch to becomes the default for that project. Worktree mode needs a git repository. Read Claude Code worktrees if you want parallel sessions that cannot overwrite each other.
How do you connect from your phone or another computer?
- Start Remote Control on the computer that has your code.
- Open the session URL it prints in any browser. It goes straight to the session on claude.ai/code.
- Or scan the QR code with your phone to open the session in the Claude app. In server mode, press spacebar to toggle the QR code. In an interactive session, run
/remote-controlagain to open the status panel with the URL and QR code. - Or open claude.ai/code or the Claude app and find the session by name. In the mobile app, tap Code. Online sessions show a computer icon with a green dot.
If you do not have the Claude app, run /mobile inside Claude Code to show a QR code for claude.ai/mobile, which opens the right app store.
The session title is chosen in order: the name you passed with --name, --remote-control or /remote-control; the title you set with /rename; the last meaningful message in the history; then an auto-generated name such as myhost-graceful-unicorn, where myhost is your hostname. In an interactive session, the terminal shows an /rc active indicator while connected, which links to the session.
A connected device shows the conversation as it happens, including compaction progress and /clear. It also shows a diff pane when the directory is in a git repository. Choosing a model or effort level on the device applies it to the session on your machine. Messages you type from any surface go to the same session.
Which commands work from your phone?
Commands that only exist in the terminal interface, such as /plugin or /resume, work only from the local CLI. These work from mobile and web:
- Text-output commands:
/compact,/clear,/context,/usage,/exit,/recapand/reload-plugins(the last only if the session runs in an interactive terminal). - Commands that take an argument:
/model sonnet,/effort high,/fast,/color,/rename. /mcp, with a text summary on mobile;/config, wherekey=valuesets a setting./focus onor/focus off,/output-style concise,/autocompact 500k,/advisor opus, on recent versions.
Permission prompts and AskUserQuestion questions stay open until you answer them, wherever you are. Other forwarded dialogs expire after five minutes by default and continue with their no-action default.
What is Remote Control good for?
It suits steering work that is already running, not starting a heavy new task from a phone keyboard. Four patterns come up:
Which step are you on, and what are you waiting for? If a test is failing, show me the failing assertion and your proposed fix before you change anything.
Summarize what changed since the last commit, run the test suite, and tell me whether it is safe to commit. Do not commit yet.
notify me when the tests finish
Continue the CSV export work. Read SPEC.md first, then pick up at the next unchecked item.
Pair it with a task that has a pass-or-fail check, such as the ones in the Claude Code workflow guide. A run with a clear definition of done is easy to steer from a small screen. If you are choosing something to build, the board has ideas with ready build prompts that make good long-running sessions.
How do mobile push notifications work?
While Remote Control is active, Claude can push to your phone. It typically sends one when a long task finishes or when it needs a decision. You can request one in a prompt, for example notify me when the tests finish. To set it up:
- Install the Claude app on iOS or Android and sign in with the same account and organization you use for Claude Code.
- Allow notifications when the operating system asks.
- In your terminal, run
/configand turn on Push when Claude decides for proactive notifications, Push when actions required for permission prompts and questions, or both.
If /config shows No mobile registered, open the Claude app so it can refresh its push token. On iOS, Focus modes can delay pushes. On Android, battery optimization can delay delivery. Claude Code skips pushes while you are typing in or focused on the connected terminal.
How do you auto-connect, stop, and resume?
Remote Control only starts when you ask for it. To connect every interactive session automatically, run /config and set Enable Remote Control for all sessions. You can also set remoteControlAtStartup to true in your user ~/.claude/settings.json. In project or local settings Claude Code honors a false but ignores a true, so a checked-in file cannot turn Remote Control on for everyone who opens the repository.
When you stop server mode with Ctrl+C, its sessions stop responding from your phone. Run one of these in the same directory within about four hours to bring them back:
| Command | Result |
|---|---|
claude remote-control | Brings back every session the server was serving |
claude remote-control --continue | Brings back only the session the server started with, then exits when it ends |
claude remote-control --session-id <id> | Brings back one session; the ID is the part of the session URL between /code/ and any ? |
For a session started with claude --remote-control or /remote-control, resume the conversation with claude --continue or claude --resume. If you resume it in a second terminal while the first still has Remote Control on, the second prints Remote Control not started here and leaves it off; run /remote-control there to move it.
Is Remote Control secure?
The docs describe the model this way. Your local session makes outbound HTTPS requests only and never opens inbound ports on your machine. It registers with the Anthropic API and polls for work. All traffic goes through the Anthropic API over TLS, using several short-lived credentials, each scoped to one purpose. Code execution and filesystem access stay on your machine.
One trade-off to know: while Remote Control is connected, the session transcript, including your messages, Claude’s responses and tool activity, is stored on Anthropic’s servers so the devices stay in sync and the session can reconnect. Stored transcripts are retained under Anthropic’s data usage policy. Organizations with Zero Data Retention or the HIPAA configuration cannot enable Remote Control. To turn it off entirely, use the disableRemoteControl setting.
For stricter control there is Trusted Devices, currently in beta and off by default. When on, viewing or steering a Remote Control session requires an enrolled device and a sign-in no more than 18 hours old, refreshed with Face ID, Touch ID, Windows Hello or a passkey. You can review and remove enrolled devices under claude.ai account settings.
What are the limits of Remote Control?
- One remote session per interactive process. Use server mode to run several from one process.
- The local process must keep running. If you close the terminal or quit the app, the session goes offline until you bring it back. On a remote machine over SSH, start Claude Code inside
tmuxorscreen. - Network outages. In server mode, Claude Code gives up after roughly 10 minutes and the process exits. In an interactive session it retries for as long as the outage lasts and reconnects on its own.
- HTTP 403 refusals. After a VPN or network change, Claude Code retries for up to three minutes before it disconnects.
- Some commands stay local. See the list above.
- Sandbox flags are gone. The
--sandboxand--no-sandboxflags forclaude remote-controlwere removed in v2.1.300; turn on sandboxing in a settings file instead.
How does Remote Control differ from cloud sessions and other options?
Both Remote Control and cloud sessions use the claude.ai/code interface. The difference is where the session runs. The docs compare several ways to work when you are away from the terminal:
| Option | Claude runs on | Best for |
|---|---|---|
| Remote Control | Your machine (CLI, Desktop or VS Code) | Steering in-progress local work from another device |
| Cloud sessions | Cloud infrastructure, Anthropic-managed by default | Starting a task with no local setup, a repo you have not cloned, or several tasks in parallel |
| Dispatch | Your machine (Desktop) | Delegating a task from the mobile app while away |
| Channels | Your machine (CLI) | Reacting to events from a chat app or your own server |
| Slack | Anthropic cloud | Pull requests and reviews from team chat |
| Scheduled tasks | CLI, Desktop or cloud | Recurring automation such as daily reviews |
Use Remote Control when you are in the middle of local work and want to keep going. Use a cloud session when the task should not depend on your laptop being on.
What do the common Remote Control errors mean?
| Message | Usual cause |
|---|---|
| Remote Control requires a claude.ai subscription | You are signed out, or ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN or an apiKeyHelper setting takes precedence over your login. Run claude auth login, choose the claude.ai option, and remove the named credential |
| Remote Control requires a full-scope login token | You authenticated with a long-lived token from claude setup-token or CLAUDE_CODE_OAUTH_TOKEN, which cannot establish sessions. Run claude auth login |
| Remote Control is only available when using Claude via api.anthropic.com | Bedrock, Agent Platform, Foundry, or a custom ANTHROPIC_BASE_URL is routing the session. Unset the variable the message names and restart |
| Remote Control is disabled by your organization’s policy | Causes the docs list: disableRemoteControl in managed settings, a stale Team or Enterprise login on a personal plan, the HIPAA configuration, custom roles missing a permission, or an Owner who has not enabled the toggle (off by default on Team and Enterprise) |
| Workspace not trusted | Run claude remote-control in a terminal so it can ask you to trust the directory |
| Couldn’t reconnect to your Remote Control session | Run /remote-control to reconnect, or resume with the commands above |
| Previous session is unavailable | Run /remote-control to start a new one |
The docs list more messages and their fixes under the Remote Control troubleshooting section.
Frequently asked questions
What is Claude Code Remote Control?
Remote Control lets you continue a Claude Code session that runs on your own computer from claude.ai/code or the Claude mobile app. Claude keeps running locally, with your files, MCP servers and tools. The web and phone screens are a window into that session, so your computer must stay on while you use it.
Does Claude Code Remote Control run in the cloud?
No. A Remote Control session executes on your machine and uses your local filesystem. Cloud sessions are the separate option that runs on cloud infrastructure. Anthropic still relays messages between your devices and your machine, and stores the session transcript while Remote Control is connected.
Which plans support Claude Code Remote Control?
Pro, Max, Ultra, Team and Enterprise plans. API keys are not supported, and it does not work through Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry, or a custom ANTHROPIC_BASE_URL. On Team and Enterprise, an Owner must first enable the Remote Control toggle in admin settings.
How do I start Remote Control?
Run claude remote-control in your project folder for server mode, claude --remote-control for an interactive session, or type /remote-control inside a running session. Then open the session URL in a browser, scan the QR code with your phone, or find the session by name in claude.ai/code or the Claude app.
What happens to Remote Control if my laptop sleeps?
Claude Code reconnects automatically when your machine comes back online. If you close the terminal or stop the claude process, the session goes offline until you bring it back, for example with claude remote-control within about four hours, or claude --continue for an interactive session.
Is Claude Code Remote Control secure?
The local session makes outbound HTTPS requests only and opens no inbound ports. Traffic goes through the Anthropic API over TLS with short-lived credentials. Execution stays on your machine, but the session transcript is stored on Anthropic’s servers while connected. Trusted Devices, in beta, adds device enrollment and recent sign-in checks.
Created with AI assistance and edited for this site. Examples are illustrative and do not represent customer research. About the publisher.