wayland-mcp-kurojs
v0.6.1Model Context Protocol server for Wayland desktop automation with VLM analysis, mouse/keyboard control, and action chaining
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
move_mouse Move Mouse
Move mouse to specified screen coordinates. Args: x: Horizontal position (0 = left) y: Vertical position (0 = top) relative: If True, moves relative to current position (default: False) Returns: dict: { 'success': bool, 'error': str (if failed) } Examples: move_mouse(100, 200) # Moves to absolute x=100, y=200 move_mouse(10, 10, relative=True) # Moves 10px right and down
| Parameter | Type | Description |
|---|---|---|
x * | integer | |
y * | integer | |
relative | boolean |
click_mouse Click Mouse
Simulate left mouse click at current position. Returns: dict: { 'success': bool, 'error': str (if failed) } Example: click_mouse() # Clicks at current cursor position
drag_mouse Drag Mouse
Perform drag operation between coordinates. Args: x1, y1: Start position x2, y2: End position Returns: dict: { 'success': bool, 'error': str (if failed) } Example: drag_mouse(100, 100, 200, 200) # Drags from (100,100) to (200,200)
| Parameter | Type | Description |
|---|---|---|
x1 * | integer | |
x2 * | integer | |
y1 * | integer | |
y2 * | integer |
scroll_mouse Scroll Mouse
Scroll vertically (positive=up, negative=down). Note: Each unit represents one notch on the scroll wheel (120 units = high-definition scroll). Typical values range from 2-3 to 5-10 for normal scrolling.
| Parameter | Type | Description |
|---|---|---|
amount * | integer |
capture_screenshot Capture Screenshot
Capture the screen, with measurement rulers drawn on the result.
| Parameter | Type | Description |
|---|---|---|
filename | string | Where to write the PNG. |
include_mouse | boolean | Draw the cursor, when the selected backend can. |
compare_images Compare Images
Compare two images using a VLM. Requires a configured VLM provider.
| Parameter | Type | Description |
|---|---|---|
img1_path * | string | |
img2_path * | string |
analyze_screenshot Analyze Screenshot
Analyze a screenshot with a VLM. Requires a configured VLM provider.
| Parameter | Type | Description |
|---|---|---|
image_path * | string | |
prompt * | string |
execute_action Execute Action
Execute system actions with chaining support. Handles both single actions and chained sequences. Args: action: Action string in format: Single: "prefix:params" (e.g. "click:100,200") Chain: "chain:action1;action2" (e.g. "chain:click:100,200;type:hello") Supported Actions: type:text - Type text press:key - Press key click/click: - Click at current position (both formats supported) move_to:x,y - Move to absolute coordinates (default) move_to:rel:x,y - Move relative to current position drag:x1,y1:x2,y2 - Drag between points scroll:amount - Vertical scroll (positive=u…
| Parameter | Type | Description |
|---|---|---|
action * | string |
capture_and_analyze Capture And Analyze
Capture then analyze the screen. Requires a configured VLM provider.
| Parameter | Type | Description |
|---|---|---|
prompt * | string |
describe_environment Describe Environment
Report which backends this machine offers, and which were selected. Call this first when a capture or an input action fails: it says what is installed, what the compositor advertises, and what that adds up to.