Bridge MCP Server
Visual Desktop Bridge - Give any AI full control over Windows to automate apps and inputs.
Bridge MCP scores 54 (Fair), licensed MIT and written in Python. It installs as a local process. It declares 30 tools. Filed under Uncategorized. GitHub shows 6 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
54 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
70/100 for listing completeness. Lost points: 30 of 30 tools barely described, short summary, no docs link.
How quality is graded
Where the 54 comes from
22 + 5 + 3 + 10 + 4 + 10 = 54. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "barhamagha1-bridge-mcp": { "command": "uvx", "args": [ "bridge-mcp" ] } }}
Environment variables
This server does not declare environment variables.
Tools30Tool docs quality grade D
All capabilitiesapp_closetoolClose an application
app_launchtoolLaunch an application
app_listtoolList all open apps
app_switchtoolSwitch to open app
Step-by-step task automation
browser_clicktoolClick element (CSS)
browser_contenttoolGet page text
browser_navigatetoolGo to URL
browser_presstoolPress key
Browser screenshot
browser_typetoolType in element
chrome_navigatetoolGo to URL
About
š Bridge MCP
Universal PC Control for Any AI
Give any AI complete control over your Windows PC
Features ⢠Quick Start ⢠Configuration ⢠Tools ⢠Troubleshooting ⢠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
- Start the local agent:
cd Bridge-MCP
python local_agent.py
-
The agent auto-registers itself - no manual registration needed!
-
Verify in any Claude session:
Use list_agents() to see registered agents
Troubleshooting
If you see "No agents connected":
- Check if local_agent.py is running - it must be running in a terminal
- Check health: Use
check_agent_health()tool - 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:
python install_service.py install
python install_service.py start
To remove:
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 Mode and approve all future commands
- Dashboard Control: View all pending requests at
http://localhost:8006 - Safe Mode Toggle: Switch Safe Mode on/off anytime from the web dashboard
- Peace of Mind: You can leave the agent running without fear of it deleting your files.
šļø Terminator Vision (Live Observability)
See what the AI sees, in real-time:
- Live Stream: The dashboard features a low-latency 1080p MJPEG stream of your desktop.
- Semantic Overlay: Green bounding boxes highlight every button, link, and window the AI detects.
- Debug Instantly: Visual confirmation that the AI has found the correct "Submit" button.
š Full MCP Specification Support
Bridge MCP now implements the complete Model Context Protocol specification:
Resources API
Expose desktop data as addressable resources:
desktop://screenshot/latest- Current screenshotdesktop://windows- Open windows listdesktop://logs- Agent command logsfile:///{path}- Read any desktop filedesktop://session/context- Recent session history
Prompts API
Pre-built workflow templates for one-click automation:
automate_desktop_task- Step-by-step task automationdebug_error- Interactive error debuggingweb_automation- Playwright web workflows
Session Memory
Never lose context:
- Stores last 100 commands across restarts
- Provides AI with recent session history
- Enables "continue where I left off" workflows
š Quick Start
Step 1: Clone the Repository
git clone https://github.com/BarhamAgha1/Bridge-MCP.git
cd Bridge-MCP
Step 2: Install Dependencies
pip install -r requirements-local.txt
Note: Playwright browsers (~100MB) auto-install on first use - no manual setup needed!
Step 3: Start the Local Agent
python local_agent.py
Keep this terminal open! The agent will display:
Bridge MCP Local Agent running on http://127.0.0.1:8006
Step 4: Configure Your AI Client
See Configuration below for Claude Desktop, Cursor, or VS Code setup.
Step 5: Register Your Agent
In your AI conversation, register the local agent:
Use register_agent with:
- agent_id: "my-pc"
- callback_url: "http://127.0.0.1:8006"
- agent_name: "My Windows PC"
Step 6: Start Controlling!
Now use any tool like screenshot(), click(100, 200), type_text("Hello"), app_launch("notepad"), etc.
š§ Configuration
Claude Desktop
-
Open the config file at
%APPDATA%\Claude\claude_desktop_config.json -
Add Bridge MCP:
{
"mcpServers": {
"bridge-mcp": {
"command": "python",
"args": ["C:\\Users\\YourName\\Path\\To\\Bridge-MCP\\bridge_mcp.py"]
}
}
}
ā ļø Important: Replace the path with the actual location where you cloned the repository!
Example paths:
C:\\Users\\PC\\Desktop\\Bridge-MCP\\bridge_mcp.pyD:\\Projects\\Bridge-MCP\\bridge_mcp.py
- Restart Claude Desktop completely (close and reopen)
Cursor
Add to your MCP settings in Cursor preferences with the same configuration format.
VS Code + Claude Code
Create .vscode/mcp.json in your project:
{
"mcpServers": {
"bridge-mcp": {
"command": "python",
"args": ["C:\\Users\\YourName\\Path\\To\\Bridge-MCP\\bridge_mcp.py"]
}
}
}
Remote Access (Optional)
To control your PC from anywhere, expose the local agent with ngrok:
ngrok http 8006
Then use the ngrok URL (e.g., https://xxxx.ngrok.io) as your callback_url when registering.
š ļø Available Tools
| Tool | Description | Example |
|---|---|---|
app_launch | Launch an application | app_launch("notepad") |
app_switch | Switch to open app | app_switch("Chrome") |
app_close | Close an application | app_close("notepad") |
app_list | List all open apps | app_list() |
| Tool | Description | Example |
|---|---|---|
click | Click at coordinates | click(500, 300) |
double_click | Double-click | double_click(500, 300) |
right_click | Right-click | right_click(500, 300) |
type_text | Type text | type_text("Hello World!") |
press_key | Press a key | press_key("enter") |
hotkey | Keyboard shortcut | hotkey("ctrl,c") |
scroll | Scroll | scroll("down", 3) |
drag | Drag and drop | drag(100, 100, 500, 500) |
move_mouse | Move cursor | move_mouse(500, 300) |
| Tool | Description | Example |
|---|---|---|
screenshot | Take screenshot | screenshot() |
get_desktop_state | Get full desktop state | get_desktop_state() |
get_screen_size | Get screen dimensions | get_screen_size() |
get_mouse_position | Get cursor position | get_mouse_position() |
| Tool | Description | Example |
|---|---|---|
run_powershell | Run PowerShell | run_powershell("Get-Process") |
run_cmd | Run CMD command | run_cmd("dir") |
file_read | Read file | file_read("C:/test.txt") |
file_write | Write file | file_write("C:/test.txt", "Hello") |
file_list | List directory | file_list("C:/Users") |
| Tool | Description | Example |
|---|---|---|
chrome_open | Open Chrome | chrome_open("https://google.com") |
chrome_navigate | Go to URL | chrome_navigate("https://example.com") |
| Tool | Description | Example |
|---|---|---|
browser_navigate | Go to URL | browser_navigate("google.com") |
browser_click | Click element (CSS) | browser_click("#submit-btn") |
browser_type | Type in element | browser_type("#search", "hello") |
browser_press | Press key | browser_press("Enter") |
browser_content | Get page text | browser_content() |
browser_screenshot | Browser screenshot | browser_screenshot() |
| Tool | Description | Example |
|---|---|---|
clipboard_copy | Copy to clipboard | clipboard_copy("Hello") |
clipboard_paste | Get clipboard | clipboard_paste() |
š” Usage Examples
Example 1: Open Notepad and Write Text
User: Open notepad and write "Hello from AI!"
AI uses:
1. app_launch("notepad")
2. wait(1)
3. type_text("Hello from AI!")
Example 2: Take a Screenshot
User: What's on my screen right now?
AI uses:
1. screenshot()
2. [AI analyzes the image and describes what it sees]
Example 3: Search on Google
User: Search for "Bridge MCP" on Google
AI uses:
1. chrome_open("https://google.com")
2. type_text("Bridge MCP")
3. press_key("enter")
š§ Troubleshooting
Claude Desktop shows "Server disconnected"
-
Check the path - Make sure the path in your config points to the actual
bridge_mcp.pyfile. The path must be absolute and use double backslashes (\\) in JSON. -
Test manually - Open Command Prompt and run:
cd "C:\path\to\Bridge-MCP"
python bridge_mcp.py
It should stay running (not exit immediately). Press Ctrl+C to stop.
- Install dependencies:
pip install fastmcp httpx
- Restart Claude Desktop - Fully close and reopen after any config changes.
Local agent not receiving commands
- Make sure
local_agent.pyis running in a terminal (keep it open!) - Verify the callback URL is correct when registering the agent
- For local use:
http://127.0.0.1:8006 - For remote access: Use ngrok (
ngrok http 8006) and use the ngrok URL
"No agents connected" error
You need to register your local agent first:
register_agent("my-pc", "http://127.0.0.1:8006", "My PC")
Unicode/Emoji errors on Windows
If local_agent.py crashes with Unicode errors, the terminal may not support emojis. This has been fixed in the latest version.
āļø FastMCP Cloud Deployment
Bridge MCP can be deployed on FastMCP Cloud for easy access:
- Fork this repository
- Go to fastmcp.cloud
- Sign in with GitHub
- Create project from your forked repo
- Set entrypoint:
bridge_mcp.py - Deploy!
Your MCP will be available at: https://your-project.fastmcp.app/mcp
š¤ Contributing
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Ideas for Contributions
- Add more browser support (Firefox, Edge)
- Add Linux support
- Add macOS support
- Add more automation tools
- Improve UI element detection
- Add OCR capabilities
š License
This project is licensed under the MIT License - see the LICENSE file for details.
š Acknowledgments
š¤ Author
Barham Agha
- GitHub: @BarhamAgha1
ā If you find this project useful, please give it a star! ā
Made with ā¤ļø for the AI community
Frequently asked questions
What is Bridge MCP Server?
Visual Desktop Bridge - Give any AI full control over Windows to automate apps and inputs.
How do I install Bridge MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Bridge MCP Server runs locally from the PyPI package bridge-mcp with the command uvx bridge-mcp.
Is Bridge MCP Server free and open source?
Yes. Bridge MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Bridge MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Bridge MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Bridge MCP Server provide?
Bridge MCP Server provides 30 tools, including app_close, app_launch, app_list, and app_switch. See the full tool list for descriptions and parameters.
How is Bridge MCP Server's trust score calculated?
Bridge MCP Server scores 54 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetāBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.