3 v0.9.1 更新于 2026-11-06

opencu MCP Server

Independent local computer-use engine and MCP server for macOS, Windows, Linux and Android

适用客户端

本地客户端
Claude Desktop、Claude Code、Cursor、Cline 等支持本地 MCP 的客户端

安装配置

本地运行(npm)
{
  "mcpServers": {
    "opencu": {
      "command": "npx",
      "args": [
        "-y",
        "@z10/opencu"
      ]
    }
  }
}

将上方 JSON 加入 MCP 客户端配置(如 Claude Desktop 的 claude_desktop_config.json 或项目的 .mcp.json)即可接入;远程接入按客户端要求填写 URL 与鉴权头。

提供的工具 接入后 Agent 可调用这 14 个工具

list_apps
列出正在运行和可启动的应用
get_app_state
读取窗口的无障碍树,可按需附带截图,必要时启动应用
click
按元素索引或截图坐标点击
drag
按元素索引或截图坐标拖拽
scroll
按元素索引或截图坐标滚动
type_text
输入 Unicode 文本
paste
粘贴内容
press_key
发送按键和快捷键
set_value
修改元素的值
select_text
选择元素中的文本(仅 macOS 和 Linux)
perform_secondary_action
调用元素自身的动作
activate_app
在需要时将应用调到前台
run_actions
一次调用执行最多 16 个动作并返回最终状态
agent_desktop
启动、检查或停止代理桌面(Linux 不支持)