Bridge MCP
Visual Desktop Bridge - Give any AI full control over Windows to automate apps and inputs.
ā
4MITai-ml
Install
Config snippet generator goes here (5 client tabs)
README
# š Bridge MCP
### Universal PC Control for Any AI
[](https://fastmcp.cloud)
[](LICENSE)
[](https://python.org)
[](https://www.microsoft.com/windows)
**Give any AI complete control over your Windows PC**
[Features](#-features) ⢠[Quick Start](#-quick-start) ⢠[Configuration](#-configuration) ⢠[Tools](#-available-tools) ⢠[Troubleshooting](#-troubleshooting) ⢠[Contributing](#-contributing)
---
## š How Persistence Works
Bridge MCP v2.0 stores agent registrations in a **persistent JSON file**:
- **Windows:** `%APPDATA%\bridge-mcp\agents.json`
- **Linux/Mac:** `~/.config/bridge-mcp/agents.json`
This means:
- ā
Register once, works forever
- ā
Survives Claude Code session restarts
- ā
Survives computer reboots
- ā
Works across all AI clients
### First-Time Setup
1. **Start the local agent:**
```bash
cd Bridge-MCP
python local_agent.py
```
2. **The agent auto-registers itself** - no manual registration needed!
3. **Verify in any Claude session:**
```
Use list_agents() to see registered agents
```
### Troubleshooting
If you see "No agents connected":
1. **Check if local_agent.py is running** - it must be running in a terminal
2. **Check health:** Use `check_agent_health()` tool
3. **Manual register:** Use `register_agent("local", "http://127.0.0.1:8006", "My PC")`
### Running Local Agent as Background Service
For always-on access, install local_agent as a Windows service:
```bash
python install_service.py install
python install_service.py start
```
To remove:
```bash
python install_service.py stop
python install_service.py remove
```
---
## šÆ What is Bridge MCP?
Bridge MCP is a **Model Context Protocol (MCP)** server that gives **any AI** full control over a Windows PC. Whether you're using Claude, ChatGPT, Cursor, Gemini, or any other MCP-compatible AI, Bridge MCP lets you:
* š„ļø **Control Applications** - Launch, switch, resize, close any app
* š±ļø **Automate Input** - Mouse clicks, keyboard typing, hotkeys, scrolling
* šø **See the Screen** - Screenshots, UI element detection, desktop state
* š **Browse the Web** - Full Chrome automation and control
* ā” **Run Commands** - PowerShell, CMD, file operations
* š **Manage Clipboard** - Copy, paste, clear
> **Think of it as giving your AI eyes and hands to control your computer!**
---
## ⨠Features
| Category | Tools | Description |
| --- | --- | --- |
| š **App Control** | 8 tools | Launch, switch, close, resize, minimize, maximize applications |
| š±ļø **Mouse & Keyboard** | 10 tools | Click, type, hotkeys, scroll, drag, move cursor |
| šø **Screen Capture** | 7 tools | Screenshots, desktop state, find UI elements |
| ā” **System** | 8 tools | PowerShell, CMD, file read/write, system info |
| š **Browser** | 15 tools | Chrome control, tabs, navigation, web scraping |
| š **Clipboard** | 3 tools | Copy, paste, clear clipboard |
| š§ **Utilities** | 5+ tools | Wait, dialogs, action sequences |
**Total: 40+ powerful tools for complete PC automation!**
---
## šļø Architecture
Bridge MCP uses a **Relay Architecture** to work across platforms:
```
āāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāā
ā Any AI ā ā Cloud Relay ā ā Your Windows ā
ā (Claude, etc.) āāāāāāāāāāŗā (bridge_mcp) āāāāāāāāāāŗā PC (Agent) ā
āāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāā
```
* **bridge_mcp.py** - MCP server (runs locally or on FastMCP Cloud)
* **local_agent.py** - HTTP server on your PC that executes commands (port 8006)
---
## š Enterprise-Grade Security
Bridge MCP 2.0 includes:
- **Auth Tokens:** Uses secure Bearer tokens to prevent unauthorized access.
- **Auto-Config:** Tokens are auto-generated and saved to `agents.json`.
## š Next-Gen Browser Automation
Powered by **Playwright**, Bridge MCP can now:
- **Click & Type:** Interact with any website element.
- **Semantic Understanding:** Read page content programmatically.
- **Headless Mode:** Run automations invisible or visible.
## š§ Semantic Computer Vision
Bridge MCP "sees" your apps:
- **UI Tree:** It can read the accessibility tree of Windows apps.
- **Precision:** Knows exactly where buttons are (no more guessing pixels).
## š”ļø Safety Sentinel (Human-in-the-Loop)
Bridge MCP now puts YOU in control:
- **Command Interception:** Dangerous commands (writing files, running shell scripts) are BLOCKED by default.
- **Approval Overlay:** Approval requests appear directly in the AI Activity Overlay with three options:
- ā **APPROVE** - Execute this one command
- ā **DENY** - Block this command
- ā **ALWAYS APPROVE** - Disable Safe