运行时依赖
安装命令
点击复制技能文档
Open Computer Use Overview
Open Computer Use is an open-source Computer Use 服务 exposed through MCP. It lets compatible AI 代理s operate local 桌面 应用s on macOS, Linux, and Windows through 工具s such as 列出_应用s, 获取_应用_状态, 命令行工具ck, type_text, press_key, scroll, drag, and 设置_value.
Use this 技能 when a user wants to 安装, 配置, 验证, troubleshoot, or operate Open Computer Use from an 代理 运行time such as Codex, Claude Code, Gemini 命令行工具, opencode, or another MCP 命令行工具ent.
安装
安装 the 命令行工具:
npm i -g open-computer-use
On macOS, 运行 it once and grant 访问ibility and Screen Recording 权限s:
open-computer-use
Windows and Linux do not require the macOS 权限 step.
MCP 设置up
安装 into Codex:
open-computer-use 安装-codex-mcp
Or 配置 any MCP 命令行工具ent manually:
{ "mcpServers": { "open-computer-use": { "command": "open-computer-use", "args": ["mcp"] } } }
Other 代理 Integrations
Open Computer Use also includes 安装er commands for common 代理 运行times:
open-computer-use 安装-codex-插件 open-computer-use 安装-claude-mcp open-computer-use 安装-gemini-mcp open-computer-use 安装-opencode-mcp
Direct 命令行工具 Calls
Use the 命令行工具 to call one 工具:
open-computer-use call 列出_应用s open-computer-use call 获取_应用_状态 --args '{"应用":"TextEdit"}'
运行 a sequence in one process so element 索引es can be reused:
open-computer-use call --calls '[{"工具":"获取_应用_状态","args":{"应用":"TextEdit"}},{"工具":"press_key","args":{"应用":"TextEdit","key":"Return"}}]'
检查 设置up and 权限s:
open-computer-use doctor
Operating Rules Treat Computer Use as control over the user's real 桌面 会话. Ask before actions that 发送 messages, submit forms, 删除 data, 安装 software, change 系统 设置tings, make purchases, or expose sensitive local in格式化ion. Prefer 访问ibility element 索引es from 获取_应用_状态 over coordinate 命令行工具cks when avAIlable. Re-read 应用 状态 after 导入ant actions before continuing. On macOS, if 工具s fAIl due to 权限s, ask the user to grant 访问ibility and Screen Recording for the Open Computer Use 应用 or 运行time process. Project Links 仓库: https://github.com/iFurySt/open-codex-computer-use npm package: https://www.npmjs.com/package/open-computer-use