Your agent uses the computer. You keep using it.
An MCP server that reads accessibility trees and acts by element id.
- stdio MCP
- macOS pointer stays yours
- ChromeFirefox
- Apache-2.0
claude mcp add deskhand -- npx -y deskhand-mcp
The first run downloads the release binary for your platform. Prefer to build it yourself? Build from source.
How it works
Look. Act. Verify.
Every action, on macOS, without your pointer.
-
01 look
get_app_state
Every control gets an id.
-
02 act
click e12
Your pointer stays put.
-
03 verify
edit_text
Reads it back.
Evidence
A per-user broker multiplexes every agent session onto one worker and one browser bridge. The broker test suite passes: multiplexing, id isolation, cancellation isolation, worker restart, session isolation, disconnect cancellation and idle shutdown.
Transcript
Tool results, quoted from the README
Built server, 28 November 2026. Prompts only name the tools.
> get_app_state > edit_text appended to e3 via accessibility; verified: value is now "hello world" # with COMPUTER_USE_BACKGROUND_ONLY=1 > activate_app error: foreground_required: background-only mode refused to activate an app…
Why Deskhand
What sets it apart
Checked on this Mac only. No head-to-head claims.
Works in windows you aren't looking at (macOS)
Actions go through accessibility or events addressed to one app's window.
Evidence
Checked live: while the agent clicked an element and appended text in a background TextEdit window, the mouse position and the frontmost app were identical before and after.
Re-run on 29 November 2026: edit_text returned appended to e3 via accessibility; verified: value is now "Deskhand wrote this line into a window you were not looking at." and a list of running apps taken afterwards still showed T3 Code in front.
Acts by element id, not by pixel
get_app_state gives every control an id; run_steps runs known actions in one call and stops at the first failure.
Evidence
Calculator, 29 November 2026: seven steps, pressed by id with AXPress (AC, 1, 2, ×, 3, 4, =). The display read back 408.
Policy you control
A policy.json can block apps and sites.
get_app_statepolicy_blockedscreenshotpolicy_blockedactivate_apppolicy_blockedEvidence
Checked live: a blocked app made get_app_state, screenshot and activate_app all return policy_blocked, and an invalid policy file blocked everything instead of being ignored.
More
-
Firefox as well as Chrome
The same
browser_*tools, on macOS.Evidence
The tools reach Firefox through an add-on, built and tested on Zen. Other Firefox builds are untested. On 1 December 2026,
deskhand doctoron this Mac reported both extensions connected, at version 0.11.0. -
Strict background-only mode
The server refuses foreground handoffs.
COMPUTER_USE_BACKGROUND_ONLY=1Evidence
Checked live:
activate_appreturnederror: foreground_required: background-only mode refused to activate an app…. -
Machine-readable errors
An
error_codeto branch on.seen live
policy_blockedforeground_requirednot_foundEvidence
Results carry
structuredContentwith anerror_code, so an agent can branch without parsing prose. -
Verified edits
edit_textreads the value back first.Evidence
Checked live:
appended to e3 via accessibility; verified: value is now "hello world". -
A health check that names the fault
Permissions, bridges and extensions, as JSON.
deskhand doctorEvidence
deskhand doctorprints permissions, bridge state, extension capabilities and versions, and native hosts as JSON.
Tools
Tools (55)
Read from tools/list of the built binaries; Rust lists 51.
No tool matches . Try a shorter word.
- list_apps
- get_app_state
- observe_app
- list_windows
- get_media_state
- screenshot
- zoom
- list_displays
- wait_for_state
- open_app
- open_resource
- click
- right_click
- hover
- drag
- scroll
- type_text
- set_value
- edit_text
- select_text
- press_key
- manage_window
- media_control
- menu_action
- activate_app
- wait
- run_steps
- clipboard_read
- clipboard_write
- browser_open_tab
- browser_list_tabs
- browser_use_tab
- browser_release_tab
- browser_select_tab
- browser_close_tab
- browser_close_all_tabs
- browser_preserve_tab
- browser_navigate
- browser_snapshot
- browser_form_snapshot
- browser_read
- browser_screenshot
- browser_click
- browser_select_option
- browser_hover
- browser_handle_dialog
- browser_page_errors
- browser_type
- browser_fill
- browser_upload_file
- browser_press_key
- browser_frames
- browser_request_credentials
- file_picker_state
- file_picker_choose
macOS only. Every result carries structuredContent.
Parity
macOS only: manage_window, menu_action, file_picker_state, file_picker_choose. scripts/check-tool-parity.mjs passes: 55 tools, identical in order, text and schema, with the 4 macOS-only tools left out of the Windows and Linux list.
Measurements
Three numbers, measured
Median of 10 calls, Zen reads, 28 November 2026.
-
0.008s
browser_list_tabs32 tabs, 1.3K tokens.
-
0.041s
browser_readBackground tab, 5.1K tokens.
-
0.132s
browser_snapshotSame tab, 2.6K tokens.
Method
Measured on 28 November 2026: MacBook Pro (Apple M4 Pro, 24 GB), macOS 27.0.1, release build of commit 8206eef, called over stdio with the repository's own MCP client (scripts/mcp-client.mjs), directly to the binary and not through the broker. One warm-up call dropped, then 10 timed calls, median reported. Tokens are characters divided by 4.
browser_list_tabs ran with browser: "zen", all: true, 32 tabs. browser_read and browser_snapshot read the GitHub page of this repository in a background Zen tab. These include the round trip through the Zen extension and its native host.
Not measured
- Chrome browser tools on real, signed-in pages
- Windows
- Linux
- Desktop reads of a large file list
- Finder benchmark (abandoned)
Why
Chrome: the browser tools were timed only against a local page in a throwaway headless Chrome (1 ms for a read, 3 December 2026, see the README), not on real pages in a signed-in Chrome. The Finder benchmark was attempted and abandoned: the Finder window opened on a different Space from the agent's window, so it was not reachable, and moving your Spaces to force it was not worth it.
Earlier README numbers for these cases and for other servers came from a different codebase and machine, and were removed.
Install
Install
Run it with npx -y deskhand-mcp, or build from source below. The deskhand package on npm is an unrelated project.
Where it is available
npm v0.11.0
deskhand-mcp. npx -y deskhand-mcp downloads the release binary for your platform and starts the server.
MCP Registry v0.11.0
Listed as io.github.all3n2601/deskhand-mcp.
GitHub Releases v0.11.0
Binaries for macOS (universal), Windows (x64) and Linux (x64, arm64), the Chrome extension, the signed Firefox add-on (built and tested on Zen), and SHA256SUMS.txt.
Not available
A notarized macOS build (it is ad-hoc signed), a Chrome Web Store listing, and a listed addons.mozilla.org page for the Firefox add-on.
-
Register
Claude Code
Add
--scope userfor every project.claude mcp add deskhand -- npx -y deskhand-mcpCodex
~/.codex/config.toml[mcp_servers.deskhand] command = "npx" args = ["-y", "deskhand-mcp"]Cursor
~/.cursor/mcp.json{ "mcpServers": { "deskhand": { "command": "npx", "args": ["-y", "deskhand-mcp"] } } } -
Grant permissions
macOSnpx -y deskhand-mcp request-permissions # Accessibility and Screen Recording npx -y deskhand-mcp doctor # JSON report: permissions, bridges, extensions
Build from source instead
-
Build
# macOS (macOS 14+; Swift 5.9 or newer) (cd macos && swift build -c release)# Windows / Linux (Rust 1.100, pinned in rust-toolchain.toml) (cd windows-linux && cargo build --release) -
Grant permissions
macOSmacos/.build/release/deskhand request-permissions # Accessibility and Screen Recording macos/.build/release/deskhand doctor # JSON report: permissions, bridges, extensions -
Register the binary you built
claude mcp add deskhand -- /path/to/deskhandUse the absolute path of the binary. For Codex or Cursor, put that path in
command.
Chrome and Firefox
Chrome
- Download
deskhand-chrome-extension.zipfrom the release, unzip it and load it unpacked npx -y deskhand-mcp install-native-host
Other route
From a checkout: load chrome-extension/ unpacked and run deskhand install-native-host, or sh chrome-extension/install.sh; COMPUTER_USE_PATH points it at the binary.
Firefox macOS tested on Zen
npx -y deskhand-mcp install-native-host- Install the Mozilla-signed deskhand-zen-0.11.0.xpi: drag it into the browser, or File ▸ Open File
Signed as an unlisted add-on, so it survives restarts. Built and tested on Zen only. The tools take browser: "zen" for it.
Not re-run from scratch for the README. More detail
FAQ
Questions before you install it
Is there a download?
Yes. npx -y deskhand-mcp downloads the release binary for your platform and starts the server, and the release page has the macOS, Windows and Linux builds. The npm package is deskhand-mcp; the deskhand package is unrelated.
What does it need permission for?
On macOS, Accessibility and Screen Recording. deskhand request-permissions asks; deskhand doctor reports what is missing, as JSON.
Which agents can use it?
Any MCP client over stdio. The README names Claude Code, Codex, T3 Code and Cursor.
Will it move my mouse?
On macOS, not in the checks run here. The source says Linux pointer input moves the real pointer.
Does it work on Windows and Linux?
The Rust server builds and its 212 unit tests pass on a Mac. Real desktops: unverified. It lists 51 tools.
Can I keep it away from some apps?
Yes: a policy.json can block apps and sites. It is a guard rail, not a sandbox.
What about passwords?
browser_request_credentials exists so a password never passes through the conversation.
Limits
Honest limits
Rechecked 1 December 2026. These limits are still true.
Not verified
Windows and Linux on real desktops: not run.
It builds, and 212 unit tests pass on a Mac. Real-desktop use is unverified.
Detail
The Rust server builds and its 212 unit tests pass on a Mac, but how well it works alongside you there is unverified. The source says Windows UI Automation patterns avoid the pointer where they apply, and that Linux pointer input moves the real pointer.
Known problems
-
Zen page content through desktop tools
Use
browser_*for Zen pages.Detail
A Zen or Firefox window whose accessibility tree has no elements returns
error: unsupported:and says to read and edit the page with thebrowser_*tools. A window that does expose elements is read as usual. Taking focus to force a richer tree is not done. -
Coordinate clicks without
appThey hit the window under that point.
Detail
Observed live:
clickat (400, 400) with noappreturnedclicked at (400, 400) in background. Aim carefully, or passapp.
Also not verified
-
Install steps for Chrome and Zen from scratch: not run.
-
askand site rules inpolicy.json: not exercisedDetail
They exist in the source and are documented in the policy header, but were not exercised in this verification run.
-
cargo clippy -D warningson this Mac: failsDetail
It fails with dead-code errors in platform-gated code. CI runs clippy on Ubuntu and Windows only.
-
The policy is not a sandbox
Detail
A guard rail for an agent that follows its instructions. A coordinate click lands wherever it points, and a whole-display screenshot shows every window.
Try it on your own desk.
claude mcp add deskhand -- npx -y deskhand-mcp