$ claude-chrome-android v1.2.2

Claude Code Browser Bridge

Give Claude Code eyes and hands in your browser

WebSocket bridge · MCP server · FIFO queue · npm package

# How It Works

┌──────────────────────────────────────────────────────────────┐
                                                              
  Claude Code session 1 ──┐                                  
  Claude Code session 2 ──┤── cli.js --mcp ──┐               
  Claude Code session N ──┘   (stdio)

                                   HTTP POST /tool          


                                   Bridge (WS :18963)       
                                   FIFO tool queue          


                                   Edge Extension           


                                   Browser tabs             
                                                              
└──────────────────────────────────────────────────────────────┘

Multi-Session

N Claude Code sessions share one bridge.
FIFO queue ensures orderly execution.

Localhost Only

Bridge binds to 127.0.0.1.
Optional BRIDGE_TOKEN auth.

Auto-Recovery

Lazy-spawn native host on first connection.
Auto-restart on crash, 15s heartbeat.
CDP reconnect with exponential backoff.

# CLI

~ $ npm install -g claude-chrome-android
~ $ claude-chrome-android --setup
MCP server registered in ~/.claude/settings.json
URL opener created at ~/bin/termux-url-opener
CRX served on :18964 — open Edge to install
~ $ claude-chrome-android
Bridge listening on ws://127.0.0.1:18963
~ $
claude-chrome-android — Start the bridge server
claude-chrome-android --mcp — MCP relay mode (spawned by Claude Code automatically)
claude-chrome-android --setup — Register MCP server + install extension
claude-chrome-android --stop — Stop a running bridge
claude-chrome-android --version — Show version

# Environment

Variable Default Description
BRIDGE_PORT 18963 WebSocket / HTTP server port
BRIDGE_URL http://127.0.0.1:18963 Bridge URL for MCP relay
BRIDGE_TOKEN (empty) Optional shared secret for auth
BRIDGE_LOG_LEVEL info debug | info | warn | error
CDP_PORT 9223 ADB forward port for Chrome DevTools Protocol

# MCP Tools

The npm package is claude-chrome-android (the CLI command). It registers with Claude Code under the MCP namespace cfc-bridge, so tools appear as mcp__cfc-bridge__* in the tool list. The bridge must be running before starting a Claude Code session. See the extension page for browser-side details.

P0
read_page

Read accessibility tree + full page text

P0
navigate

Navigate a tab to a URL

P0
javascript_tool

Execute JS via CDP or content script fallback

P1
computer

Click, type, scroll via content script events

P1
find

Find elements by text, role, or aria-label

P1
form_input

Fill form fields with React/Vue compatible dispatch

P1
tabs_context_mcp

List open tabs with URLs and titles

P1
tabs_create_mcp

Open a new tab

P1
get_page_text

Get full page text content

P1
switch_browser

Switch between Chrome, Edge, and Edge Canary

P2
read_console_messages

Read intercepted console.log output

P2
read_network_requests

Monitor network requests via CDP

P2
gif_creator

Record multi-step interactions as GIF (60s max)

P2
upload_image

Upload an image file to a page

P2
resize_window

Resize browser viewport via CDP

P2
shortcuts_list

List available keyboard shortcuts on the page

P2
shortcuts_execute

Execute a keyboard shortcut

P2
update_plan

Update plan display in the browser

# Quick Start

1

Install the package

$ npm install -g claude-chrome-android
2

Run setup

$ claude-chrome-android --setup

Registers MCP server with Claude Code and prepares extension install.

3

Install the extension in Edge

Setup serves the CRX on port 18964 and opens Edge. Tap "Add extension" when prompted.

4

Start the bridge, then start Claude Code

$ claude-chrome-android
# In another terminal:
$ claude

Bridge must be running before starting Claude Code — MCP tools are loaded at session startup.

# Requirements

Android device Termux Chrome or Edge Node.js 18+ ADB Bun

required   optional