cuop
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.
Desktop computer use through the macOS accessibility tree. Every model turn re-reads the whole conversation, so make as few calls as you can.
Start with one desktop_snapshot; pass goal = words shown on screen for what you need. Refs are @:eN from the header.
Most actions return the window's diff. Trust it: do not snapshot, find or get the same screen again to confirm. If it is missing, snapshot with diff=true (changes only).
Use find only for a ref you have not seen (a menu command: find surface=menubar name=…). Do not get a property that the tree already shows.
Retry only when error.disposition.retry is safe.
Actions are headless; pass headed=true when a background app ignores semantic input (a search field, a list that will not open, typing into Office): type and press then send real keys and bring that window forward. Words go in with type or set_value; press is for single keys and shortcuts.
Some apps keep their content out of the tree: Excel's cell grid, PowerPoint's slide canvas, canvases and images. Do not search the tree for it; go straight to keys and at most one screenshot (Excel: headed type a cell address into the Name Box + return, then headed type the value). Other apps: use the tree.
Word builds its body text only after it has been frontmost once: focus_window, then snapshot (allow a few seconds).
Open/Save panels: press cmd+shift+g, type the full path, press return — once, instead of browsing folders. Full guide: desktop_skills_get name=cuop (macOS details: cuop-macos).
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| desktop_snapshotB | Read a window as text: one line per element |
| desktop_findC | Find elements by role / name / text in an app (also closed menus with surface=menubar); returns refs. |
| desktop_getC | Read one property of a ref (value, bounds, states, …). |
| desktop_clickB | Click (press) a ref. Menu items run even in closed menus. Each action returns a diff of the window ( |
| desktop_double_clickC | Double-click a ref (needs headed). |
| desktop_right_clickC | Open a ref's context menu. |
| desktop_clearC | Empty a field. |
| desktop_focusC | Give a ref keyboard focus (e.g. a document area before pressing keys). |
| desktop_toggleC | Flip a checkbox / switch. |
| desktop_checkC | Turn a checkbox / switch / radio on. |
| desktop_uncheckC | Turn a checkbox / switch off. |
| desktop_expandC | Expand a disclosure / tree row. |
| desktop_collapseC | Collapse a disclosure / tree row. |
| desktop_typeC | Insert text at the caret of a ref (headless: accessibility insert; headed: real key presses). |
| desktop_set_valueC | Replace a field's whole value. |
| desktop_selectC | Choose an option by its label in a popup, combo box or list. |
| desktop_scrollC | Scroll a ref's scroll area (direction up|down|left|right, amount). |
| desktop_pressC | Send a key or shortcut (e.g. return, cmd+s) to app / window_id. |
| desktop_mouse_clickC | Click screen point xy=X,Y (points; headed). From a screenshot: origin + pixel / scale_factor. |
| desktop_waitC | Wait for ms, an element (role:text), a window, text, a menu or an event. |
| desktop_launchB | Open an app that is not running (background unless activate); a running app needs no launch. |
| desktop_focus_windowC | Bring a window to the front. |
| desktop_screenshotC | Capture one window as an image (for canvases and visual questions). |
| desktop_list_windowsC | List an app's windows (ids w-N for window_id). |
| desktop_skills_getC | Read the full usage guide (name=cuop or cuop-macos). |
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 25 tools
Most tools target clearly distinct actions (type vs. set_value vs. clear, press vs. type, snapshot vs. find vs. get). A few pairs need the descriptions to separate them: desktop_click vs. desktop_mouse_click (ref vs. screen point), desktop_focus vs. desktop_focus_window (element focus vs. window raise), and the check/uncheck/toggle trio. The descriptions do resolve these, so boundaries remain workable.
All tools share a uniform snake_case `desktop_` prefix with verb or verb_noun forms, which is highly predictable. Minor deviations like desktop_mouse_click (extra noun) and noun-less names such as desktop_screenshot and desktop_snapshot slightly break the pattern but stay readable.
25 tools sits at the heavy end for a desktop-automation surface, and several are near-redundant: check/uncheck/toggle cover the same control states, and double_click/right_click are variants of click. The breadth is justified by the domain, but some consolidation would tighten the set.
Coverage is strong: snapshots, find, per-ref actions, keyboard/mouse input, window management, screenshots, waiting, and a usage guide cover the core automation lifecycle. Gaps remain for drag-and-drop, clipboard read/write, and window move/resize, which agents may need in real workflows.