agy_computer_use.mcp_server
Provides native Windows desktop computer-use and GUI grounding tools designed for Google Antigravity 2.0, enabling capture, Set-of-Marks grounding, Win32 input synthesis (clicks, typing, hotkeys, scrolling), background/ghost desktop interaction, and a visual safety oracle with a Merkle audit trail.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agy_computer_use.mcp_servercapture my screen with marks, then click the Save button"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AGY Computer Use & GUI Grounding (agy-computer-use v1.0.0 Prototype)
Status: Public Prototype Release (
v1.0.0-prototype). Actively tested on Windows 11 (WinSta0\Defaultand backgroundPrintWindow/ Ghost Desktop sessions) with Google Antigravity 2.0.
Native Windows Desktop Computer-Use, UIA + Set-of-Marks (SoM) Grounding, [0, 1000] Bijective Coordinate Normalization, Win32 SendInput & Focusless PostMessageW Action Synthesis, Window Session Management, and RFC 6962 Visual Safety Oracle for Google Antigravity 2.0.
Key Capabilities
Win32 GDI & Synthetic Screen Capture (
agy_computer_use.capture)Live Win32 GDI (
user32/gdi32BitBlt+GetDIBits) desktop and region capture with automaticWinSta0\Defaultsandbox bridge and deterministic synthetic fallback for headless CI.Zero-dependency pure-Python 24-bit BMP (
b"BM") and zlib-compressed PNG (IHDR/IDAT/IEND) encoders.Top-level window enumeration (
enumerate_visible_windows) and interactive child UIA control extraction (extract_uia_element_tree).
Per-Monitor DPI & Set-of-Marks Grounding (
agy_computer_use.som)Per-Monitor DPI V2 scale detection (
get_monitor_dpi_scale).Bijective
[0, 1000] x [0, 1000]coordinate normalization (normalize_to_grid_1000) and denormalization (denormalize_from_grid_1000) with multi-monitor negative origin offset invariance.Visual Set-of-Marks (
annotate_som_elements) bounding box and numbered tag overlay.
GUI Action Dispatch, Clipboard Fast-Path & Fail-Safe Corner (
agy_computer_use.actions)Synthesizes Win32
INPUT(MOUSEINPUT/KEYBDINPUT) structures for 9 action types:click,double_click,right_click,move,drag,scroll,type_text,hotkey,key_tap.Verified
CF_UNICODETEXTclipboard paste (clipboard_paste_text) with read-back verification and prior clipboard state restoration.Direct Set-of-Marks
mark_idtarget lookup and(0, 0)top-left fail-safe abort (ComputerUseSafetyAbort).
Background Window Capture & Ghost Desktop Isolation (
agy_computer_use.background)Captures occluded or off-screen windows without stealing foreground focus via
PrintWindow(PW_RENDERFULLCONTENT)(capture_window_background).Dispatches focusless pointer and keyboard messages via
PostMessageW(WM_LBUTTONDOWN,WM_MOUSEMOVE,WM_CHAR,WM_SETTEXT) (dispatch_background_window_action).Off-screen window staging (
stage_window_offscreen/restore_window_onscreen) and isolated Win32 secondary desktop (GhostDesktopSessionviaCreateDesktopW).
Window Session Manager, UIA Diffing & Bezier Trajectories (
agy_computer_use.window_session)WindowSessionManagerenforcingscreenshot_idgeometry validation (rejecting stale screenshots when target windows move or resize) andCompactionImageBudgetsliding-window image eviction.Hierarchical
#1..#NUIA tree text formatter (format_uia_tree_text) and incremental structural tree diffing (diff_uia_trees).7-control-point (
P0..P6) two-segment cubic Bezier cursor trajectory synthesis (synthesize_bezier_cursor_path),WDA_EXCLUDEFROMCAPTURE(0x11) overlay cloaking (apply_exclude_from_capture), and physical ESC / mouse movementInterruptionMonitor.
64-Bit Perceptual dHash, Prompt-Injection Shield & RFC 6962 Merkle Safety Oracle (
agy_computer_use.safety_oracle)64-bit horizontal gradient difference hash (
compute_frame_dhash64) and Hamming delta classifier ([FACT]for>= 2bits,[NO_EFFECT]for< 2bits).SafetyPolicywindow filter blocking password managers, credential dialogs, UAC, and SmartScreen, plus indirect UI prompt-injection scanner (detect_ui_prompt_injection) and<node_repl_review_evidence>XML isolation (wrap_untrusted_ui_evidence).VisualActionOraclemaintaining an RFC 6962 (0x00leaf /0x01internal node) SHA-256 Merkle audit trail with cryptographic inclusion proof verification (verify_action_receipt).
7-Tool MCP JSON-RPC 2.0 Server (
agy_computer_use.mcp_server)cu_capture_som,cu_click,cu_type,cu_hotkey,cu_scroll,cu_verify_oracle,cu_merkle_audit(all composite tool identifiers strictly<= 50chars, well below the 64-character Antigravity limit).
Related MCP server: atomic-computer-mcp
Installation & Verification
python -m pip install -e . --no-deps
python -m pytest tests/ -vLicense
MIT License - Copyright (c) 2026 orakulzero
This server cannot be deployed
Maintenance
Related MCP Connectors
Eyes and hands on real Windows PCs — observe, click, type via Glasswarp API.
Automate 1,000+ services from any MCP-compatible AI agent: build Applets, run actions and queries.
- PomeradoOAuthai.pomerado
MCPs that do tasks on any website. Search flights, book, shop, check accounts and fill in forms.
Paid deterministic utilities and automation services for AI agents via MCP and x402.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI clients to automate Windows desktop applications through window manipulation, image recognition, OCR, keyboard/mouse simulation, and memory operations via the MCP protocol.MIT
- FlicenseNot gradedqualityDmaintenanceEnables automation of native Windows desktop applications through screen capture, mouse/keyboard control, and waiting for UI changes, exposing them as MCP tools.1-
- AlicenseNot gradedqualityBmaintenanceEnables AI clients on Windows to control the local mouse, keyboard, and screen understanding via MCP stdio, allowing automated workflows like viewing the screen, locating elements, clicking, typing, and verifying results.1Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables agents to control Windows desktop applications through UI Automation and Win32, supporting window management, mouse/keyboard input, element inspection, screenshots, OCR, macro recording, and autonomous multi-app missions. It also provides an HTTP/stdio MCP interface, an operator UI, and optional telemetry and safety controls.MIT