Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Claude RemoteNew to Visual Studio Code? Get it now.
Claude Remote

Claude Remote

ToanNguyen

| (0) | Free
Access your Claude Code session remotely via browser with Cloudflare Access security
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude Remote

Access your Claude Code session from any device via a secure browser terminal — protected by Cloudflare Access (Google login).

Features

  • Lightweight — just a terminal UI, no full VS Code
  • Per-project toggle — enable/disable independently for each workspace
  • Session resume — automatically continues your latest Claude Code session
  • Secure — Cloudflare Access restricts access to your Google account only
  • Cross-platform — Windows, macOS, Linux

How it works

Browser → Cloudflare Access (Google login) → Cloudflare Tunnel → Local server → claude CLI

Requirements

  • Claude Code CLI installed and authenticated
  • cloudflared installed
  • Cloudflare account (free) with Zero Trust configured

Setup (one-time)

1. Install cloudflared

# macOS
brew install cloudflared

# Windows (via winget)
winget install Cloudflare.cloudflared

# Linux
curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -o /usr/local/bin/cloudflared
chmod +x /usr/local/bin/cloudflared

2. Create Cloudflare account & tunnel

# Login (opens browser)
cloudflared login

# Create a named tunnel
cloudflared tunnel create claude-remote

# Route a subdomain (replace with your domain or Cloudflare Pages domain)
cloudflared tunnel route dns claude-remote claude-remote.yourdomain.com

3. Configure Cloudflare Access

  1. Go to Cloudflare Zero Trust dashboard
  2. Access → Applications → Add an application → Self-hosted
  3. Set the subdomain: claude-remote.yourdomain.com
  4. Policy: Allow → Email → your@gmail.com
  5. Save

4. Configure the extension

In VS Code settings (Ctrl+,), search Claude Remote:

Setting Value
claudeRemote.tunnelName claude-remote
claudeRemote.port 3131 (or any free port)
claudeRemote.autoResume true

Usage

  1. Open a project in VS Code
  2. Click ○ Claude Remote: OFF in the status bar (bottom right)
  3. Tunnel starts → URL appears in notification
  4. Open URL on any device → Google login → Claude terminal

Important: Don't use VS Code Claude Code chat and the remote terminal simultaneously on the same session — they share the same session file.

Commands

Command Description
Claude Remote: Start Start remote session for current project
Claude Remote: Stop Stop remote session
Claude Remote: Copy URL Copy tunnel URL to clipboard
Claude Remote: Setup Cloudflare Tunnel Open setup guide

Security

Access is controlled by Cloudflare Access — only the Google account(s) you whitelist can reach the terminal. The server binds to 127.0.0.1 only and is never directly exposed to the internet.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft