A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Extend Claude Code to remote machines, containers, and servers via WebSocket. Read, write, and manage files anywhere.
Extend Claude Code's reach to remote machines, containers, and servers.
Control files and execute tasks on any connected environment—all from your local Claude Code session.
You're running Claude Code locally, but your project lives on:
Without Bridge, you'd need separate Claude Code sessions, copy files back and forth, or SSH in manually.
Claude Code Bridge connects your local Claude Code to remote environments via WebSocket. Your local Claude gains the ability to read, write, list, and delete files on any connected machine—as if they were local.
LOCAL MACHINE REMOTE MACHINE
┌──────────────────────┐ ┌──────────────────────┐
│ │ │ │
│ Claude Code │ ws:// or │ Bridge Client │
│ + │ wss:// │ --with-handlers │
│ Bridge Host ────────────────────► │
│ (port 8766) │ (TLS) │ Executes commands │
│ │ │ on your files │
└──────────────────────┘ └──────────────────────┘
npm install -g @willjackson/claude-code-bridge
claude mcp add bridge -- npx @willjackson/claude-code-bridge mcp-server
On your local machine:
claude-bridge start --launch-claude
Need to skip permissions? Add flags after --:
claude-bridge start --launch-claude -- --dangerously-skip-permissions
On the remote machine (server, container, VM):
claude-bridge start --with-handlers --connect ws://HOST_IP:8765
Replace HOST_IP with your local machine's IP address.
That's it! Claude Code now has access to files on the remote machine.
For production or untrusted networks, enable TLS encryption and authentication.
# Self-signed certificate (for testing)
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes -subj "/CN=localhost"
Local machine (host):
claude-bridge start --cert cert.pem --key key.pem --auth-token mysecret123
Remote machine (client):
claude-bridge start --with-handlers --connect wss://HOST_IP:8765 --ca cert.pem --auth-token mysecret123
| Option | Description |
|---|---|
--auth-token <token> | Require a shared secret token |
--auth-password <pw> | Require password authentication |
--auth-ip <cidr> | Allow only specific IPs (e.g., 192.168.0.0/16) |
--auth-require-all | Require ALL auth methods to pass (default: any) |
Combine methods for defense in depth:
claude-bridge start --auth-token secret --auth-ip 10.0.0.0/8 --auth-require-all
Once connected, Claude Code gains these MCP tools:
| Tool | Description |
|---|---|
bridge_read_file | Read any file on the remote |
bridge_write_file | Create or modify files |
bridge_delete_file | Remove files |
bridge_list_directory | Browse directories |
bridge_status | Check connection status |
The remote client shows all incoming commands in real-time:
┌─────────────────────────────────────────────────────
│ 📥 INCOMING TASK: Read config file
│ Action: read_file
│ Path: src/config.json
└─────────────────────────────────────────────────────
✅ RESULT: Read 2048 chars from src/config.json
# Host mode (local machine)
claude-bridge start [--port 8765] [--launch-claude] [-- claude-args]
# Client mode (remote machine)
claude-bridge start --with-handlers --connect ws://HOST:PORT
# Secure connections
claude-bridge start --cert cert.pem --key key.pem --auth-token secret
claude-bridge start --with-handlers --connect wss://HOST:PORT --ca cert.pem --auth-token secret
# Utilities
claude-bridge status # Check if bridge is running
claude-bridge stop # Stop the bridge daemon
claude-bridge info # Show system info
| Option | Description |
|---|---|
--cert <path> | TLS certificate file |
--key <path> | TLS private key file |
--ca <path> | CA certificate (for verifying self-signed certs) |
Create ~/.claude-bridge/config.yml for persistent settings:
instanceName: my-bridge
listen:
port: 8765
host: 0.0.0.0
tls:
cert: /path/to/cert.pem
key: /path/to/key.pem
auth:
type: token # none, token, password, ip, or combined
token: ${BRIDGE_AUTH_TOKEN} # use environment variable
interaction:
taskTimeout: 300000
For client connections:
connect:
url: wss://remote-host:8765
tls:
ca: /path/to/ca.pem
auth:
type: token
token: ${BRIDGE_AUTH_TOKEN}
Can't connect?
claude-bridge statusping HOST_IPTLS connection failing?
wss:// (not ws://) when connecting to TLS host--ca cert.pemAuthentication failing?
-v flag for detailed auth error messagesCommands not executing?
--with-handlersNeed more detail?
claude-bridge start -vMIT
A Claude Code skill by Hao (駱君昊) that learns your Facebook voice and auto-posts to FB / IG / Threads / X with a 14-day c
1000+ skills curated from Anthropic, Vercel, Stripe, and other engineering teams
Claude Code skill for YouTube creators — channel audits, video SEO, retention scripts, thumbnails, content strategy, Sho
AI image generation skill for Claude Code -- Creative Director powered by Gemini