open-computer-use
open-computer-use
AIエージェントにデスクトップ上の「目」と「手」を与えるローカルMCPサーバーです。エージェントはアプリのインターフェースを確認し、クリック、入力、スクロール、ドラッグを行うことができます。実際のマウスやキーボードを占有することなく、アクセシビリティレイヤーを通じて操作します。macOS、Windows、Linux上で、完全にお使いのマシン上で動作します。
ツール
3つのプラットフォームすべてで共通の、9つのコアツール:
ツール | 説明 |
| 実行中および最近使用したアプリを一覧します。 |
| アプリのアクセシビリティツリーとスクリーンショットを読み取ります。 |
|
|
| 要素固有のセカンダリアクションを呼び出します。 |
| 要素をページ単位、ウィンドウをピクセル単位でスクロールします。 |
| 2つの座標間でドラッグします。 |
| テキストを入力します。Unicode対応、バックグラウンド最優先。 |
| キーまたはキーコンビネーション( |
| 設定可能なコントロールの値を直接設定します。 |
さらに、ウィンドウレベルのツール5つ — list_windows、get_window、get_window_state、launch_app、activate_window — は、より新しいwindow2 APIに従い、現在Windowsで利用可能です(macOSとLinuxは準備中)。
Related MCP server: Open Computer Use
クイックスタート
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-useZCodeで設定 → プラグイン管理 → 検出を開き、+ をクリックします。
このリポジトリを追加します — 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を優先します。明示的にグローバル入力を有効にしない限り、実際のマウスポインター、フォーカス、フォアグラウンドのアプリはすべて変わらないままです。
3つのプラットフォーム、1つの契約 すべてのOSで同じツール名・引数・結果を提供するので、エージェントはプラットフォームごとに分岐する必要がありません。
追跡できるカーソル。 macOSでは、操作が目に見えるソフトウェアカーソルを動かすため、エージェントの動きを見て確認できます。
クライアントなしでスクリプト化可能。
ocu callはシェルから任意のツールを実行し、MCP形式のJSONを出力します。--callsは1つのプロセスでシーケンスを連結します。組み込みの保護 パスワードマネージャーは常に操作を拒否します。アプリの起動、フォーカスの奪取、グローバル入力の注入は、それぞれ明示的な環境変数ゲートの後ろにあります。
プラットフォームの対応状況
プラットフォーム | ランタイム | メモ |
macOS | Swift | ビジュアルカーソル、権限設定のオンボーディング、 |
Windows | Go、単一のexe | UI Automation + Win32、プロセス分離された操作、window2 APIの完全対応。 |
Linux | Go、単一バイナリ | D-Bus を介したネイティブAT-SPI2、ランタイム依存ゼロ。 |
ドキュメント
アーキテクチャ — 3つのランタイムのも仕組み
ススキルリファレンス — 使用法、インストール、トラブルシューティング
ライセンス
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Let your AI see your screen, click, type and run commands on your own Windows, Mac or Linux PC.
1Let AI see and use your own Windows PC with your permission: screen, apps, mouse and keyboard.
Remote desktop MCP: let AI see, click, type and run terminal commands on your own Windows or Mac.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to see and control your desktop with tools for screenshots, clicks, typing, and more, all locally on macOS and Windows.1-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to observe and control the user's live desktop by listing apps, reading accessibility trees, and performing clicks, typing, scrolling, dragging, and other input actions with per-action approvals and local audit archives.1MIT
- AlicenseAqualityBmaintenanceComputer use for any AI agent on macOS, Windows and Linux. It reads apps through the accessibility tree and screenshots, acts on elements by index, runs locally with no account, and the person at the keyboard can stop it at any time.135MIT
- AlicenseBqualityBmaintenanceEnables AI agents to control native desktop apps and browsers across macOS, Windows, and Linux using accessibility trees, Set-of-Mark visual grounding, local OCR, batched actions, and workflow memory.6MIT