open-computer-use
open-computer-use
一个本地 MCP 服务器,为 AI 智能体装上眼和手,让它能操作你的桌面。智能体可以看到应用的界面,并执行点击、输入、滚动、拖拽,全程通过无障碍层完成,不会接管你真实的鼠标和键盘。它完全在你的机器上本地运行,支持 macOS、Windows 和 Linux。
工具
九个核心工具,在三大平台上完全一致:
工具 | 功能说明 |
| 列出正在运行和最近使用的应用。 |
| 读取应用的辅助功能树并截图。 |
| 通过 |
| 调用元素自身的辅助操作。 |
| 按页滚动元素,或按像素增量滚动窗口。 |
| 在两个坐标之间拖拽。 |
| 输入文本,Unicode 兼容,后台优先。 |
| 按下按键或组合键( |
| 直接设置可编辑控件的值。 |
另有五个窗口级工具 — list_windows、get_window、get_window_state、launch_app、activate_window — 采用更新的 window2 API,目前仅在 Windows 上可用(macOS 和 Linux 正在开发中)。
Related MCP server: Automation MCP
快速开始
npm i -g open-computer-use
ocu doctor # verify the install; macOS: prompts for permissions
ocu call list_appsmacOS 14+ 需要一次性授予 Accessibility 和 Screen Recording 权限。Windows 和 Linux 在已登录的桌面会话中开箱即用(Linux 桌面需要 AT-SPI2,GNOME 等桌面环境默认已包含)。
连接你的智能体
ocu install-codex-mcp # Codex CLI & Codex App
ocu install-codex-plugin # Codex App, plugin form
ocu install-claude-mcp # Claude Code
ocu install-gemini-mcp # Gemini CLI (--scope user for global)
ocu install-opencode-mcp # opencode其他 MCP 客户端 — 自动手动添加:
{
"mcpServers": {
"open-computer-use": { "command": "open-computer-use", "args": ["mcp"] }
}
}ZCode
本仓库以 ZCode 插件形式发布 — 一次安装即可获得技能和一个自动连接的 MCP 服务器:
安装一次运行时(当本地没有构建版本时,插件会回退使用它):
npm i -g open-computer-use在 ZCode 中打开 设置 → 插件管理 → 发现,然后点击 +。
添加此仓库 — 使用 GitHub URL
opensymph/open-computer-use,或指向一个本地检出目录。在列表中找到 open-computer-use,然后点击 获取。
开启一个新会话。确认 设置 → MCP 中显示
open-computer-use已连接,然后直接说:“列出我屏幕上的窗口”。
以后要卸载它:已安装标签页 → Open Computer Use → 卸载。
所选工具
智能体技能 — 可安装的指导,教智能体如何用好这些工具:
npx skills add opensymph/open-computer-use -g -a claude-code --skill open-computer-use -y为什么选它
非侵入式设计。 优先通过无障碍 API 而非底层模拟输入;你的真实指针、焦点和前台应用始终不受干扰,除非你明确开启全局输入。
三大平台,同一套约定。 无论哪个操作系统,工具名称、参数和结果一致 — 智能体无需为不同平台分别编写分支逻辑。
一眼可见的指针。 在 macOS 上,操作会驱动一个可见的软件光标,方便你全程围观智能体的操作。
无需客户端即可脚本化使用。
ocu call可在你的 shell 中运行任何工具并输出 MCP 风格的 JSON;--calls可在一个进程中串联多个操作。内置安全护栏。 密码管理器总是被拒绝访问。启动应用、抢占焦点以及注入全局输入,每个操作都有明确的环境变量开关注扇。
平台支持状态
平台 | 运行时 | 说明 |
macOS | Swift | 可视化光标、权限引导、 |
Windows | Go,单体积 exe | 基于 UI Automation + Win32,进程隔离式操作,完整的 window2 API。 |
Linux | Go,单二进制文件 | 基于 D-Bus 的原生 AT-SPI2,零运行时依赖。 |
文档
许可证
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenancePlaywright for the entire OS. Give AI agents eyes and hands on any desktop app — find, click, type, and read UI elements across Linux, macOS, and Windows.2744MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to automate macOS desktop tasks including mouse control, keyboard input, screenshots, window management, and UI interaction.11415MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to see and control your desktop with tools for screenshots, clicks, typing, and more, all locally on macOS and Windows.64MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control macOS applications through the Accessibility API, AppleScript, and CGEvents, providing structured text output of UI elements and actions without needing screenshots.MIT
Related MCP Connectors
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Turns any agent into a full agentic application — branded, interactive screens generated at runtime.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/opensymph/open-computer-use'
If you have feedback or need assistance with the MCP directory API, please join our Discord server