anysnap
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
AnySnap lets the user share a Mac window with you. When the user presses the AnySnap hotkey (left ⌘ + right ⌘ by default), only a screenshot of the window is pasted into the chat, while the full window text (read from the accessibility tree, including content scrolled off-screen) is saved as a snapshot. So whenever a user message contains a screenshot of an app window, or the user says "look at this", "this window", "what I just captured" and similar, call get_latest_snapshot with include_screenshot=false before answering, and use its text together with the image. If several screenshots were sent, call list_snapshots and get_snapshot for the matching ones (compare app, window title and time). Each result starts with how long ago it was taken: if the app/window does not match the image, or it is clearly older than the screenshot the user just sent (for example a manual screenshot), ignore it and rely on the image alone. Do not mention this lookup to the user unless it fails or does not match. Call capture_window to grab their frontmost window yourself when asked.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_latest_snapshotA | Get the most recent app snapshot the user captured with the AnySnap hotkey. Call this whenever the user sends a screenshot of an app window: the chat only shows the image, this returns the window's full text (including text scrolled off-screen), app name, window title and URL. Use include_screenshot=false when the image is already in the chat. |
| capture_windowA | Capture the user's frontmost app window right now (the AI client's own window is skipped). Returns screenshot + accessibility text including off-screen text. Optionally target a specific app. |
| list_snapshotsC | List recent snapshots (id, time, app, window title). |
| get_snapshotB | Get a specific snapshot by id (from list_snapshots). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
get_latest_snapshot and get_snapshot overlap in that both retrieve a snapshot, but the 'latest' vs 'by id' distinction is clearly described and an agent can pick correctly. capture_window vs get_latest_snapshot is distinct (live capture vs stored snapshot).
All four tools follow a consistent verb_noun snake_case pattern: get_latest_snapshot, capture_window, list_snapshots, get_snapshot. The single deviation is 'latest' as a qualifier, which is still readable and predictable.
Four tools is a tight, well-scoped set for a snapshot-focused server with each tool earning its place. It's on the thin side but appropriate given the narrow domain, with no redundancy.
The surface covers the full capture-list-get lifecycle (live capture, list recent, get by id, get latest). Minor gap: no delete/cleanup operation, but core read/capture workflows are complete.