SW

sandraschi/windows-computer-use-mcp

浏览器自动化

本页由 AI 翻译,技术细节请以原文为准。 查看原文

48 stars 15 forks 质量 67 趋势 33MIT

Windows计算机用于AI代理。既是一个工具(22个MCP工具,用于点击、打字、截图、OCR、UI检查),也是一个代理(自主任务引擎、宏记录器、基于意图的发现、事件......

概览

安装、截图、验证、举报——零人工干预。这就是大规模智能 Windows 自动化的样子。 基于 pywinauto 构建。生产使用前先阅读。 查看详细设置。只做演示作为示例。 - — 查找、激活、最大化、最小化、定位、关闭 - — 点击、拖动、输入、快捷键、应用快捷方式 - — 检查、点击、阅读文本、通过UIA / Win32验证状态 - — 截图、OCR、模板匹配 - — 设定目标,它计划并执行重试+验证 - — 记录任何UI序列、回放、验证结果 - — 跨记事本、计算、绘图或任何Windows应用进行链式操作 - — 所有操作都记录在SQLite;按工具查询失败模式 - — 自动串联浏览title/auto_id/control_id/class/OCR以查找元素 - — 可选,默认关闭 这台服务器驱动 。对于 HTML/DOM 和网站,可以与 (Playwright) 配对。两个 MCP 可以并行运行——使用一个配置文件加载两者,让 LLM 为目标选择合适的工具。

概述(AI 翻译)

Windows版计算机使用代理(CUA):让AI看到并操作你的桌面——点击按钮、输入文字、读取Windows,自主执行整个任务。基于pywinauto构建。

一个为代理人而设的工具,也是代理人本身。

你 它
将其用作MCP服务器 Claude、光标、DeepSeek调用automation_windows、automation_elements、automation_mission — 20个工具
将其用作自主代理 给它设定目标:automation_mission(run="install app, verify UI, screenshot result") — 它负责计划、执行、重试和报告
将其用作webapp start.ps1 在http://127.0.0.1:10788处打开一个React仪表盘,使用HITL、爬虫、日志
把它当作桌面应用用**NSIS安装程序把所有东西打包成一个二进制文件——不需要Python,不需要UV,也不需要git

示例A:100个Tauri/NSIS安装程序,一次无人值守运行,2美元的LLM成本。 安装、截图、验证、举报——零人工干预。这就是大规模智能Windows自动化的样子。

基于pywinauto构建。生产使用前请阅读docs/SAFETY.md。

  • 快速入门
  • 特色
  • 文档
  • 端口
  • 许可证

快速启动

Claude桌面(单行): 下载 “安装。”

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

windows-computer-use-mcp

Computer-use agent (CUA) for Windows: let an AI see and operate your desktop — click buttons, type text, read windows, run whole missions autonomously. Built on pywinauto.

A tool for agents, and an agent itself.

You It
Use it as an MCP server Claude, Cursor, DeepSeek call automation_windows, automation_elements, automation_mission — 20 tools
Use it as an autonomous agent Give it a goal: automation_mission(run="install app, verify UI, screenshot result") — it plans, executes, retries, and reports
Use it as a webapp start.ps1 opens a React dashboard at http://127.0.0.1:10788 with HITL, crawler, logging
Use it as a desktop app The NSIS installer bundles everything into one binary — no Python, no uv, no git needed

Exhibit A: 100 Tauri/NSIS installers, one unattended run, $2 in LLM costs. Install, screenshot, verify, report — zero human intervention. That is what agentic Windows automation looks like at scale.

Built on pywinauto. Read docs/SAFETY.md before production use.


Quick Start

Claude Desktop (one line): download install.ps1 from the latest release, then run it — it installs the .mcpb bundle for you. Other clients: uvx / manual config snippets are in INSTALL.md.

Method Command / Config
MCP stdio (Cursor, Claude Desktop) { "mcpServers": { "windows-computer-use": { "command": "uv", "args": ["--directory", "", "run", "windows-computer-use-mcp"] } } }
HTTP streamable (any MCP HTTP client) { "mcpServers": { "windows-computer-use": { "url": "http://127.0.0.1:10789/mcp" } } }
Web operator UI .\start.ps1 → http://127.0.0.1:10788
Desktop app (NSIS installer) Download from Releases — zero deps

See INSTALL.md for detailed setup. Run just demo for examples.


Features

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →