Featured image of post Claude Code Remote Control — Pick Up Your Coding Session From Any Device

Claude Code Remote Control — Pick Up Your Coding Session From Any Device

How to use Claude Code's official Remote Control feature to continue a terminal session from a smartphone, tablet, or another browser — including the architecture and key options.

Overview

You’re deep into a refactoring session with Claude Code at your desk and have to step away. Closing the terminal ends the session. Previously, this required an SSH tunnel or a third-party tool (happy, hapi, etc.). Now Claude Code has an official Remote Control feature. One command — claude remote-control — lets you resume the same session from a smartphone, tablet, or another computer.

How It Works

The key point: the session always runs on your local machine. Code never leaves for the cloud — your filesystem, MCP servers, and project settings remain intact. The local Claude Code process only sends HTTPS outbound requests; no inbound ports are opened. Anthropic’s API handles message routing in the middle.

If the network drops or your laptop sleeps, the session auto-reconnects when the machine comes back online — though a network outage longer than 10 minutes will time out the session.

Usage

Basic: Server Mode

claude remote-control

A session URL and QR code are printed in the terminal. Press Space to toggle the QR code so you can scan it with your phone.

Key Flags

FlagDescription
--name "My Project"Name shown in the claude.ai/code session list
--spawn same-dirConcurrent sessions share the same directory (default)
--spawn worktreeEach session gets its own independent git worktree
--capacity <N>Maximum concurrent sessions (default 32)
--sandboxEnables filesystem/network isolation

Activating From an Existing Session

You can also activate Remote Control from an in-progress interactive session with /remote-control. Or go to /config and turn on “Enable Remote Control for all sessions” to apply it globally.

Three Ways to Connect

  1. URL: Enter the session URL from the terminal directly in a browser
  2. QR code: Press Space to show the QR code, then scan with your phone camera
  3. Session list: Find the session by name in claude.ai/code or the Claude app (green dot = online)

Remote Control vs Claude Code on the Web

Remote ControlClaude Code on the Web
Runs onYour local machineAnthropic cloud
FilesystemYour local filesCloud VM
MCP serversAvailableNot available
Local setup neededYes (project must be cloned)No
Best forContinuing ongoing workStarting something new quickly

Remote Control = “continue in my environment”. Web = “start fresh anywhere”.

Third-Party Alternatives

Community-mentioned third-party projects:

The official Remote Control’s advantage: no separate server setup, TLS security via the Anthropic API by default. The downside, noted in community discussion, is that you have to set up the session in advance — which can feel less flexible than some open-source alternatives.

Limitations

  • Plans: Pro, Max, Team, Enterprise (Team/Enterprise requires an admin to enable Claude Code first)
  • No API key support: Authentication via claude.ai login only
  • Terminal dependency: Closing the claude process ends the session
  • Single remote connection: Outside server mode, only one remote connection per session is allowed
  • Version: Requires Claude Code v2.1.51 or later (check with claude --version)

Insight

The real value of Remote Control isn’t “remote access” — it’s context preservation. A Claude Code session accumulates conversation history, the context of files already read, and active MCP server connections. Being able to switch devices without losing any of that is the point. A comment from the GeekNews discussion — “I can already see the YouTube videos about vibe coding from a café” — captures this feature’s use pattern perfectly. Combined with cmux’s notification system — monitoring multiple agents in cmux, then picking up with Remote Control on mobile when you step away — you have a complete multi-device agentic coding workflow.

Built with Hugo
Theme Stack designed by Jimmy