MCP server for GNOME Wayland desktop automation. Drives the user's real pointer and keyboard through uinput, or a nested sandbox desktop window.
wayhand-mcp provides 18 tools for desktop/sandbox automation with consistent naming (verb_noun pattern: screenshot, move, click, etc.) and detailed parameter descriptions. All tools have descriptions (194-char baseline met). However, output schemas are not documented in the visible code, only input schemas are defined. Parameter descriptions are strong (explaining coordinate systems, target behavior, prerequisites), but error handling guidance is minimal. No tool annotations (readOnlyHint/destructiveHint) despite clear risk levels. Missing documentation of return types and error recovery paths.
Abort the current calibration session.
Record a calibration point. Call after moving the pointer to a known position and taking a screenshot.
Start desktop-target calibration. Moves the pointer to known positions and takes screenshots to fit the pixel-to-ABS coordinate transform.
Click a mouse button at the current pointer position.
Double-click a mouse button at the current pointer position.
Drag from the current pointer position to (x, y).
Press a key combination (e.g. 'ctrl+c', 'alt+Tab').
Output schemas not documented. Tools define input schemas but no visible documentation of return types, fields, or structure. LLMs cannot plan downstream calls or extract required data.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). Tools are marked with Risk levels (READ_ONLY, WRITE) in metadata but not exposed via MCP tool annotations for agent safety.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | <=2025-11-25 | v2 |
Press and release a keyboard key by name or code.
Press a keyboard key without releasing it.
Release a keyboard key that was pressed with key_down.
Move the pointer to (x, y) in the target. x,y are pixel coordinates in the most recent screenshot of the same target, origin top-left.
Paste text from clipboard using Ctrl+V.
Launch an application in the sandbox. sandbox_start must be called first.
Start a nested sandbox desktop window. Must be called before using target=sandbox.
Stop the sandbox and clean up resources.
Take a screenshot of the target (sandbox or desktop). Returns PNG image data in base64.
Scroll the mouse wheel at the current pointer position.
Type text by pressing and releasing keys. Supports ASCII text and common punctuation.
Error handling lacks recovery guidance. Code shows BudgetError, coordinate mapping errors, and state validation, but no visible error response messages that tell LLMs what to do next (e.g., 'Call screenshot first', 'Sandbox not running').
Calibration tools (calibrate_start, calibrate_point, calibrate_abort) lack clear prerequisites and state machine documentation. LLMs cannot infer the required sequence or error conditions.
Key parameter in 'key', 'key_down', 'key_up' accepts both key names and XKB codes but lacks enum constraints or validation examples. LLMs may pass invalid key names.