Files
wehub-resource-sync 91e75e620b
CI: cua-driver distro-compat matrix / debian:12 (glibc 2.36) (push) Has been cancelled
CI: SPDX Headers / Check SPDX headers (warn-only) (push) Has been cancelled
CD: Docs MCP Server / build (linux/amd64) (push) Has been cancelled
CD: Docs MCP Server / build (linux/arm64) (push) Has been cancelled
CD: Docs MCP Server / merge (push) Has been cancelled
CI: cua-driver distro-compat matrix / Resolve release version (push) Has been cancelled
CI: cua-driver distro-compat matrix / fedora:41 (glibc 2.40) (push) Has been cancelled
CI: cua-driver distro-compat matrix / rockylinux:9 (glibc 2.34) (push) Has been cancelled
CI: cua-driver distro-compat matrix / ubuntu:22.04 (glibc 2.35) (push) Has been cancelled
CI: cua-driver distro-compat matrix / ubuntu:24.04 (glibc 2.39) (push) Has been cancelled
CI: cua-driver distro-compat matrix / Distro compat summary (push) Has been cancelled
CI: Rust Linux unit / Rust Linux unit and compile (push) Has been cancelled
CI: Rust Windows unit / Rust Windows unit and compile (push) Has been cancelled
CI: Nix Linux Rust source / Nix / compositor build (push) Has been cancelled
CI: Nix Linux Rust source / Nix / driver package (push) Has been cancelled
CI: Nix Linux Rust source / Nix / Rust unit tests (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:03:19 +08:00

70 lines
2.8 KiB
Plaintext

Next steps:
1. Try it:
{{BINARY}} --version
{{BINARY}} list-tools
2. Grant permissions (macOS — Accessibility + Screen Recording):
{{BINARY}} permissions status # report status (read-only; tells you which
# identity the grants belong to)
{{BINARY}} permissions grant # the correct way to grant — launches CuaDriver
# so the dialog says "Cua Driver" and the grant
# sticks to the driver, not your terminal.
# Tip: `--autostart` (above) keeps a launchd daemon
# running so you grant once and it persists.
3. Agent skill pack (optional):
{{BINARY}} skills install # fetch + link the cua-driver skill pack
# into Claude Code / Codex / OpenClaw / OpenCode.
# The install never touches your agent dirs.
4. As an MCP server — run the one matching your client. Each is also
available via '{{BINARY}} mcp-config --client <name>':
• Claude Code (computer-use compatibility mode):
{{BINARY}} mcp-config --client claude
Copy-paste the printed command into your shell — it uses
`claude mcp add-json` (not bare `--`) so the long flag travels
through PowerShell's arg parser intact. This mode grounds Claude
Code's vision/computer-use-style flow on CuaDriver window
screenshots — it keeps the normal CuaDriver tools and changes
only the screenshot tool.
• Codex (OpenAI):
codex mcp add cua-driver -- {{BINARY}} mcp
• Qwen Code:
qwen mcp add cua-driver {{BINARY}} mcp
• Factory Droid:
droid mcp add cua-driver "{{BINARY}} mcp"
• OpenClaw:
{{BINARY}} mcp-config --client openclaw
• GitHub Copilot CLI (paste into ~/.copilot/mcp-config.json):
{
"mcpServers": {
"cua-driver": {
"type": "local",
"command": "{{BINARY}}",
"args": ["mcp"],
"tools": ["*"]
}
}
}
• Cursor / OpenCode / Hermes (no add CLI — paste config):
{{BINARY}} mcp-config --client cursor # JSON for ~/.cursor/mcp.json
{{BINARY}} mcp-config --client opencode # JSON for opencode.json
{{BINARY}} mcp-config --client hermes # YAML for ~/.hermes/config.yaml
• ZCode (Z.ai — GUI app; paste in Settings → MCP Servers):
{{BINARY}} mcp-config --client zcode
For other clients accepting the generic mcpServers shape:
{{BINARY}} mcp-config
Docs: https://github.com/trycua/cua/tree/main/libs/cua-driver/rust