Desktop Pilot MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PILOT_HEADED | No | PILOT_HEADED=1 habilita explícitamente entrada física de ratón y teclado. Por defecto está deshabilitada. | 0 |
| AGENT_DESKTOP_BIN | No | Ruta absoluta a una compilación propia de agent-desktop, para trabajar sobre un fork del motor. | |
| AGENT_DESKTOP_HOME | No | Cambia el directorio de estado del motor original. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read desktop_skills_get with name desktop and platform before operating. Prefer pilot_observe and pilot_act. When available, use pilot_inspect for compact observations and pilot_changes for semantic differences; changes alone do not prove success. For chats use pilot_chat_read, pilot_chat_write and pilot_chat_wait. Never assume terminal surfaces expose a composer. Writing does not send unless a send button is explicitly supplied. Use pilot_request_status to inspect a cached write without replaying it. Reuse request_id after uncertain delivery; never resend with a new id without inspecting state. Stable text is not proof that generation finished. Commands are serialized within this server. A failed postcondition does not prove the action was not delivered. Retry mutations only when the upstream disposition.retry is safe. Physical input requires explicit operator enablement via PILOT_HEADED=1.
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 |
|---|---|
| desktop_snapshotB | agent-desktop snapshot: Capture accessibility tree as structured JSON with @ref IDs |
| desktop_findC | agent-desktop find: Search elements by role, name, value, or text content |
| desktop_screenshotB | agent-desktop screenshot: Take a PNG screenshot of an application window |
| desktop_getB | agent-desktop get: Read an element property (text, value, title, bounds, role, states) |
| desktop_isC | agent-desktop is: Check element state (visible, enabled, checked, focused, expanded, selected) |
| desktop_clickC | agent-desktop click: Click element via accessibility press action |
| desktop_double_clickB | agent-desktop double-click: Physically double-click element; requires --headed |
| desktop_triple_clickB | agent-desktop triple-click: Triple-click element; returns POLICY_DENIED when physical input is disabled |
| desktop_right_clickC | agent-desktop right-click: Open a context menu semantically, or physically with --headed |
| desktop_typeC | agent-desktop type: Insert text into a text target |
| desktop_set_valueC | agent-desktop set-value: Set element value directly via accessibility attribute |
| desktop_clearC | agent-desktop clear: Clear element value to empty string |
| desktop_focusB | agent-desktop focus: Set keyboard focus on element |
| desktop_selectB | agent-desktop select: Select an option in a list or dropdown |
| desktop_toggleC | agent-desktop toggle: Toggle a checkbox or switch |
| desktop_checkB | agent-desktop check: Set checkbox or switch to checked state (idempotent) |
| desktop_uncheckB | agent-desktop uncheck: Set checkbox or switch to unchecked state (idempotent) |
| desktop_expandC | agent-desktop expand: Expand a disclosure triangle or tree item |
| desktop_collapseB | agent-desktop collapse: Collapse a disclosure triangle or tree item |
| desktop_scrollC | agent-desktop scroll: Scroll element (--direction up/down/left/right, --amount N) |
| desktop_scroll_toA | agent-desktop scroll-to: Scroll element into visible area |
| desktop_pressC | agent-desktop press: Send a key combo: return, escape, cmd+c, shift+tab ... |
| desktop_key_downA | agent-desktop key-down: Hold a key or modifier down (fails closed in stateless mode; use press) |
| desktop_key_upA | agent-desktop key-up: Release a held key or modifier (fails closed in stateless mode; use press) |
| desktop_hoverC | agent-desktop hover: Move cursor to element center or coordinates (requires --headed) |
| desktop_dragC | agent-desktop drag: Drag from one element or point to another (requires --headed) |
| desktop_mouse_moveB | agent-desktop mouse-move: Move cursor to absolute screen coordinates (requires --headed) |
| desktop_mouse_clickC | agent-desktop mouse-click: Click at absolute screen coordinates (requires --headed) |
| desktop_mouse_downA | agent-desktop mouse-down: Press mouse button at coordinates (fails closed in stateless mode; use mouse-click or drag) |
| desktop_mouse_upA | agent-desktop mouse-up: Release mouse button at coordinates (fails closed in stateless mode; use mouse-click or drag) |
| desktop_mouse_wheelB | agent-desktop mouse-wheel: Scroll the mouse wheel at absolute coordinates (requires --headed) |
| desktop_launchA | agent-desktop launch: Launch application and return once its process is running; --activate waits for a window, --cdp verifies a DevTools endpoint |
| desktop_close_appB | agent-desktop close-app: Quit an application gracefully (--force to terminate) |
| desktop_list_windowsC | agent-desktop list-windows: List all visible windows (--app to filter by application) |
| desktop_list_displaysA | agent-desktop list-displays: List connected displays with bounds and scale factor |
| desktop_list_appsB | agent-desktop list-apps: List all running GUI applications (--app to filter) |
| desktop_focus_windowC | agent-desktop focus-window: Bring a window to front and confirm OS focus |
| desktop_resize_windowC | agent-desktop resize-window: Resize application window |
| desktop_move_windowC | agent-desktop move-window: Move application window to new position |
| desktop_minimizeC | agent-desktop minimize: Minimize application window |
| desktop_maximizeB | agent-desktop maximize: Maximize or zoom application window |
| desktop_restoreC | agent-desktop restore: Restore minimized or maximized window |
| desktop_list_surfacesC | agent-desktop list-surfaces: List accessibility surfaces for an app (window, menu, sheet ...) |
| desktop_open_system_surfaceB | agent-desktop open-system-surface: Open a shell surface (start-menu, taskbar, dock, menu-bar-extras ...) and return the window it presents, if any |
| desktop_list_notificationsB | agent-desktop list-notifications: List notifications from Notification Center |
| desktop_dismiss_notificationC | agent-desktop dismiss-notification: Dismiss a notification by index |
| desktop_dismiss_all_notificationsB | agent-desktop dismiss-all-notifications: Dismiss all notifications (--app to filter) |
| desktop_notification_actionC | agent-desktop notification-action: Click an action button on a notification |
| desktop_clipboard_getC | agent-desktop clipboard-get: Read plain-text or typed clipboard contents |
| desktop_clipboard_setC | agent-desktop clipboard-set: Write text to the clipboard |
| desktop_clipboard_clearB | agent-desktop clipboard-clear: Clear the clipboard |
| desktop_waitC | agent-desktop wait: Wait for time (ms), element presence, text, or window appearance |
| desktop_statusB | agent-desktop status: Show adapter health, platform info, and permission state |
| desktop_permissionsB | agent-desktop permissions: Check nested permission states: accessibility/screen_recording/automation each return {state,...} |
| desktop_versionB | agent-desktop version: Show version, target architecture, and OS |
| desktop_batchB | agent-desktop batch: Execute a bounded, sequential, non-atomic JSON command batch |
| desktop_skills_listB | agent-desktop skills list: List bundled skills with summaries (default) |
| desktop_skills_getC | agent-desktop skills get: Print a skill (markdown in data.content) |
| desktop_skills_pathB | agent-desktop skills path: Print where bundled skills live |
| desktop_session_startC | agent-desktop session start: Create a session directory and manifest |
| desktop_session_endC | agent-desktop session end: Seal a session manifest |
| desktop_session_listC | agent-desktop session list: List session manifests |
| desktop_session_gcB | agent-desktop session gc: Remove ended or provably-stale sessions |
| desktop_cursor_overlay_enableC | agent-desktop cursor-overlay enable: Enable and configure the cursor overlay for the selected session |
| desktop_cursor_overlay_disableA | agent-desktop cursor-overlay disable: Disable the cursor overlay for the selected session |
| desktop_trace_showC | agent-desktop trace show: Merge session trace segments into a bounded JSON timeline |
| desktop_trace_exportC | agent-desktop trace export: Export a self-contained HTML trace viewer |
| pilot_observeC | Observe a desktop window using accessibility and optionally an image. |
| pilot_actA | Resolve one unique target in a fresh complete snapshot, act once, and check a unique postcondition in the same window. Never retries a mutation. |
| pilot_request_statusA | Read the state and result for a chat write request_id (persistent when Rust is enabled) without operating the desktop. Unknown does not prove non-delivery in another process or before restart. |
| pilot_chat_readB | Read bounded text from a desktop chat or terminal accessibility tree; list observed editable controls. Region must be unique. Does not infer message authors. |
| pilot_chat_writeA | Write and verify exact multiline text in a unique accessible composer. Preserves an existing draft unless replace=true. Optional send clicks a fresh unique button once. request_id prevents replay across restarts when Rust is enabled; reuse it after uncertain delivery. Never sends Enter to a terminal. |
| pilot_chat_waitA | Poll a unique accessible response region until text changes (by default) and becomes stable, optionally containing a string. Stable does not mean generation is complete. Supply baseline from your last read to avoid missing fast responses. |
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 73 tools
Most tools target distinct operations, but there is significant overlap between the low-level desktop_* primitives and the high-level pilot_observe/pilot_act/pilot_chat_* tools. Multiple click, text-entry, scrolling, and mouse variants also require careful reading to distinguish.
Almost all names use snake_case and readable verbs, but the conventions are mixed: some are desktop_<verb>_<noun> (desktop_list_windows), others are desktop_<resource>_<verb> (desktop_clipboard_get, desktop_session_start), and the pilot_* layer adds a second prefix pattern.
73 tools is far beyond a practical selection scope for an agent, even for a broad desktop-automation domain. The surface includes overlapping primitive and high-level layers, making the set excessively heavy.
The tool surface is very comprehensive: window management, accessibility snapshots, mouse/keyboard input, clipboard, notifications, sessions, tracing, skills, permissions, and specialized chat automation are all covered. I do not see major dead ends for the apparent desktop-control domain.