360 Secure SkillHub
360 安全技能中心

Open Computer Use

为 Open Computer Use(跨 macOS、Linux、Windows 的开源 Computer Use MCP 服务)提供安装、MCP 接入与操作指引:通过 npm 全局安装 CLI,在 macOS 授予辅助功能与屏幕录制权限,为 Codex、Claude Code、Gemini CLI 等 MCP 客户端安装或手动配置服务,并用 list_apps、click、type_text…

ifuryst
ifuryst
热度 26.10
最近更新 2026-05-14 19:01:46
分类:自动化依赖:代码执行 / MCP 服务应用场景:自动化脚本 / 工作流 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add open-computer-use
Metadata
name
open-computer-use
description
Guidance for installing, configuring, and operating Open Computer Use, an open-source Computer Use MCP service for macOS, Linux, and Windows.

Open Computer Use

Overview

Open Computer Use is an open-source Computer Use service exposed through MCP. It lets compatible AI agents operate local desktop apps on macOS, Linux, and Windows through tools such as list_apps, get_app_state, click, type_text, press_key, scroll, drag, and set_value.

Use this skill when a user wants to install, configure, verify, troubleshoot, or operate Open Computer Use from an agent runtime such as Codex, Claude Code, Gemini CLI, opencode, or another MCP client.

Install

Install the CLI:

npm i -g open-computer-use

On macOS, run it once and grant Accessibility and Screen Recording permissions:

open-computer-use

Windows and Linux do not require the macOS permission step.

MCP Setup

Install into Codex:

open-computer-use install-codex-mcp

Or configure any MCP client manually:

{
  "mcpServers": {
    "open-computer-use": {
      "command": "open-computer-use",
      "args": ["mcp"]
    }
  }
}

Other Agent Integrations

Open Computer Use also includes installer commands for common agent runtimes:

open-computer-use install-codex-plugin
open-computer-use install-claude-mcp
open-computer-use install-gemini-mcp
open-computer-use install-opencode-mcp

Direct CLI Calls

Use the CLI to call one tool:

open-computer-use call list_apps
open-computer-use call get_app_state --args '{"app":"TextEdit"}'

Run a sequence in one process so element indexes can be reused:

open-computer-use call --calls '[{"tool":"get_app_state","args":{"app":"TextEdit"}},{"tool":"press_key","args":{"app":"TextEdit","key":"Return"}}]'

Check setup and permissions:

open-computer-use doctor

Operating Rules

  • Treat Computer Use as control over the user's real desktop session.
  • Ask before actions that send messages, submit forms, delete data, install software, change system settings, make purchases, or expose sensitive local information.
  • Prefer accessibility element indexes from get_app_state over coordinate clicks when available.
  • Re-read app state after important actions before continuing.
  • On macOS, if tools fail due to permissions, ask the user to grant Accessibility and Screen Recording for the Open Computer Use app or runtime process.

Project Links