Claude Local Bridge
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Claude Local Bridgeread file src/app.js"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Claude Local Bridge
Access your local repos from Claude on your phone. No more being chained to your PC.
A secure bridge server that lets Claude (web, mobile, desktop) read and write files on your machine through an approval-gated MCP server. Every file access requires your explicit OK — nothing touches disk without you saying so.
┌──────────────────┐ ┌────────────────────────┐
│ Claude Mobile │ tunnel / LAN / VPN │ Claude Local Bridge │
│ Claude Web │ ◄──────────────────────► │ (your PC) │
│ Claude Desktop │ MCP over SSE │ │
└──────────────────┘ └──────────┬─────────────┘
│
┌─────────▼──────────┐
│ Approval Gate │
│ (you approve each │
│ file via dashboard│
│ or phone) │
└─────────┬──────────┘
│
┌─────────▼──────────┐
│ Local Files │
│ (sandboxed to │
│ workspace roots) │
└────────────────────┘Features
MCP Server — 7 tools Claude can call: browse, read, write, request access, list/revoke approvals, view audit log
Approval Gate — every file read/write blocks until you approve via the dashboard
Real-time Dashboard — industrial-themed web UI for managing approvals, browsing files, viewing audit logs
Sandboxed — only directories you whitelist are accessible
Token Auth — bearer token generated at startup for pairing
Audit Trail — every access logged with timestamp, action, path, and outcome
WebSocket — live push notifications for approval requests
Tunnel-ready — works with Tailscale, Cloudflare Tunnel, NetBird, or any reverse proxy
Related MCP server: vulcan-file-ops
Quick Start
# Clone and install
git clone https://github.com/suhteevah/claude-local-bridge.git
cd claude-local-bridge
pip install -r requirements.txt
# Start the bridge (expose your project directories)
python -m app.main --roots ~/projects ~/codeThe server starts and prints:
🔗 Bridge Ready
HTTP API: http://127.0.0.1:9120
MCP (SSE): http://127.0.0.1:9120/mcp/sse
Dashboard: http://127.0.0.1:9120/
Token: a1b2c3d4e5f6...Connect Claude
Claude Desktop / Claude Code
Add to your MCP settings (claude_desktop_config.json or .claude/settings.json):
{
"mcpServers": {
"local-bridge": {
"url": "http://localhost:9120/mcp/sse"
}
}
}Claude Mobile (via tunnel)
Set up a tunnel (see tunnel.md) so your phone can reach the server, then use the tunnel URL as the MCP endpoint.
Quickest option (no account needed):
# In a second terminal
cloudflared tunnel --url http://localhost:9120
# Gives you: https://random-words.trycloudflare.com
# Use: https://random-words.trycloudflare.com/mcp/sseMCP Tools
Tool | Description |
| List the workspace file tree (no approval needed) |
| Request approval to read/write — blocks until you decide |
| Read a file (requires active READ approval) |
| Write to a file (requires active WRITE approval) |
| See all current approvals and their status |
| Revoke an existing approval |
| View the access history |
How it works
Claude calls
browse_filesto see your project structureClaude calls
request_file_accesswith a reason ("I need to read src/main.py to fix the bug")Your dashboard shows the request — you approve or deny
If approved, Claude can now
read_fileorwrite_filewithin the approved scopeEverything is logged in the audit trail
Dashboard
The built-in web dashboard at http://localhost:9120/ lets you:
Approve/deny access requests in real-time (WebSocket-powered)
Browse your workspace file tree
View the full audit log with filtering
Monitor server status and active approvals
Revoke approvals at any time
Mobile-friendly design — manage approvals from your phone while Claude works.
HTTP API
The full REST API is also available for custom integrations:
Method | Path | Auth | Description |
|
| No | Server status and config |
|
| Token | Directory tree listing |
|
| Token | Read file contents |
|
| Token | Write file contents |
|
| Token | Request file access (blocking) |
|
| No | List all approvals |
|
| No | List pending requests |
|
| No | Approve or deny |
|
| No | Revoke approval |
|
| No | Recent audit entries |
|
| No | Audit for specific path |
|
| No | Real-time approval WebSocket |
Tunnel Options
See tunnel.md for detailed setup guides. Summary:
Solution | FOSS | Cost | Best For |
Tailscale | Client: BSD-3 / Headscale = full FOSS | Free | Personal phone access |
Cloudflare Tunnel | Client: Apache 2.0 | Free | Sharing with others, public URL |
NetBird | Full FOSS (BSD-3) | Free self-hosted | Full FOSS purity |
FRP | Apache 2.0 | Free (needs VPS) | Self-hosted everything |
CLI Options
python -m app.main --roots DIR [DIR ...] [OPTIONS]
Options:
--roots Workspace directories to expose (required, multiple allowed)
--host Bind address (default: 127.0.0.1, use 0.0.0.0 for LAN/tunnel)
--port Port number (default: 9120)
--max-file-size-mb Max file size limit in MB (default: 10)Security
Sandboxed roots — only directories you explicitly pass via
--rootsare accessibleExtension blocklist —
.env,.pem,.key,.p12,.pfx,.secretare always blockedPath traversal prevention —
../attacks are caught and rejectedBearer token auth — API endpoints require the token generated at startup
Approval gating — every file read/write needs explicit human approval
Backup on write — automatic
.bakfile created before any overwriteAudit logging — full trail of every access attempt (successful or not)
Project Structure
claude-local-bridge/
├── app/
│ ├── main.py # Entry point, FastAPI + MCP setup
│ ├── mcp/
│ │ └── server.py # MCP tools (browse, read, write, approve...)
│ ├── middleware/
│ │ └── auth.py # Bearer token authentication
│ ├── models/
│ │ └── schemas.py # Pydantic models and enums
│ ├── routers/
│ │ ├── approvals.py # Approval CRUD endpoints
│ │ ├── audit.py # Audit log endpoints
│ │ ├── files.py # File read/write endpoints
│ │ └── ws.py # WebSocket for real-time approvals
│ └── services/
│ ├── approval_service.py # Approval state management
│ ├── audit_service.py # In-memory audit log
│ └── file_service.py # Sandboxed file operations
├── dashboard/
│ ├── index.html # Dashboard shell
│ ├── style.css # Industrial console theme
│ └── bridge.js # API client + WebSocket
├── requirements.txt
├── tunnel.md # Tunnel setup guide
└── README.mdLicense
MIT
Support This Project
If you find this project useful, consider buying me a coffee! Your support helps me keep building and sharing open-source tools.
Every donation, no matter how small, is greatly appreciated and motivates continued development. Thank you!
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/suhteevah/claude-local-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server