Running Claude Code Remote Control on a Cloud Server via RAgent

A developer has shared a method for running Claude Code's Remote Control feature from a cloud server instead of a local laptop, addressing the common problem where laptop sleep terminates the session.
How It Works
The approach uses RAgent, an open-source project that runs Claude Code in a Docker container. The developer deployed RAgent to Railway, which offers one-click deployment for Docker projects. After deployment, they accessed the web terminal on Railway to run two commands: claude login followed by claude remote-control. This generated a QR code that could be scanned from the Claude mobile app to establish the remote control session.
Key Benefits
- The session runs on the server, so it remains active regardless of whether the local laptop is on, off, or asleep.
- Access is through the Claude mobile app, which provides a better user experience than using a terminal in a phone browser.
- The setup effectively turns a $5/month VPS into an always-on Claude Code machine that can be controlled from anywhere.
Note that the Remote Control feature requires a Claude Pro or Max subscription plan.
The RAgent repository is available at https://github.com/Chris-bzst/ragent for those who want to try this setup.
📖 Read the full source: r/ClaudeAI
👀 See Also

Hacking Multi-Agent Orchestration into OpenClaw: A Developer's Experience
A developer modified OpenClaw's core runtime to implement true multi-agent orchestration after discovering that agents were faking collaboration. The changes included parent-child agent spawning via sessions_spawn/sessions_yield and parallel execution on separate threads.

UPSC StatsBuddy Bot: Telegram Interface for Indian Government Data via Claude AI
A developer built a Telegram bot called UPSC StatsBuddy that connects to India's MoSPI MCP server, using Claude AI to transform complex government datasets into clear, citeable answers for UPSC aspirants in under 30 hours.

Claude Projects vs Claude Code: Read/Write Gap Frustrates Second Brain Users
A user maintaining a markdown-based 'second brain' details friction between Claude Chat's voice-friendly Projects and Claude Code's file editing capabilities, proposing MCP as a workaround.

Siri Integrated with Claude Code via Telegram Bot for Personal AI Assistant
A developer built a personal AI assistant called Snoopy that connects Siri to Claude Code via a Telegram bot, enabling voice commands with persistent memory and integrations to Mac, Spotify, WhatsApp, iMessage, Calendar, browser, and files.