Marey
v0.1.0Give AI agents eyes for motion: see what changed on screen, not just how it looks.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
record
Record the screen for a fixed duration and return a numbered, timestamped contact sheet (a grid of still frames) as an image. Use this to inspect motion: dragging, animations, flashes, reordering, anything that cannot be understood from a single screenshot. Raw frames are also saved to disk.
| Parameter | Type | Description |
|---|---|---|
cols | number | Thumbnails per contact-sheet row. Overrides the detail preset. Fewer columns = larger, more legible cells. |
delay | number | Seconds to wait before recording starts (default 0). |
detail | string | Legibility preset for the contact sheet (default "overview"). A returned image has a fixed resolution budget split across columns, so fewer/wider cells show more. "overview" = 4 cols @ 480px (many fra… |
fps | number | Frames captured per second (default 2). |
region | string | primary monitor, the full virtual desktop, or a window (default primary). Prefer "window" when a single app is involved: a smaller source means each thumbnail keeps more detail. |
seconds | number | Recording duration in seconds (default 5). |
thumbWidth | number | Thumbnail width in pixels. Overrides the detail preset. Note: has little effect once the sheet exceeds the client's inline-image size cap — reduce cols instead. |
title | string | Window-title substring to match when region is "window". |
capture
Capture a single screenshot immediately and return it as an image. Uses the same region-selection semantics as record.
| Parameter | Type | Description |
|---|---|---|
delay | number | Seconds to wait before capturing (default 0). |
region | string | Capture region (default primary). |
title | string | Window-title substring to match when region is "window". |
start_recording
Begin an OPEN-ENDED recording that runs until stop_recording is called. Use this (instead of record) when the USER controls the timing — e.g. they will perform a drag, open a menu, or trigger an animation and you cannot predict how long it takes. Start it on the user's cue, tell them to perform the interaction, then call stop_recording. Only one recording may be active at a time.
| Parameter | Type | Description |
|---|---|---|
cols | number | Thumbnails per contact-sheet row. Overrides the detail preset. |
delay | number | Seconds to wait before capture begins (default 0). |
detail | string | Contact-sheet legibility preset (default "overview"). See record. |
fps | number | Frames captured per second (default 2). |
region | string | Capture region (default primary). |
thumbWidth | number | Thumbnail width in pixels. Overrides the detail preset. |
title | string | Window-title substring to match when region is "window". |
stop_recording
Stop the recording started by start_recording and return the contact sheet (plus full-resolution frame paths), exactly like record. Errors if no recording is in progress.
list_windows
List visible windows (title, process, and geometry where available) so a target can be chosen for window capture.
get_frame
Return a single frame from a prior recording at FULL RESOLUTION, as an image. The contact sheet from `record` is a downscaled overview; when it is too small to read fine detail or small text, call this with the recording's directory and the frame number (both are listed in the `record` response), or with a direct frame path. This works over MCP without filesystem access.
| Parameter | Type | Description |
|---|---|---|
dir | string | Recording directory from a `record` result (its "dir" / "Frames saved under" path). |
index | number | 1-based frame number to fetch (e.g. 4 for frame #004). Required when using `dir`. |
path | string | Direct path to a frame PNG, as an alternative to dir + index. |