Antigravity Hands
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Antigravity Hands
Give Google Antigravity Codex-level hands and eyes across macOS, Windows, and Linux.
antigravity-hands is an open-source, native Computer Use plugin & MCP server built specifically for Google Antigravity — working seamlessly across Antigravity CLI (agy), Antigravity Desktop App, and Antigravity IDE.
It combines accessibility-tree-first semantic control, a Codex cua_repl-inspired persistent JS sandbox (hands_script), in-memory ScreenCaptureKit + native offline Chinese/English OCR, Set-of-Marks numbered screenshot grounding, lossless CJK/Unicode input, screenshot-invisible HUD glow, and instant Esc / mouse-takeover emergency stop.
Why Antigravity Hands?
Capability | Typical Screenshot MCP | Antigravity Hands (v0.5) |
Multi-Step Loops | 1 LLM turn per click/scroll | Codex-style |
Element Targeting | Fragile pixel coordinates | Hybrid |
Capture Speed | Slow CLI temp PNGs (1.5MB+) | In-memory macOS |
Focus & Cursor | Constantly hijacks your screen | Background AX/UIA first; 4-step smart un-minimize/reopen; automatic focus, cursor & clipboard restore |
Chinese / CJK / IME | Garbled keys or broken IME | Lossless clipboard paste with automatic binary clipboard backup & restore |
Human-in-the-Loop UX | Blind cursor movement | Screenshot-invisible window glow HUD + click pulse, |
Antigravity Native | Manual JSON wiring | Full Antigravity Plugin ( |
Related MCP server: mcp-macos-cua
Codex-Style hands_script Example
Instead of spending 10 LLM round-trips scrolling and guessing coordinates, Antigravity can drive an entire multi-step desktop workflow in one hands_script call (all guarded by password-field refusal, destructive-action blocking, HUD glow, and Esc abort):
await hands.focus("WPS Office");
await hands.doubleClick({ app: "WPS Office", ocr_text: "Quarterly_Deck.pptx" });
await hands.waitFor({ app: "WPS Office", ocr_text: "/38", timeout_ms: 8000 });
await hands.key("pagedown", { repeat: 29, delay_ms: 35 }); // native ~1s burst
await hands.wait(250);
const p30 = await hands.observe("WPS Office");
return { title: p30.window_title, lines: p30.lines.slice(0, 10) };Quick Start
One-Command Install (macOS / Windows / Linux)
Requires Node.js 22+ — no Swift, .NET, or Rust toolchain needed. The installer automatically downloads the SHA-256-verified prebuilt native driver for your platform from GitHub Releases and installs a self-contained plugin into Antigravity (agy CLI, Desktop App, and IDE):
npx -y antigravity-hands install
npx -y antigravity-hands doctorPrefer a workspace-only install? Run
npx -y antigravity-hands install --workspace.
Grant macOS System Permissions
Open System Settings → Privacy & Security and enable your host app (Terminal / iTerm / Antigravity):
Accessibility
Screen & System Audio Recording
Restart Antigravity / your terminal once after granting permissions, then try:
/antigravity-hands:computer-use Open Notes, create a note titled "Daily Plan", and add 3 items.Press Esc (or move your mouse sharply away) at any time to immediately halt automation and release all modifier keys.
Build from Source (Contributors)
git clone https://github.com/ye4wzp/antigravity-hands.git
cd antigravity-hands
npm install
npm run build:all # Builds TypeScript core + signed macOS Swift driver
npm test # Runs unit, sandbox & MCP protocol tests
node dist/cli.js install
node dist/cli.js doctorMCP Tools (13 High-Cohesion Tools)
Tool | Purpose |
| Codex-style persistent async JS sandbox for loops, conditionals, and multi-step workflows |
| Hybrid observer ( |
| Silent window capture (fast compact JPEG) with |
| Single-call compact |
| Smart 4-step wake (unhide → activate → un-minimize → reopen/launch) returning fresh |
| Click / double-click / right-click by |
| Lossless CJK/Unicode clipboard paste or background |
| Single key or shortcut chord with native |
| Scroll (with native |
| Poll live AX tree or native OCR until target appears |
| Linear multi-step batching with auto HUD glow and optional |
| Compact health, permissions, capabilities, and emergency-stop check/reset |
Platform Support Matrix
Platform | Driver | Status |
macOS (Apple Silicon & Intel) |
| v0.5 Complete (In-memory |
Windows (x64 & ARM64) |
| v0.5 Feature-Complete + CI Ready (UIA tree + background |
Linux (X11 / Wayland) |
| v0.5 Functional + CI Ready ( |
Documentation & Contributing
License
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 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.
Real desktops for AI agents, on machines you choose: screenshot, type, click, hire more agents.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to see and control your desktop with tools for screenshots, clicks, typing, and more, all locally on macOS and Windows.1-
- AlicenseAqualityDmaintenanceEnables AI agents to control macOS desktop apps via screenshots, mouse clicks, keyboard input, accessibility queries, and AppleScript.1111 npmMIT
- AlicenseNot gradedqualityBmaintenanceLets AI agents see and control desktop applications through the accessibility layer, enabling clicking, typing, scrolling, dragging, and window/app management across macOS, Windows, and Linux entirely on the local machine.27MIT
- 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.134MIT