computer-use-win32
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 Computer Use Plugin (v3.1.0)
Antigravity Computer Use Plugin is an open source Windows 10 (build 19041 or newer) and Windows 11 desktop automation plugin and MCP server (computer-use and computer-use-win32).
It talks straight to Win32 and Windows UI Automation through Python ctypes with no hardcoded app lists and no external pointer wrappers. Read ARCHITECTURE.md for the internals and skills/computer-use/SKILL.md for the agent workflow runbook along with SECURITY.md for the security model.
Install in Antigravity
One prompt install
Copy and paste this prompt straight into Antigravity to install and verify the plugin automatically:
Download and install the Windows Computer Use plugin from https://github.com/908akash/Antigravity-Computer-Use-Plugin/releases/latest/download/computer-use-v3.1.0.zip into %USERPROFILE%\.gemini\config\plugins\computer-use then run scripts\launch_mcp.cmd --self-test so its Python packages are ready and share the customization link so I can enable it.After you send that prompt Antigravity handles the setup in three quick steps:
Antigravity downloads
computer-use-v3.1.0.zipand extracts thecomputer-usefolder into%USERPROFILE%\.gemini\config\plugins\computer-use.Next it runs
scripts\launch_mcp.cmd --self-testto find Python 3.10 or newer and installpillowandnumpyinto the local plugin runtime folder if those packages are missing.Then Antigravity gives you the
[Windows Computer Use](customization://computer-use)toggle link so you can turn the plugin on and refresh MCP servers.
One line PowerShell install
You can also download and verify the release archive straight from PowerShell:
$zip = "$env:TEMP\computer-use-v3.1.0.zip"; Invoke-WebRequest "https://github.com/908akash/Antigravity-Computer-Use-Plugin/releases/latest/download/computer-use-v3.1.0.zip" -OutFile $zip; Expand-Archive -Path $zip -DestinationPath "$env:USERPROFILE\.gemini\config\plugins" -Force; & "$env:USERPROFILE\.gemini\config\plugins\computer-use\scripts\launch_mcp.cmd" --self-testInstall with git clone
If you prefer git you can clone the repository into your plugins folder and run the self test script:
git clone https://github.com/908akash/Antigravity-Computer-Use-Plugin.git "$env:USERPROFILE\.gemini\config\plugins\computer-use"
& "$env:USERPROFILE\.gemini\config\plugins\computer-use\scripts\launch_mcp.cmd" --self-testStandalone MCP clients
Claude Desktop and Cursor and VS Code can run the server directly by pointing at scripts\launch_mcp.cmd with an explicit folder path in cwd:
{
"mcpServers": {
"computer-use-win32": {
"command": "cmd.exe",
"args": ["/d", "/c", "scripts\\launch_mcp.cmd"],
"cwd": "C:\\path\\to\\computer-use",
"env": {
"PYTHONUTF8": "1",
"PYTHONIOENCODING": "utf-8"
}
}
}
}Replace C:\\path\\to\\computer-use with the real folder path on your PC. Do not copy ${PLUGIN_ROOT} or ${PLUGIN_DATA} placeholders from Antigravity's mcp_config.json into standalone clients because standalone MCP hosts do not expand Antigravity plugin variables.
Related MCP server: ORVEX
How it works on your PC
Standard user privileges and Win32 capture
The server runs only at your standard user privilege level (medium integrity). It never raises a UAC prompt and refuses elevated Administrator windows through Windows UIPI checks.
Screen capture uses pure Win32 ctypes GDI PrintWindow in the background and falls back to clipped GDI BitBlt desktop capture when needed. Pointer paths use 120Hz hardware SendInput curves across the virtual desktop with Per Monitor DPI v2 awareness on mixed DPI multi monitor displays. Open context menus and dropdown popups are detected automatically so screenshots include the popup and clicks inside the menu do not dismiss it.
On first run the server compiles scripts\uia_fast_bridge.cs locally using the built in Windows .NET Framework 4.x csc.exe compiler and checks the binary with a SHA-256 hash before running it. If compilation is unavailable it falls back automatically to scripts\uia_daemon.ps1 over PowerShell UI Automation.
Installed desktop apps are resolved dynamically through Windows Registry App Paths and Uninstall entries along with WindowsApps and Start Menu Get-StartApps and PATH with a PE header subsystem check so GUI desktop apps beat CLI tools of the same name.
Three stage status pill and hardware cursor
While any app grant is active scripts\overlay_hud.py shows a click through top pill and a frosty screen border glow along with a native hardware cursor through SetSystemCursor. Every overlay surface uses WDA_EXCLUDEFROMCAPTURE so captured screenshots stay clean while you always see when automation is active.
During tool execution and for the first
1.6seconds after a tool finishes the top pill displaysAntigravity is using your computeror clean stage steps like3/5 Opening desktop appwith raw.exenames and window handles stripped out.After
1.6seconds of idle time the pill switches toAntigravity • Thinking...for up to90seconds while the model plans its next turn.After
90seconds of idle time the pill switches toAntigravity • Waiting for model...up to the600second safety timeout so slow reasoning or script generation never makes the overlay disappear early.Pressing
Escat any moment closes the overlay right away and restores your normal Windows cursor throughSPI_SETCURSORSand revokes every active app grant. On the model's next tool call the server returnsuser_closed_computer_useso the agent stops cleanly and can restart later when authorized.Moving your pointer to the top left
(0, 0)corner of any monitor also triggers an immediate emergency stop.
Built in fast local UI matcher
The plugin ships with a built in local UI grounding engine at scripts\local_matcher.py that powers cu_choose and cu_step out of the box with zero external model downloads required.
Tier 1 runs in under one millisecond using pure Python standard library code across up to 120 UI Automation controls with zero extra screenshot overhead. It combines Unicode NFKD folding with CJK and multilingual script tokenization along with
camelCaseandsnake_caseidentifier splitting and suffix stemming and Jaro Winkler similarity and W3C CSS3 perceptual color matching and UI control role weighting to return a calibrated confidence choice (e<index>ordoneorunsure).cu_stepalso splits compound instructions like"Click Settings -> Connections -> Enable Sync"or calculator expressions into sequential actions and checks expected final UI text in a single MCP turn.Tier 2 is an optional local LLM fallback for ambiguous labels. If you run Ollama or LM Studio or Jan or
llama-serveron your own PC (127.0.0.1ports11434and1234and1337) you can setCUA_MATCHER_AUTO_DISCOVER=1orCUA_MATCHER_ENDPOINTto letlocal_matcher.pyresolve low confidence controls through grammar constrained single token inference onlocalhost.
Six layers of safety
Every inspected or controlled window needs an explicit expiring session grant from
cu_grant_apporcu_launch_app.Mandatory deny lists block terminals and shells and password managers and UAC or admin tools and AI agent hosts along with
Winkey chords andctrl+shift+escandctrl+escand dangerous launch arguments like passingcmd.exetoexplorer.exe.Web browsers start in
look_onlyread only mode unless you explicitly approve interactive input withallow_browser_input.Sensitive editor protection blocks typing into editors open to shell profiles or SSH keys or
.git/hooksor MCP configs or executable script extensions such as.ps1and.batand.cmdbut allows ordinary source files like.jsor.py.Input calls verify that the desktop is unlocked and block elevated UIPI targets and reject occluded points and abort typing if foreground focus changes.
Physical
Escor moving the pointer to(0, 0)on any display stops automation immediately and revokes all grants.
Privacy and zero telemetry
This plugin contains zero telemetry and zero analytics and zero tracking beacons and zero background data harvesting.
Screenshots and UI observations stay inside the local runtime folder and are wiped automatically when cu_revoke_app({"all": true}) runs or when the MCP server exits. Password inputs (IsPasswordProperty) are redacted inside both UI Automation bridges before any data reaches Python.
The only network traffic the plugin can ever make is downloading pillow and numpy from PyPI on first run when those packages are missing from Python or talking to a local inference server (127.0.0.1 ports 11434 and 1234 and 1337) only if you opt in via CUA_MATCHER_ENDPOINT or CUA_MATCHER_AUTO_DISCOVER=1. Non loopback endpoints are rejected unless you explicitly set CUA_ALLOW_REMOTE_MATCHER=1.
Environment variables
Variable | Default | Purpose |
|
| Idle seconds before |
|
| Idle seconds before the status pill closes automatically (clamped |
|
| Inactivity seconds before unused app grants expire (clamped |
|
| Brand prefix displayed inside the status pill |
|
| Set to |
|
| Overrides temporary runtime folder path (falls back to |
| empty | Explicit path to a Python 3.10 or newer |
|
| Set to |
| empty | Optional inference URL for Tier 2 fallback (non loopback URLs require |
|
| Set to |
|
| Model name sent to an explicit Tier 2 endpoint |
| empty | Optional bearer token for an explicit Tier 2 endpoint |
|
| Tier 2 API format ( |
|
| Set to |
MCP tools
All 25 tools below can be called directly or chained inside cu_batch (up to 80 steps per turn plus wait):
Group | Tools |
Discovery and readiness |
|
Session access and app launch |
|
Screen and UI inspection |
|
Focus and element actions |
|
Mouse and scroll gestures |
|
Keyboard and clipboard and HUD |
|
Fast local matching |
|
Running tests
Verify the launcher and full end to end MCP suite against an isolated runtime folder:
$env:CUA_RUNTIME_DIR = "$env:TEMP\cua-test-rt"
scripts\launch_mcp.cmd --self-test
python tests\test_computer_use.pyFeedback and support
If something breaks on your PC or feels rough or you have ideas and concerns while using the plugin send a direct message to @908Akash on X.
Repository layout
computer-use/
├── .gitattributes
├── .gitignore
├── LICENSE
├── README.md
├── ARCHITECTURE.md
├── SECURITY.md
├── plugin.json
├── mcp_config.json
├── requirements.txt
├── assets/
│ └── logo.svg
├── skills/
│ └── computer-use/
│ └── SKILL.md
├── scripts/
│ ├── launch_mcp.cmd
│ ├── computer_use_server.py
│ ├── local_matcher.py
│ ├── overlay_hud.py
│ ├── antigravity_brand.py
│ ├── uia_fast_bridge.cs
│ └── uia_daemon.ps1
└── tests/
└── test_computer_use.pyTool 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.
1Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Remote desktop MCP: let AI see, click, type and run terminal commands on your own Windows or Mac.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to inspect and drive native Windows desktop applications (WinForms, WPF, WinUI 3, and WebView2 hybrids) through Microsoft UI Automation by capturing interactive control snapshots, then clicking, filling, and asserting on elements via ephemeral refs or semantic screen-map targets. Mutating actions are dry-run by default and gated behind explicit arming, allow-lists, and a kill switch for lawful, assisted QA testing.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to drive Windows desktop automation — opening and interacting with applications, native UI controls, keyboard/mouse input, files, processes, clipboard, and Chrome/Edge browsing via UI Automation and CDP. All actions pass through a safety policy with human approval, emergency stop, and deterministic verification.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to inspect and control allowlisted Windows applications using screenshots, mouse actions, Unicode keyboard input, UI Automation, and an Esc/F12 emergency stop.1Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to operate Windows desktops through native UIA control, OCR text targeting, screenshots, and 54 tools for window, process, input, clipboard, file, registry, and document tasks with pause, observe-only, and privacy safeguards.MIT