WinBridgeAgent

io.github.codyard由 GitHub 账号 codyard 发布v0.5.0更新于 Oct 24, 2026

Open-source Windows MCP server for AI assistants. File, clipboard, screenshot, process & power mgmt.

已验证STDIO仅桌面文件与存储开发者工具

概览

AI 生成的概览

仅限 Windows 的本地 MCP 服务器,让 AI 助手读取和管理电脑上的文件、剪贴板、截图、窗口、进程与电源状态。

可以做什么
读取和搜索文件,列出磁盘与目录,并在 Windows 机器上删除、复制、移动文件或创建目录。读取和写入剪贴板内容,截取全屏、窗口或区域截图。列出打开的窗口和运行中的进程,终止进程、调整优先级,并执行系统命令并捕获输出。关机、重启、休眠或睡眠电脑,以及取消已计划的关机。查看服务器健康与状态,并记录所有操作以便审计。
适用场景
当助手运行在 Windows 电脑上或需要访问该电脑时适用,例如查看文件、截图、管理进程与窗口或控制电源状态,也可从同一局域网内的其他机器使用。
运行要求
Windows 10/11(x64、x86 或 ARM64),无需额外运行时依赖。以托盘程序运行,默认监听 35182 端口,MCP 客户端通过 HTTP(Streamable HTTP)连接。监听地址默认 0.0.0.0 供局域网访问,仅本机使用可改为 127.0.0.1。可能需要添加防火墙例外。
安装前请注意
开源版没有 Bearer Token 认证,所有 HTTP 端点均可直接访问,因此任何能连到该端口的人都能读取文件、执行命令并控制这台电脑;请限制在 127.0.0.1 或可信网络。它可以删除文件、终止进程、执行任意系统命令以及关机或重启电脑。所有操作都会被记录。

安装

在 SourceWeft 中

  1. 打开 控制台中的 WinBridgeAgent,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

WinBridgeAgent

[License: GPL v3] [Platform: Windows] [C++17] [MCP Protocol] [GitHub Release] [GitHub Stars] [MCP Registry]

中文文档

WinBridgeAgent is an open-source Windows local capability service that implements the Model Context Protocol (MCP) standard, providing traceable Windows system operations for AI assistants such as Claude Desktop, OpenAI, etc.

WinBridgeAgent Pro (Free Download)

In addition to the open-source edition, WinBridgeAgent Pro is now available as a free download.

The Pro edition is designed for users who need a more complete Windows Agent/Node experience, with ongoing improvements toward a more production-ready Windows node (closer to the OpenClaw Node experience).

Key enhancement areas (ongoing) include:

  • Stronger media capabilities: camera photo/video capture and screen recording
  • Deeper system integration: notifications, location, audio, and related OS features
  • More powerful automation: expanded shell command execution with permission/safety controls
  • Better production readiness: timeout handling, resource cleanup, error handling, and stability work

See details and download here:

Architecture

+------------------------------------------------------+|                Local Area Network (LAN)              ||                                                      ||   +--------------------+                             ||   |   MCP Client       |                             ||   | (OpenClaw / Agent) |                             ||   |  - LLM reasoning   |                             ||   |  - Tool planning   |                             ||   +---------+----------+                             ||             | MCP Protocol (HTTP/SSE)                ||             |                                        ||   +---------v------------------------------------+   ||   |           Windows PC                          |   ||   |                                              |   ||   |   +--------------------------------------+   |   ||   |   |  WinBridgeAgent                      |   |   ||   |   |  (Local Tray MCP Server)             |   |   ||   |   |                                      |   |   ||   |   |  - MCP Server (localhost / LAN)      |   |   ||   |   |  - Policy & Permission Guard         |   |   ||   |   |  - Tool Execution Layer              |   |   ||   |   |  - Audit & Logging                   |   |   ||   |   +-----------+--------------------------+   |   ||   |               |                              |   ||   |      +--------v--------+                     |   ||   |      | Windows System  |                     |   ||   |      | APIs / Resources|                     |   ||   |      | (FS / Screen /  |                     |   ||   |      |  Clipboard /    |                     |   ||   |      |  Process etc.)  |                     |   ||   |      +-----------------+                     |   ||   |                                              |   ||   +----------------------------------------------+   ||                                                      |+------------------------------------------------------+
Optional External Dependencies:- GitHub Releases (Auto Update)- Optional Remote Services (APIs, Cloud tools)

Features

