# NexusWindows for Antigravity

Automates Windows desktop programs in the background using UI Automation and Win32 calls without hijacking your mouse or active window.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5
- Author: pironjulien
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pironjulien/NexusWindows-Antigravity
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/nexuswindows-for-antigravity

## What it does

The server gives AI agents a way to inspect and operate desktop software without seizing cursor focus. It relies on native Win32 window messages and Windows UI Automation. Windows stay behind other applications during execution unless explicit permission is granted with `foreground=True`. User input remains uninterrupted.

Interaction happens through five core tools: `windows` lists active programs, `look` inspects UI trees in text format, `act` executes queued actions like clicks or keystrokes, `launch` opens targets, and `window` terminates processes via `WM_CLOSE`. After every executed step, the engine returns execution feedback marking whether an action succeeded, was already finished, or failed.

Operation requires Windows 10 or 11, Astral `uv`, and Python 3.11+. While instructions and parameters are in English, the tool responses arrive in French. If an agent behaves unexpectedly, pressing `Ctrl+Alt+Shift+Esc` triggers an instant emergency stop.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `PYTHONUTF8` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env PYTHONUTF8=<PYTHONUTF8> --transport stdio nexuswindows-for-antigravity -- uvx nexus-windows-antigravity
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nexus-windows-antigravity <command>

### Codex

**Platform CLI**
```bash
codex mcp add nexuswindows-for-antigravity --env PYTHONUTF8=<PYTHONUTF8> -- uvx nexus-windows-antigravity
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nexus-windows-antigravity <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "nexuswindows-for-antigravity": {
            "command": "uvx",
            "args": [
                "nexus-windows-antigravity"
            ],
            "env": {
                "PYTHONUTF8": "<PYTHONUTF8>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nexus-windows-antigravity <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "nexuswindows-for-antigravity": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "nexus-windows-antigravity"
            ],
            "env": {
                "PYTHONUTF8": "<PYTHONUTF8>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nexus-windows-antigravity <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e PYTHONUTF8=<PYTHONUTF8> nexuswindows-for-antigravity uvx nexus-windows-antigravity
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from nexus-windows-antigravity <command>

## When to use it
- automate clicks and text entry in background Windows applications
- inspect desktop interface hierarchies without moving user focus
- launch desktop documents, scripts, and software with verification
- close unresponsive application windows through `WM_CLOSE`

## Example prompts
- Find the background editor window and click the save button
- Inspect UI elements in the background without pulling the window forward
- Launch the desktop application and submit the input form

## Similar
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [AIHawk](https://affpapa.org/en/nevibecode/mcp/aihawk.md) — MCP server · ★ 32260
- [Skyvern](https://affpapa.org/en/nevibecode/mcp/skyvern.md) — MCP server · ★ 23283
- [SeleniumBase MCP](https://affpapa.org/en/nevibecode/mcp/seleniumbase-mcp.md) — MCP server · ★ 13181
- [Inbox Zero](https://affpapa.org/en/nevibecode/mcp/inbox-zero.md) — MCP server · ★ 12826

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
