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

Non-coder builds live MLB dashboard using Claude AI and Claude Code on GitHub Codespaces
A user with no coding experience used Claude chat and Claude Code on GitHub Codespaces to build a live MLB dashboard with injury reports, game scores, and team stats, deploying it to Vercel.

Mac Studio local LLM loadout: GLM 5.1, Kimi K2.6, and what's working for coding with Claude Code
A developer shares their May 2026 Mac Studio (M3 Ultra) setup with quantized GLM 5.1 (380GB, 17 tps decode), Kimi K2.6 (460GB, 21 tps decode), and notes on Minimax 2.7, Gemma 4 31B, Qwen 3.5 9B, and pending Deepseek/Mimo support.

The Left-Wing Case for AI: Disability, Chronic Illness, and Class
Sean Goedecke argues that LLMs serve left-wing values by aiding disabled people, helping chronic illness patients navigate medical gatekeeping, and enabling class code-switching to bureaucratic language.

Claude Opus 4.6 Reverse Engineers Game Authentication in 7 Minutes Using Ghidra MCP
A developer used Claude Opus 4.6 with Ghidra's MCP server plugin to reverse engineer the authentication verification method for Command & Conquer: Kane's Wrath. The AI analyzed a clean binary, identified the verification function, created a patch, and renamed all functions and data structures in about 7 minutes.