Core

  • MCP Protocol: Full Model Context Protocol implementation
  • UTF-8 Compatibility: MCP tool outputs are UTF-8 encoded, including non-ASCII Windows paths
  • HTTP API: HTTP interface for remote control
  • Real-time Monitoring: Dashboard window with live request/response display
  • Audit Logging: Complete operation logging
  • System Tray: Convenient graphical management interface
  • Flexible Configuration: Switch between 0.0.0.0 and 127.0.0.1 listen address
  • Auto Update: Automatic GitHub release checking with one-click download

File & System Operations

  • File Reading: Disk enumeration, directory listing, file reading (line ranges), content search
  • File Operations: Delete, copy, move, create directories
  • Clipboard: Read/write clipboard content via HTTP API (text, images, files)
  • Screenshots:
    • Full screen (HTTP API, PNG/JPEG)
    • Window capture (MCP tool, by window title)
    • Region capture (MCP tool, by coordinates)

Process & Window Management

  • Window Management: List all open windows with details
  • Process Queries: List all running processes with details
  • Process Management: Terminate processes, adjust priority (with protected process blocklist)
  • Command Execution: Execute system commands and capture output

Power Management

  • Shutdown: Delayed, forced, with custom message
  • Restart: Delayed, forced
  • Hibernate & Sleep: System hibernate and sleep
  • Cancel Shutdown: Cancel scheduled shutdown/restart

Auto Update

  • Version Check: Automatic GitHub release checking
  • Update Notification: Friendly notification dialog
  • One-click Download: Open GitHub Release page
  • Multi-channel: Stable and Beta channels
  • Multi-language: Simplified Chinese, English

System Requirements

  • Windows 10/11 (x64, x86, ARM64)
  • No additional runtime dependencies

Quick Start

Install from MCP Registry

WinBridgeAgent is published on the MCP Registry as io.github.codyard/winbridgeagent. MCP clients that support the registry can install it directly.

Manual Install

  1. Download the latest release from GitHub Releases
  2. Run WinBridgeAgent-x64.exe (64-bit) or WinBridgeAgent-x86.exe (32-bit)
  3. The program appears in the system tray
  4. Configure your MCP client (see below)

For OpenClaw + Windows node setup, see windows-node-install.en.md.

MCP Client Configuration

WinBridgeAgent works with any MCP-compatible client. Below are setup instructions for popular clients.

Note: Replace <windows-ip> with the IP address of the Windows PC running WinBridgeAgent (e.g. 192.168.1.100). Use localhost only if the MCP client runs on the same Windows machine.

Claude Desktop

Edit claude_desktop_config.json:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
json
{    "mcpServers": {        "winbridgeagent": {            "url": "http://<windows-ip>:35182",            "transport": "http"        }    }}

Cursor

  1. Open Settings → MCP
  2. Click Add new MCP server
  3. Fill in:
    • Name: winbridgeagent
    • Type: http
    • URL: http://<windows-ip>:35182

Or edit .cursor/mcp.json in your project root:

json
{    "mcpServers": {        "winbridgeagent": {            "url": "http://<windows-ip>:35182",            "transport": "http"        }    }}

Windsurf

Edit ~/.codeium/windsurf/mcp_config.json:

json
{    "mcpServers": {        "winbridgeagent": {            "serverUrl": "http://<windows-ip>:35182"        }    }}

OpenClaw

  1. Open Settings → MCP Servers
  2. Click Add
  3. Set:
    • Name: winbridgeagent
    • Transport: HTTP
    • URL: http://<windows-ip>:35182

For a step-by-step Windows node deployment walkthrough (including mcporter pairing), see windows-node-install.en.md.

Cherry Studio

  1. Open Settings → MCP Servers
  2. Click Add Server
  3. Select Streamable HTTP type
  4. Set URL to http://<windows-ip>:35182

Cline (VS Code)

Edit cline_mcp_settings.json in your VS Code settings:

json
{    "mcpServers": {        "winbridgeagent": {            "url": "http://<windows-ip>:35182",            "transportType": "http"        }    }}

Generic MCP Client

Any MCP client that supports HTTP transport can connect using:

  • Server URL: http://<windows-ip>:35182
  • Transport: HTTP (Streamable HTTP)
  • Protocol Version: 2024-11-05

HTTP API

The server listens on the configured port (default 35182).

Open-source edition: No Bearer Token authentication required. All API endpoints are directly accessible.

Endpoints

MethodPathDescription
GET/API endpoint list
GET/healthHealth check
GET/statusServer status and info
GET/disksList all disk drives
GET/list?path=<path>List directory contents
GET/read?path=<path>Read file content
GET/search?path=<path>&query=<q>Search file content
GET/clipboardRead clipboard
PUT/clipboardWrite clipboard
GET/screenshotTake screenshot
GET/windowsList all windows
GET/processesList all processes
POST/executeExecute command
GET/exitShutdown server
POST/mcp/initializeMCP initialize
POST/mcp/tools/listMCP list tools
POST/mcp/tools/callMCP call tool

