What is Remote Control?
Remote Control is a new Claude Code feature (rolling out now as a research preview) that lets you continue a local terminal session from your phone, tablet, or any browser. Start a coding task at your desk, then pick it up from the couch on your phone — while everything still runs on your machine.
The key distinction: this is not cloud execution. Your Claude Code session stays local. The web or mobile interface is just a window into that session. Your filesystem, MCP servers, tools, and project configuration all remain available exactly as they are on your machine.
Think of it as screen-sharing your Claude Code session to any device, but with full interactive control.
Why This Matters
Developers don't always sit at their desk. You kick off a long task, then need to grab lunch. You're debugging on your laptop but want to check progress from another room. Or you just want to review what Claude did while you were away.
Before Remote Control, your options were:
- ✘ Stay at your desk and watch the terminal
- ✘ SSH into your machine from your phone (painful)
- ✘ Use a third-party tool like tmux + remote access
- ✘ Just hope the task finishes correctly
Now:
- ✔ Start a session locally, continue it from your phone
- ✔ Send messages from terminal, browser, and phone interchangeably
- ✔ Session reconnects automatically if your laptop sleeps
- ✔ Full access to your local environment from anywhere
Getting Started
Requirements
Before using Remote Control, you need:
- A Pro or Max plan — API keys are not supported
- Signed in via
/login— authenticate through claude.ai - Workspace trust accepted — run
claudein your project directory at least once
Starting a New Remote Session
Navigate to your project and run:
bash
This starts a session and displays a session URL and a QR code. The terminal stays open, waiting for remote connections.
javascriptTerminal
Available flags:
| Flag | Description |
|---|---|
--verbose | Show detailed connection and session logs |
--sandbox | Enable filesystem and network isolation |
--no-sandbox | Disable sandboxing (default) |
From an Existing Session
Already deep in a Claude Code conversation? No need to start over:
bash
Or use the shorthand:
bash
This carries over your entire conversation history and displays the session URL and QR code. Pro tip: use /rename first to give your session a descriptive name so it's easier to find on your phone.
Connecting From Another Device
Once Remote Control is active, you have three ways to connect:
1. Direct URL
Copy the session URL from your terminal and open it in any browser. It takes you straight to the session on claude.ai/code.
2. QR Code
Press spacebar in the terminal to show a QR code. Scan it with your phone to open the session directly in the Claude app.
3. Session List
Open claude.ai/code or the Claude mobile app and find your session by name. Remote Control sessions show a computer icon with a green dot when online.
Preview
How It Works Under the Hood
Remote Control uses a clever architecture that keeps everything local while enabling remote access:
Preview
Key security details:
- Outbound only — your machine never opens inbound ports. It polls the Anthropic API for work.
- TLS encrypted — same transport security as any Claude Code session.
- Short-lived credentials — multiple tokens, each scoped to a single purpose and expiring independently.
- No cloud execution — code runs on your machine, never on Anthropic's servers.
Remote Control vs Claude Code on the Web
Both use the same claude.ai/code interface, but they're fundamentally different under the hood:
| Feature | Remote Control | Claude Code on the Web |
|---|---|---|
| Where it runs | Your local machine | Anthropic cloud infrastructure |
| Local files | ✔ Full access | ✘ Only cloned repos |
| MCP servers | ✔ Your local servers | ✘ Not available |
| Project config | ✔ CLAUDE.md, hooks, etc. | ✔ Limited |
| Setup required | ✔ Terminal must be open | ✘ No local setup |
| Parallel tasks | ✘ One session at a time | ✔ Multiple tasks |
| Offline repo work | ✔ Works with local-only repos | ✘ Needs git remote |
| Plan | Pro or Max | Pro or Max |
When to Use Each
Use Remote Control when:
- You're in the middle of local work and want to monitor or continue from another device
- You need access to local MCP servers, environment variables, or custom tools
- You're working with a repo that isn't pushed to GitHub yet
- You want the exact same environment as your terminal session
Use Claude Code on the Web when:
- You want to start a task without any local setup
- You're working on a repo you don't have cloned locally
- You want to run multiple tasks in parallel
- Your local machine is off or unavailable
Enabling Remote Control for All Sessions
By default, you have to explicitly start Remote Control each time. If you want it always available:
- Run
/configinside Claude Code - Set Enable Remote Control for all sessions to
true
Now every Claude Code session will automatically be available for remote connections. Each instance gets its own session — if you run multiple Claude Code instances, they each have their own Remote Control endpoint.
Practical Workflow Examples
The "Long Task" Pattern
You start a big refactor at your desk:
bash
Claude starts working — reading files, planning changes, editing code. But you need to leave for a meeting.
bash
Scan the QR code, put your phone in your pocket, and go. Check progress from your phone during the meeting. Send follow-up messages if needed. When you're back at your desk, the terminal still has the full session.
The "Review From Bed" Pattern
You kicked off a task before leaving work:
bash
Then from your phone on the couch, you open the Claude app, find the session, and review everything Claude did. Ask it to adjust a few things. Approve the commit. Ship it.
The "Multi-Device Collaboration" Pattern
The conversation stays in sync across all connected devices. You can send a message from your terminal, then follow up from your phone, then switch to a tablet — all in the same session. No context is lost.
Limitations to Know
Before relying on Remote Control, be aware of these constraints:
- ✘ One remote session per Claude Code instance — you can't connect multiple remote sessions to the same process
- ✘ Terminal must stay open — if you close the terminal or stop the process, the session ends
- ✘ ~10 minute timeout — if your machine is awake but can't reach the network for roughly 10 minutes, the session times out
- ✘ Not available on Team or Enterprise plans — currently Pro and Max only (research preview)
- ✘ API keys not supported — must authenticate via
/loginwith a Claude subscription
If your session drops, just run claude remote-control again to start a new one.
Tips and Best Practices
- ✔ Name your sessions with
/renamebefore going remote — makes them much easier to find on your phone - ✔ Use
--verbosewhen debugging connection issues - ✔ Enable for all sessions via
/configif you use Remote Control regularly - ✔ Download the Claude mobile app — use
/mobileto get a QR code for the app download - ✔ Accept workspace trust first — run
claudein your project directory at least once before trying Remote Control - ✔ Keep your laptop plugged in — if your machine sleeps, the session pauses (but reconnects when it wakes up)
Conclusion
Remote Control is one of those features that seems simple but changes how you work. The ability to start a task at your desk and continue it from your phone — while everything runs locally with full access to your environment — removes a real friction point from AI-assisted development.
It's especially powerful combined with Claude Code's agentic capabilities. Kick off a complex refactor, walk away, check progress from your phone, give feedback, and come back to finished work. No SSH tunneling, no third-party tools, no cloud VMs.
Pro Tip: Set up Remote Control for all sessions via /config, and always /rename your sessions before going mobile. Future you will thank present you when scrolling through the session list on your phone.
Happy coding — from your desk, your couch, or wherever you are!






