ZA

zavora-ai/computer-use-mcp

开发工具

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

94 stars 18 forks 质量 81 趋势 20MIT

高性能MCP服务器+客户端,Windows和macOS电脑控制内置Rust。截图、鼠标、键盘、剪贴板和应用管理——均通过Rust NAPI进行处理。

概览

macOS、Windows 和 Linux 上的 MCP 客户端实现跨平台桌面自动化。该服务器提供了 64 种稳定的 v7 工具,用于截图、输入、应用程序、窗口、无障碍、脚本、文件、进程、注册表操作和虚拟桌面。 7.1版本保留了v7工具API,同时同时为MCP 2026-07-28和遗留2025客户端提供完全相同的@modelcontextprotocol/* 2.0.0 SDK包。需要Node.js 20或更高版本。不支持现代无状态协议的客户端仍会接收现有的v7行为。 - MCP客户端根限制文件系统工具和文件系统资源。- 资源支持订阅和通知/资源/更新。- 文件系统操作成功返回可读的MCP资源链接。- 经过净化的MCP日志报告生命周期和工具结果,无需参数、结果、秘密、剪贴板内容或截图。

概述(AI 翻译)

赋予AI代理发现应用、理解其控制并工作的能力 在桌面上。计算机使用MCP连接兼容MCP的代理与本地工具 macOS、Windows 和 Linux。

如果有应用脚本和无障碍控制,请使用,并附上截图, 当界面需要时,使用鼠标和键盘输入。

看它画画

Astra用真实的鼠标笔触绘制了这张照片。 该代理使用了OpenAI 响应API,通过该MCP操作捆绑的绘画工作室:105笔画, 七种颜色和15个模型调用,随后是经过验证的PNG导出。结果为 这是一幅受梵高启发的原创风景画,通过本地指示活动创作。

这会进行付费API调用。记录的运行使用了191,734次输入和3,274次输出。 代币。运行演示并阅读它们的限制。

看它读

三十八秒,十个字段,没有答案键。 左边的发票是 画在画布上,文字永远不会到达无障碍树——这是唯一的方式 读取它就是去看。DeepSeek Flash 从截图读取数据,输入每个值 通过无障碍API,并点击“验证”;本地主机会对 并只告诉它哪些是错的。

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

README

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

Computer Use MCP

Give an AI agent the ability to discover apps, understand their controls, and work on a desktop. Computer Use MCP connects MCP-compatible agents to native tools on macOS, Windows and Linux.

Use app scripting and accessibility controls when available, and screenshots, mouse and keyboard input when the interface requires them.

See it paint

Astra painted this through real mouse strokes. The agent used the OpenAI Responses API to operate the bundled paint studio through this MCP: 105 strokes, seven colors and 15 model calls, followed by a verified PNG export. The result is an original Van Gogh-inspired landscape made through native pointer events.

# From a clone of this repository, after the setup below:
npm install --prefix agents/openai-agent
npx playwright install chromium
export OPENAI_API_KEY=your-key
node agents/openai-agent/showcase.mjs paint --studio --turns 24 --tokens 200000

This makes paid API calls. The recorded run used 191,734 input and 3,274 output tokens. Run the demos and read their limits.

See it read

Thirty-eight seconds, ten fields, no answer key. The invoice on the left is drawn on a canvas, so its text never reaches the accessibility tree — the only way to read it is to look. DeepSeek Flash reads it from screenshots, types each value through the accessibility API, and presses Verify; the local host scores the entries and tells it only which ones are wrong. This run scored 10 of 10 on the first Verify, over 12 model calls and 23 tool calls, at a 94% prompt-cache hit rate. Every entry is recorded with its isTrusted flag, so a submission that was not typed through the UI is refused.

npm install --prefix agents/deepseek-agent
npx playwright install chromium
export DEEPSEEK_API_KEY=your-key
node agents/deepseek-agent/showcase.mjs --seed 7             # the run above
node agents/deepseek-agent/showcase.mjs --receipt random     # a real receipt from the web

Full-resolution capture · how it works, and what it cannot fake

See it plan

Watch the work instead of reading tool calls. The run console is an MCP App the agent reports into. It declares a plan, marks one task active at a time, and attaches real screen captures as it goes — the frame above is a live capture of Blender’s own window.

Underneath the conversation is everything it is doing: each thought, each tool call and each result, with timings. That feed is reported by the host driving the run

在 GitHub 查看完整 README

安装

npx -y @zavora-ai/computer-use-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "computer-use": { "command": "npx", "args": ["-y", "@zavora-ai/computer-use-mcp"] } } }