Windows GUI automation MCP backed by AutoItX (PyAutoIt). Deterministic UI driving for runtime verification of patched/cracked apps: launch a target, wait for windows, drive menus/controls/coords, type keys, read control/window text, search pixels, and ASSERT results on disk — without relying on screenshots.
autoit-mcp defines 25 tools with consistent naming (au_* prefix) and structured JSON returns. All tools have descriptions (10-200 chars, baseline 194) and input schemas with typed parameters. However, descriptions are terse and lack LLM-optimization guidance (e.g., 'when to use', 'prerequisites'). Output schemas are undocumented, LLMs cannot predict return fields. Error handling is generic (wrapped in {ok:false,error}); no recovery guidance or categorization. No parameter enums despite many accepting constrained values (e.g., au_win_set_state action, au_mouse_click button). Missing: idempotency notes, permission scopes, and chaining hints. Composition is sound (single responsibility per tool), but descriptions need expansion to meet production LLM-optimization standards.
Read the Windows clipboard text.
Write text to the Windows clipboard.
Click a control by AutoIt control id/text (e.g. 'Button1', '[CLASS:Edit;INSTANCE:1]').
Read a control's text (verify dialog/label state).
Send keys straight to a control WITHOUT activating the window (sturdier than au_send for background windows / no focus theft).
Set a control's text directly (e.g. classic dialog 'Edit1').
Enumerate all visible top-level window titles (find dialog names).
Output schemas undocumented. LLMs cannot predict return fields (e.g., au_run returns {pid, cmd}, au_win_get_pos returns {left, top, width, height}). Agents cannot plan downstream tool calls or extract required data.
Constrained parameters lack enums. au_win_set_state action, au_mouse_click button, au_control_click button accept fixed sets of values but are defined as free-form strings. LLMs hallucinate invalid values.
Descriptions lack LLM-optimization guidance. Most descriptions are 50-70 chars and omit 'when to use', 'prerequisites', or 'common next steps'. Baseline for A+ tools is 50-200 chars with explicit context.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 53 | <=2025-11-25 | v2 |
Click at absolute physical screen coordinates.
Move the cursor to absolute physical screen coordinates.
Force-kill all processes by image name (e.g. 'crackme_patched.exe').
True if a process with this image name is running (returns its pid).
Wait up to `timeout` s for the named process to exit.
Launch a program (optionally one argument string + working dir). Returns the OS pid. Does not wait.
Send keystrokes to the active window. AutoIt key syntax unless raw=True (raw types every character literally, e.g. full file paths).
Set an AutoIt option, e.g. ('WinTitleMatchMode',2) or ('SendKeyDelay',25).
Read a window's status-bar text part (e.g. tool hints / cursor coords).
Bring the matching window to the foreground.
Send WM_CLOSE to the matching window.
True if a window whose title contains `title` currently exists.
Window position/size in physical pixels (left, top, width, height).
Bitmask state of a window (1=exists,2=visible,4=enabled,8=active, 16=minimized,32=maximized).
Read the visible text harvested from a window (labels, static text in dialogs) — handy to verify a nag/About/error dialog's content.
Select a native menu item by TEXT (e.g. '&File','Save &As...'). The most reliable way to drive an app's menu bar — no focus stealing, no accelerators. Use the visible menu text including the '&' mnemonics if present.
Show/hide/min/max/restore/activate a window. action in: show,hide,minimize,maximize,restore.
Wait up to `timeout` s for a window whose title contains `title`. Returns exists=True/False (never raises on timeout).
Error handling is generic. All errors wrapped in {ok:false, error} with no recovery guidance, categorization (retryable/user-fixable/fatal), or actionable next steps. Agents cannot self-correct.
No permission scopes or audit trail. Tools like au_process_close (destructive) and au_send (input injection risk) lack scope declarations or logging guidance for compliance/incident response.