Skip to content

Releases

v0.19.0 — pixel-click names, numbered screenshots, background capture

Choose a tag to compare

@ahmetadakli ahmetadakli released this 27 Nov 07:46
670d65e

Fewer turns per desktop task: the agent learns what a pixel click hit, sees windows without bringing them forward, and clicks by number instead of by pixel.

New

  • Pixel clicks name their element. mouse now replies on [12] button "Send" with an id the next call can use, and after clicking something clickable on a web page it waits for the page to change (Linux). No name is given when it is unsure (the point is covered, a popup is open). On Windows the click is named by the control, not the text inside it.
  • Numbered screenshots. screenshot marks=true draws the ids of visible controls on the image and lists them, so the next call is act id=12 instead of a pixel click.
  • Background screenshots on KDE. screenshot window=X captures X where it is, without bringing it to the front or taking the focus from you.
  • wait_idle on pages that never stop changing (clocks, video, live counters) settles on the page's own content instead of timing out.
  • Smaller browser trees. Firefox's tab strip and tool bars become one line in tree and observe=tree (about 30–36% smaller).
  • Screenshots are capped at Claude's image limits; screenshot id=N crops to one element.
  • Kept reads survive mouse movement (needs readable /dev/input).

Fixed

  • An element in a window that is no "frame" (a plain Qt widget window) finds its window: with two such windows a click was refused as "not active".
  • Firefox on a scaled screen (125%) answered the pixel hit-test at the wrong point.

Tested live on KDE (Firefox, Dolphin, Konsole) and in a Windows 11 VM (Calculator, Edge, Notepad); the headless KDE CI job checks the hit-test and marks.

Update

  • Claude Code plugin: /plugin marketplace update, or /plugin marketplace add ahmetadakli/kde-desktop-mcp.
  • Linux, install script: curl -fsSL https://raw.githubusercontent.com/ahmetadakli/kde-desktop-mcp/main/tools/install.sh | bash
  • Windows: download desktop-mcp-v0.19.0-x86_64-windows.zip below and replace desktop-mcp.exe.
  • From source: git pull and cargo build --release.

Then reconnect the server (/mcp). Details: #65, #66.

v0.18.0 — Claude Code plugin, terminal tabs, headless KDE CI

Choose a tag to compare

@ahmetadakli ahmetadakli released this 23 Nov 18:58
048e10d

Install as a Claude Code plugin, reach terminal tabs by what runs in them, and a release checked by a real KDE session in CI.

New

  • Claude Code plugin. /plugin marketplace add ahmetadakli/kde-desktop-mcp, then install desktop-mcp (Linux) or desktop-mcp-windows. The launcher uses an installed desktop-mcp, else downloads this release and runs it only after checking it against SHA256SUMS. (The Windows launcher is not tested on Windows yet.)
  • Terminal tabs by command or directory. activate_window terminal="pytest" brings Konsole to the tab running it, and input tools take window: "terminal:<what>". The agent's own tab is never chosen for input.
  • tree to_file=true writes a large tree, with the same ids, to a private file and replies with its path and first lines.
  • Private screenshots. Saved screenshots go to a private directory ($XDG_RUNTIME_DIR/desktop-mcp, files 0600); save_to copies one to a path you choose without replacing anything.
  • doctor ends with a one-line JSON summary (blockers, failed checks, next step), also sent as structured content.

Checks

  • Every pull request now runs the server against a headless KWin with a real AT-SPI bus and a Qt test app (apps, tree, find, set_text, get_text, act, focus, type_text, allowlist).
  • cargo audit runs on every pull request and weekly; rustix was updated to 1.1.6 (RUSTSEC-2026-0486).
  • Tests check every tool's schema and annotations; closed sets of values are enums.

Update

  • Claude Code plugin: /plugin marketplace add ahmetadakli/kde-desktop-mcp.
  • Linux, install script: run it again — curl -fsSL https://raw.githubusercontent.com/ahmetadakli/kde-desktop-mcp/main/tools/install.sh | bash
  • Windows: download desktop-mcp-v0.18.0-x86_64-windows.zip below and replace desktop-mcp.exe.
  • From source: git pull and cargo build --release.

Then reconnect the server (/mcp). Details: #63.

v0.17.1 — self-client guard, fewer wasted turns

Choose a tag to compare

@ahmetadakli ahmetadakli released this 22 Nov 21:08
83ed96b

Safety and fewer wasted turns, from a study of 1,685 real tool calls and a live test on KDE.

Safety

  • Input never goes to the agent's own terminal tab or client window. In a real session an agent typed a sudo parted ... mklabel gpt command into the Konsole tab running Claude Code itself. Input tools now refuse (nothing sent) when the window in front, the target or a menu entry belongs to the client running the server. Konsole's tab in front is read over D-Bus; other tabs and windows stay usable. When the server runs under Claude Code's background daemon, every tab running a Claude Code client is refused. doctor names the client; self-client: allow in the allowlist turns it off.
  • Screenshots check the window they capture. The check and the capture used different sources, and a fallback captured whatever was in front. Both now use the same window, and failures say why (grim missing, ScreenShot2 error, ...).

