
hyprcat/mac-cua
Productivity workflowこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
アクセシビリティ API およびスクリーンショットによる macOS デスクトップの自動化のための高性能 MCP サーバー
概要
コンピュータは、コンピュータを介さないエージェントを使用します。 macOS 用のオープンソースの MCP サーバーで、AI はデスクトップ アプリをバックグラウンドで制御できます。マウスに触れたり、フォーカスを盗んだりすることはありません。 クイックスタート・背景ファースト・ツール・セットアップ・アーキテクチャ mac-cua は 2 つの枝を出荷します。 ニーズに合ったものを選んでください。 ブランチは初期段階のソフトウェアです。 寄稿者様は、下記へご応募ください。 可動部が少ないベース実装が必要な場合。 最新の入力配信修正、誤った検証エラーの排除、およびパーセッションの分離が必要な場合。 東京の人口のGoogleを検索し、世界人口(8.1億)の割合を計算し、ノートを書いて、Safariで東京の Wikipediaページを開き、市長の名前を見つけます。 CUAツールのみ — 他のツールは許可されていません。 1. 「東京の人口」のGoogle検索 — 約14,14.2万人の住民2.
概要(AI 翻訳)
マックカ
コンピュータは、コンピュータを介さないエージェントを使用します。 macOS 用のオープンソースの MCP サーバーで、AI はデスクトップアプリをコントロール あなたのマウスに触れたり、焦点を盗んだりすることなく、バックグラウンドで。
クイックスタート・ 背景ファースト・ ツール・ セットアップ・ 建築設計
お問い合わせ
ブランチ
mac-cua は 2 つの枝を出荷します。 ニーズに合ったものを選んでください。
|【[T0]】** |【[T1]】** |
お問い合わせ
|** 安定性** | 可動部数の少ない基礎実装 | 実験的、積極的に開発 |
| 入力配信 | 【[T2]】化合物修飾子イベント | 確認済みの配信パイプライン:オンデマンドCGイベントタップ、SkyLight SPIフォールバック、マイクロアクティベーションリトリーによる輸送確認 |
|Event source | 共有グローバル[CGEventSource | パーセッション単離[CGEventSource |
|Verification | デュアルモニターシステム(CGEvent Transport + AX result) | スナップショットベース: 受託輸送、新しい AX Tree + スクリーンショットを地面の真実として返します。 古いイベント主導のモニター削除(AX伝搬に対して実行され、偽の負を引き起こします) |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
mac-cua
The computer use agent that doesn’t take over your computer. An open-source MCP server for macOS that lets AI control desktop apps in the background — without ever touching your mouse or stealing your focus.
Quickstart · Background-First · Tools · Setup · Architecture
Branches
mac-cua ships two branches. Pick the one that matches your needs.
release |
confirmed-delivery-pipeline |
|
|---|---|---|
| Stability | Base implementation, fewer moving parts | Experimental, actively developed |
| Input delivery | CGEventPostToPid with compound modifier events |
Confirmed delivery pipeline: per-event transport confirmation via on-demand CGEventTap, SkyLight SPI fallback, micro-activation retry |
| Event source | Shared global CGEventSource |
Per-session isolated CGEventSource (no cross-session state leakage) |
| Verification | Dual-monitor system (CGEvent transport + AX outcome) | Snapshot-based: trust transport, return fresh AX tree + screenshot as ground truth. Old event-driven monitors removed (raced against AX propagation, caused false negatives) |
| Mouse delivery | Mouse-move pre-positioning before every click/drag/scroll | No mouse-move events (eliminated cursor teleportation). Down/up events carry point + window hints directly |
| Scroll | scroll_system with cursor warp + line-based deltas |
Pixel-based scroll with dual integer + fixed-point deltas (Chromium + Cocoa compat). Cursor warp removed |
| Keyboard | Compound modifier events (modifiers as flags on keyDown/keyUp) | Same for CGEvent path (discrete flagsChanged leaked to global state). SkyLight path uses discrete modifiers |
| New modules | – | skylight.py (CGS SPIs), delivery_tap.py (transport confirmation), confirmed_verification.py (ActionVerifier) |
| Tests | 216 passing | 270 passing |
| Known issues | Event-driven verification produces false “no observed effect” errors when AX lags | Event taps add brief overhead during action delivery (~50ms). SkyLight SPIs may not be available on all macOS versions |
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"mac-cua": {
"command": "uv",
"args": ["run", "--directory", "/path/to/mac-cua", "python", "main.py"]
}
}
}