Examples

Replace <windows-ip> below with the actual IP of your Windows PC (or use localhost if testing on the same machine).

bash
# Server statuscurl http://<windows-ip>:35182/health
# List diskscurl http://<windows-ip>:35182/disks
# List directorycurl "http://<windows-ip>:35182/list?path=C:\\"
# Read filecurl "http://<windows-ip>:35182/read?path=C:\\test.txt"
# Search file contentcurl "http://<windows-ip>:35182/search?path=C:\\test.txt&query=keyword"
# Read clipboardcurl http://<windows-ip>:35182/clipboard
# Write clipboardcurl -X PUT -H "Content-Type: application/json" \  -d '{"content":"Hello World"}' http://<windows-ip>:35182/clipboard
# Take screenshotcurl http://<windows-ip>:35182/screenshot
# List windowscurl http://<windows-ip>:35182/windows
# List processescurl http://<windows-ip>:35182/processes
# Execute commandcurl -X POST -H "Content-Type: application/json" \  -d '{"command":"echo Hello"}' http://<windows-ip>:35182/execute
# MCP: Initializecurl -X POST -H "Content-Type: application/json" \  -d '{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}' \  http://<windows-ip>:35182/mcp/initialize
# MCP: List toolscurl -X POST -H "Content-Type: application/json" \  -d '{}' http://<windows-ip>:35182/mcp/tools/list
# MCP: Call toolcurl -X POST -H "Content-Type: application/json" \  -d '{"name":"list_windows","arguments":{}}' \  http://<windows-ip>:35182/mcp/tools/call
# Shutdown servercurl http://<windows-ip>:35182/exit
If you have multiple computers with WinBridgeAgent installed on your LAN, configure your MCP client to manage them:
```json{    "mcpServers": {        "winbridge-test": {            "url": "http://192.168.31.3:35182",            "description": "Test PC"        },        "winbridge-office": {            "url": "http://192.168.31.4:35182",            "description": "Office PC"        }    }}

See Multi-Computer Setup Guide for details.

Configuration

A config.json file is auto-generated on first run:

json
{    "server_port": 35182,    "auto_port": true,    "listen_address": "0.0.0.0",    "language": "en",    "auto_startup": false,    "daemon_enabled": true}
KeyDescriptionDefault
server_portServer listen port35182
auto_portAuto-select port if occupiedtrue
listen_address0.0.0.0 (LAN) or 127.0.0.1 (local only)0.0.0.0
languageUI language (en / zh-CN)en
auto_startupStart with Windowsfalse
daemon_enabledEnable daemon watchdogtrue

Building from Source

Prerequisites

  • macOS (Apple Silicon or Intel)
  • CMake 3.20+
  • MinGW-w64 cross-compilation toolchain

Install Dependencies

bash
brew install mingw-w64 cmake

Build

bash
# Build all architectures./scripts/build.sh
# Or build a single architecture manuallymkdir -p build/x64cd build/x64cmake ../.. -DCMAKE_TOOLCHAIN_FILE=../../toolchain-mingw-x64.cmake \            -DCMAKE_BUILD_TYPE=Releasemake -j$(sysctl -n hw.ncpu)

Build Outputs

  • build/x64/WinBridgeAgent.exe — Windows x64
  • build/x86/WinBridgeAgent.exe — Windows x86
  • build/arm64/WinBridgeAgent.exe — Windows ARM64

Project Structure

text
.├── CMakeLists.txt├── src/            # C++ source code├── include/        # Public headers├── resources/      # Runtime assets and templates├── scripts/        # Build, test, release scripts├── docs/           # Documentation├── tests/          # Test code├── third_party/    # Vendored dependencies└── build/          # Build outputs

Security Notes

  • Listen Address: Setting 0.0.0.0 allows LAN access; use 127.0.0.1 for local-only
  • Firewall: Windows Firewall may block network access; add an exception if needed
  • Protected Processes: System-critical processes cannot be terminated (system, csrss.exe, winlogon.exe, etc.)
  • Protected Directories: System directories cannot be deleted (C:\Windows, C:\Program Files, etc.)
  • Audit Log: All operations are logged

License

This project is licensed under the GNU General Public License v3.0.

Copyright © 2026 WinBridgeAgent Contributors

来源:README.md,提交 1f8bfd9

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.5.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分