Fewer wasted turns

  • A screenshot of a window already in front is never paused for user activity; an "unknown" app in front is named by caption and class.
  • In a browser, a page element wins a tie with the browser's tabs and toolbars ("picked over N browser-chrome matches").
  • click works inside a web page's modal dialog; a refusal for a background window names that window; a stale id lists the current elements of that name.
  • set_text: finds a field by its label, placeholder or description; a query naming a <label> fills the field it labels; a mask or formatting is a warning with the final value; it says why it could not type and that nothing changed; a late focus no longer fails it.
  • wait_for timeouts name the window and offer the closest elements, or say to use pause for a fixed wait.
  • launch of a running Firefox with a URL reports the window the page opened in at once.
  • The effect line waits for a page only after input that may load one.

Update

  • Linux, installed with the install script: run it again —
    curl -fsSL https://raw.githubusercontent.com/ahmetadakli/kde-desktop-mcp/main/tools/install.sh | bash
  • Windows: download desktop-mcp-v0.17.1-x86_64-windows.zip below and replace desktop-mcp.exe (the Windows parts of this release are built and linted but not yet tested on Windows).
  • From source: git pull and cargo build --release.

Then reconnect the server (/mcp in Claude Code). Details: #60, #61.

v0.17.0 — Windows parity

Choose a tag to compare

@ahmetadakli ahmetadakli released this 18 Nov 09:31
ba38be3

The Windows release: the Windows build now does nearly everything the Linux one does. Every change was tested on Windows 11 (25H2) with Notepad, Calculator, File Explorer and Edge.

Fixed on Windows

  • type_text no longer garbles text. It sent the whole text as one burst of key events, and Windows 11 Notepad turned "satır" into "rrrrr" and dropped Enter. Text is now pasted through the clipboard, and whatever the clipboard held (text, images, files, rich formats) is put back afterwards. Text the target did not read in time is taken back, so a typed password never stays on the clipboard.
  • act notices changes in apps such as Calculator ("no visible change" before).
  • Edge: scroll_to, page titles, page loading and picking an entry of a <select> work.

