Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Pocket ClaudeNew to Visual Studio Code? Get it now.
Pocket Claude

Pocket Claude

Indian Coder Club

|
6 installs
| (0) | Free
Receive prompts from your phone, run them through Claude, execute in VS Code terminal
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PocketClaude

Control Claude Code from your phone. Send prompts, chat with projects, execute terminal commands — all from a mobile-friendly web UI tunneled through ngrok.

Features

  • Mobile-first web UI — responsive design for phone, tablet, and laptop
  • Project-based chat — create projects with isolated conversation history
  • Claude CLI integration — uses your existing Claude Code auth, no API key needed
  • Terminal execution — run commands in VS Code terminal from your phone
  • ngrok tunneling — built-in ngrok setup to access from anywhere
  • Setup wizard — checks Claude CLI, ngrok, and workspace folder on first launch

Quick Start

  1. Install the extension
  2. Open Command Palette → PocketClaude: Start Server
  3. Choose your workspace folder when prompted
  4. Open the web UI at http://localhost:7532 (or your ngrok URL)
  5. Login with the admin token shown in VS Code

Commands

Command Description
PocketClaude: Start Server Start the HTTP server with setup wizard
PocketClaude: Stop Server Stop server and ngrok tunnel
PocketClaude: Setup ngrok Configure and start ngrok tunnel
PocketClaude: Change Working Folder Change Claude's working directory
PocketClaude: Show Connection Info Show server URL, token, and ngrok status

Settings

Setting Default Description
pocketclaude.port 7532 HTTP server port
pocketclaude.authToken "" Admin bearer token (auto-generated if empty)
pocketclaude.autoExecute false Auto-execute terminal commands from Claude
pocketclaude.ngrokAuthToken "" ngrok auth token for automatic tunnel setup
pocketclaude.ngrokAutoStart false Auto-start ngrok when server starts

API Endpoints

All endpoints (except /status and /setup) require Authorization: Bearer <token> header.

Method Endpoint Description
GET / Web UI
GET /status Health check
GET /setup System status (Claude, ngrok, workspace)
POST /prompt Send a prompt to Claude
POST /execute Run a command in VS Code terminal
GET /projects List projects
POST /projects Create a project
DELETE /projects/:key Delete a project
GET /history Prompt history
GET /ngrok ngrok tunnel status
POST /ngrok/start Start ngrok tunnel
POST /ngrok/stop Stop ngrok tunnel
GET /folder Current workspace folder
POST /folder Change workspace folder

Prerequisites

  • Claude Code CLI installed and logged in
  • ngrok (optional, for remote access from phone)

How It Works

  1. The extension starts an Express HTTP server inside VS Code
  2. Prompts are sent to the claude --print CLI subprocess
  3. Responses are parsed for code blocks and terminal commands
  4. The web UI provides a mobile-friendly chat interface
  5. ngrok exposes the local server for phone access

License

MIT

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