Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
cua-driver: fix post-install permissions guidance (#1368)
Francesco Bonacci952cde6f92be
diff --git a/docs/content/docs/cua-driver/guide/getting-started/installation.mdx b/docs/content/docs/cua-driver/guide/getting-started/installation.mdxindex ed81d911ad..6040f1d16e 100644--- a/docs/content/docs/cua-driver/guide/getting-started/installation.mdx+++ b/docs/content/docs/cua-driver/guide/getting-started/installation.mdx@@ -41,9 +41,19 @@ Cua Driver needs two permissions:- **Accessibility** — to walk AX trees and dispatch `AXUIElementPerformAction`.- **Screen Recording** — to capture per-window screenshots via ScreenCaptureKit.-The first time you run `cua-driver serve` or `cua-driver mcp`, a permissions gate opens and walks you through granting both. Once the green checkmarks appear, close the window.+Start the daemon first so TCC attributes the subsequent requests to `CuaDriver.app` rather than to whatever shell parent launched the CLI:-To check status from the shell:+```bash+open -n -g -a CuaDriver --args serve+```++Then trigger the prompts:++```bash+cua-driver check_permissions+```++macOS raises the Accessibility and Screen Recording system dialogs. Grant both, then re-run the command to confirm:```bashcua-driver check_permissions@@ -54,11 +64,12 @@ cua-driver check_permissions<Callout type="info">`check_permissions` reports the TCC status of the *calling* process. Inside an IDE terminal (ClaudeCode, Cursor, VS Code, Conductor) the shell inherits the IDE's TCC responsibility chain, so results- can read "NOT granted" even when you've granted both to `CuaDriver.app`. Start the daemon first- (`cua-driver serve &`) and the CLI forwards through it for authoritative answers.+ can read "NOT granted" even when you've granted both to `CuaDriver.app`. The daemon-first recipe+ above sidesteps this because the CLI forwards through the daemon, which runs under+ `CuaDriver.app`'s bundle id.</Callout>-If a grant reads `NOT granted`, open **System Settings → Privacy & Security**, find `CuaDriver.app` under Accessibility and Screen Recording, and flip the toggle.+If a grant still reads `NOT granted` after granting in the dialog, open **System Settings → Privacy & Security**, find `CuaDriver.app` under Accessibility and Screen Recording, and flip the toggle.## Requirementsdiff --git a/libs/cua-driver/scripts/install.sh b/libs/cua-driver/scripts/install.shindex 895036cdb8..5cf12bae49 100755--- a/libs/cua-driver/scripts/install.sh+++ b/libs/cua-driver/scripts/install.sh@@ -341,14 +341,18 @@ log "cua-driver $VERSION installed"cat << 'FINALEOF'Next steps:- 1. Grant Accessibility + Screen Recording permissions:- open /Applications/CuaDriver.app- (a one-time setup window will guide you)+ 1. Start the daemon so TCC attributes requests to CuaDriver.app:+ open -n -g -a CuaDriver --args serve- 2. Wire into your MCP client (Claude Code, Cursor, etc.):+ 2. Trigger the Accessibility + Screen Recording prompts:+ cua-driver check_permissions+ macOS will raise the system dialogs. Grant both, then re-run+ the command to confirm it reports all green.++ 3. Wire into your MCP client (Claude Code, Cursor, etc.):cua-driver mcp-config | pbcopy- 3. Or drive directly from the shell:+ 4. Or drive directly from the shell:cua-driver list_appsDocs: https://github.com/trycua/cua/tree/main/libs/cua-driver