New on Windows

  • clipboard_get, clipboard_set
  • windows, move_window, close_window (says when a "save changes?" dialog appeared)
  • launch, including Store apps such as calculatorapp
  • menu in Windows 11 menu bars (Notepad's "File > Save As", nested submenus); act lists the menu it opened
  • file_dialog with the standard Open / Save As dialog
  • Store apps are listed under their own name (calculatorapp) instead of applicationframehost. An applicationframehost line in the allowlist still works, but no longer overrides a Store app's own line.

All platforms

  • Tools a platform does not support say "nothing sent", so the model does not stop to check.

Update

  • Linux, installed with the install script: run it again —
    curl -fsSL https://raw.githubusercontent.com/ahmetadakli/kde-desktop-mcp/main/tools/install.sh | bash
  • Windows: download desktop-mcp-v0.17.0-x86_64-windows.zip below and replace desktop-mcp.exe.
  • From source: git pull and cargo build --release in your clone.

Then reconnect the server in your client (/mcp in Claude Code). Details: #58.

v0.16.3 — window best match, type_text Enter

Choose a tag to compare

@ahmetadakli ahmetadakli released this 17 Nov 14:09
cf6dc9e

A small release: three changes that each save the model a turn.

Changes

  • window (on input tools and activate_window) picks the best matching window, not the first: a window titled exactly like the query, then one whose app is it, then partial matches. window: "Claude" no longer brings a terminal titled ~ : claude forward instead of Claude Desktop. KDE and Hyprland.
  • type_text presses Enter for a trailing newline, so "https://example.com\n" opens the address and "query\n" submits a search box. Newlines inside the text stay text.
  • act on a web page that changed nothing now says a browser may need a real click: file pickers (e.g. an import's "choose file") and some popups open only for one.

Update

  • Installed with the install script: run it again —
    curl -fsSL https://raw.githubusercontent.com/ahmetadakli/kde-desktop-mcp/main/tools/install.sh | bash
  • From source: git pull and cargo build --release in your clone.

Then reconnect the server in Claude Code (/mcp). Details: #56.

v0.16.2

Choose a tag to compare

@ahmetadakli ahmetadakli released this 17 Nov 12:46
57a37f3

A small fix release.

Fixes

  • file_dialog types the file name into portal file dialogs again (the "Open"/"Save" windows Firefox, Chrome and other sandboxed or GTK apps show through xdg-desktop-portal on KDE). Since 0.14 it refused them, because the portal window belongs to a different process than the app that asked for it.

Update

  • Installed with the install script: run it again —
    curl -fsSL https://raw.githubusercontent.com/ahmetadakli/kde-desktop-mcp/main/tools/install.sh | bash
  • From source: git pull and cargo build --release in your clone.

Then reconnect the server in Claude Code (/mcp). Details: #55.

v0.16.1 — find by role, Dolphin submenus

Choose a tag to compare

@ahmetadakli ahmetadakli released this 15 Nov 21:38
cb30c0e

A small fix release.

Fixes

  • find takes role alone (no query) and lists the elements of that role.
  • menu: submenus that apps fill only when shown on screen now open. Dolphin's "File > Create New" stayed empty before; it now lists its entries, and File > Create New > Folder opens the dialog. (On Wayland a popup shows only after recent input, so menu taps shift — it types nothing — and opens the parent menus first, only while the app's window is in front.)

Update

  • Installed with the install script: run it again —
    curl -fsSL https://raw.githubusercontent.com/ahmetadakli/kde-desktop-mcp/main/tools/install.sh | bash
  • From source: git pull and cargo build --release in your clone.

Then reconnect the server in Claude Code (/mcp). Details: #52.

v0.16.0 — prebuilt binaries and one-command install

Choose a tag to compare

@ahmetadakli ahmetadakli released this 15 Nov 05:12
04edcad

Install and update without Rust. From this release on, every release comes with prebuilt binaries.

Install or update

Linux (x86_64), one command, run it again to update:

curl -fsSL https://raw.githubusercontent.com/ahmetadakli/kde-desktop-mcp/main/tools/install.sh | bash

It downloads the binary below, checks it against SHA256SUMS, installs ~/.local/bin/desktop-mcp and adds the desktop server to Claude Code if you have none. Then reconnect the server (/mcp) or restart Claude Code. The system packages listed in the README (AT-SPI etc.) are still needed.

Or by hand: download desktop-mcp-v0.16.0-x86_64-linux.tar.gz, unpack it, and point Claude Code at the binary:
claude mcp add --scope user desktop -- /path/to/desktop-mcp

Windows: desktop-mcp-v0.16.0-x86_64-windows.zip. It is cross-compiled and has not been run on real Windows yet; reports are welcome.

Built from source before? git pull and cargo build --release in your clone still work (README, "Updating").

What's new

  • Prebuilt Linux and Windows binaries on each release, with SHA256SUMS.
  • tools/install.sh for one-command install and update.
  • desktop-mcp --version, and doctor now says when a newer release is out (DESKTOP_MCP_NO_UPDATE_CHECK=1 turns that off).
  • AUR recipes for kde-desktop-mcp and kde-desktop-mcp-bin in packaging/aur (not on the AUR yet).

Everything from 0.15.0 (fewer turns per task, Hyprland tested end to end) is included; see the v0.15.0 notes. Details: #50.

v0.15.0 — fewer turns, Hyprland tested

Choose a tag to compare

@ahmetadakli ahmetadakli released this 14 Nov 21:34
bf526fe

First tagged release. It sums up the work of 0.13 – 0.15: desktop tasks now take far fewer model turns, and Hyprland is tested end to end.

Highlights

Fewer turns per task (end-to-end benchmark: real Kate, Dolphin and Firefox tasks run by claude -p, 3 models)

  • vs 0.13.0: 31/36 → 36/36 tasks done, −34% turns, −29% wall time. Kate "Save As": 11.5 → 3 turns with Opus.
  • Conditional batch (if, on_fail, repeat, stop_if): a small procedure in one call.
  • Replies say what happened, so the agent needs no extra look: failures end with the active window and focus; menus, lists and dialogs an input opened come with their entries' ids (opened: …); page changed to '…' after a link; a window that came to the front is noted.
  • act verbs: check/uncheck/toggle/expand/collapse (idempotent, verified), option to pick a combo box/list entry, scroll_to.
  • Waits: after a press or Enter on a web page the reply waits for the page to change; wait_idle waits for pages to load; brief user typing is waited out instead of refused.
  • Every input reply says whether a retry is safe: nothing sent or maybe sent: look before retrying.
  • Ambiguous targets are refused with the candidates' ids instead of acting on the first one.
  • Role synonyms (row, button, textbox, …), reliable find on web pages (Turkish İ, no-break spaces, off-screen and closest matches).
  • Smaller replies (JPEG screenshots, compact trees), the ten common tools load up front in Claude Code, tree reads reused while an app is unchanged.

Hyprland

  • Hyprland 0.57+ (Lua-only command socket) supported; window control over IPC; hyprctl-placed clicks and drags; file_dialog (an app's own KDE file dialog) works.
  • Tested in Hyprland 0.57.2 with real keyboard and mouse input: 36/36 benchmark tasks passed.
  • Not yet: browser portal (upload/download) dialogs on Hyprland.

Fixes: the server exits at once on SIGTERM; Kate/Qt 6 file dialogs; typing into editable combo boxes; English menu paths in a localized UI (File > Save As).

Updating

Claude Code runs the binary you built, so reconnecting alone does not update it. In your clone:

cd kde-desktop-mcp
git pull
cd rust
cargo build --release

Then reconnect in Claude Code (/mcp → desktop → reconnect) or restart it. No need to clone again or re-run claude mcp add.

Full details: #39, #40, #41, #42, #47, #49.