Karagöz changelog
What changed in each release of karagoz-mcp, newest first.
All notable changes to karagoz-mcp are documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- A copy installed with
npm install -gnow tells you when a newer release is on npm. At a terminal, after a command succeeds, it prints one line to stderr, such askaragoz: 0.5.2 is available, you have 0.5.1. To update: npm install -g karagoz-mcp. The MCP server adds a sentence to its instructions that asks the model to tell you once how to update. Claude Desktop does not pass instructions to the model, going by user reports, so the extension’s sentence does not reach you there. karagoz asks the npm registry at most once a day, in the background, and sends nothing about you or your devices. Pipes, agent shells, CI and the copynpxdownloads never check.KARAGOZ_NO_UPDATE_CHECK=1orNO_UPDATE_NOTIFIER=1turns it off
tap,long-press,double-tap,swipe,textandkeytake--tree(MCP:tree). After the action, karagoz waits for the screen to settle and returns the compact tree undertree. When that read fails, the command still exits 0 and reportstreeError, so a caller does not repeat the action- At a terminal,
devicesshows the name set on the phone in parentheses after the model. The JSON and the MCP server leave it out, because that name often holds the owner’s name
Changed
Section titled “Changed”- The README states the iPhone requirements per command: Developer Mode for
screenshotand the app commands, a USB cable forlogs, and both forui-treeand the input commands - The
ui-treepage quotes Android’s error for a screen that never goes idle and says what still works on such a screen. Thetextpage says what plainadb shell input textdoes with non-ASCII text, and that a call with no focused field still exits 0 - The README links the guides on the website, and its MCP token table is measured again: the
treeoption adds 16 tokens to every session
- On an iOS simulator and an iPhone,
tapholds the touch for 150 ms instead of 0, and on a simulatorkeyholds the key for 100 ms. A switch (UISwitch, also inside a Flutter view) ignored the zero-length tap, and a key released at once was dropped. The iPhone runner does not need to be reinstalled - On Android,
tap,long-press,double-tap,swipe,textandkeystop withDEVICE_NOT_READYwhen the screen is off, dozing or showing a screensaver. Before, a tap or swipe exited 0 while nothing reached the app, and a key or text waited until it timed out.key WAKEUP,SLEEPandPOWERstill run, so an agent can wake the screen - Two
screenshotcalls on one device in the same millisecond without--outno longer fail withWRITE_FAILED. The second file gets a-<n>suffix texton an iPhone, or on a simulator that goes through the runner, refuses a text above the runner’s 1 MiB request limit withINVALID_ARGSand names both sizes. Before, the runner turned the request down and karagoz reported that another program answered on the runner’s port
- At a terminal,
doctoranddevicesprint a readable summary with what to do under each problem, and every other command indents its JSON. A pipe, the MCP server and an agent shell without a terminal still get the one JSON line devicesrows haveos, and Android rows also haveapi
Changed
Section titled “Changed”- The README has a block to add to
CLAUDE.mdorAGENTS.md, so an agent uses karagoz for a device request without being told to - The README’s FAQ answers fold, and a horizontal rule separates its sections
- The anchors 0.3.2 added to the README are gone, so a Contents link on the npm page targets the heading’s own id again
open-urlon an iPhone reportsAPP_NOT_FOUNDinstead ofDEVICECTL_FAILEDfor a URL no app opens, as on Android and the simulator
The commands and the MCP server are unchanged from 0.3.1.
- This changelog, with every release so far
Changed
Section titled “Changed”- The contributing guide has a section on using AI tools for a contribution
- The README has an anchor before each heading Contents links to, meant to keep the heading on screen on the npm page. On that page a Contents link stopped scrolling instead, and 0.4.0 removes the anchors
The commands and the MCP server are unchanged from 0.3.0. This release updates the README that ships with the package and shows on npm.
Changed
Section titled “Changed”- The README opens with a banner and a demo GIF of an agent driving the iOS simulator, and adds example requests, a How it works table and an FAQ
- A Known limitations page lists the platform and MCP client limits that cross commands, such as the iPhone passcode prompt before UI automation and the 7-day signing of a free Apple ID
- A contributing guide covers what to put in an issue, the checks a pull request needs, and which device data never gets posted
long-pressand thelong_pressMCP tool press and hold a point, or a node found by--textor--id.--durationdefaults to 1000 ms.double-tapand thedouble_tapMCP tool tap a point or a node twice, on all four targets.open-urland theopen_urlMCP tool open a URL or deep link in the app the system picks, or with--appin the app you name (not on an iOS simulator). MCP clients seeopen_urlas an open-world tool.- Claude Desktop extension: download
karagoz.mcpbfrom this release and open it. Desktop runs it with its own Node.js.
Changed
Section titled “Changed”- Breaking:
tap --duration <ms>is nowlong-press --duration <ms>, and the MCPtaptool’sdurationargument moved to the newlong_presstool.tap --durationnow fails withINVALID_ARGS. - Breaking: On an iPhone, run
install-runneragain after updating: the runner changed fordouble-tap. Until then, the calls that use the runner fail withRUNNER_NOT_INSTALLED. A simulator that uses the runner gets the new one by itself. - Shorter client setups: Codex starts from
codex mcp add, Cursor (3.15.12 or newer) from an install link. - The
tapdocs now say thattap,long-pressanddouble-tapmatch--textand--idon the full tree, not the compact oneui-treereturns by default.
ui-tree --detail compact|full, anddetailon theui_treeMCP tool. Any other value isINVALID_ARGSbefore a device call.texton Android types any Unicode text, such asğ,ş,ıor an emoji. ASCII text still goes throughinput text. Other text is pasted: karagoz copies a small helper of its own to/data/local/tmp, which puts the text on the clipboard, presses Ctrl+V and puts the previous clip back, and deletes the helper when the call ends. Android 12 and newer show a paste notice, and a keyboard with clipboard history keeps the pasted text. A helper failure isHELPER_FAILED, with what happened to the previous clip. Only control characters other than newline and tab are stillTEXT_UNSUPPORTED.
Changed
Section titled “Changed”- Breaking:
ui-treereturns a compact tree by default. A node with no text, label or action is left out and its children take its place, and a node off screen is left out. On Androidclasskeeps the part after the last dot (Button),resourceIdthe part after:id/(save), and acontentDescequal totextis left out. On an iPhone the window and unlabeled group layers go, and theKeyboardnode keeps its bounds without itsKeychildren.boundsare unchanged, andtap --idtakes either form of the id. Code that reads the old tree passes--detail full, which returns it exactly as before. On the measured Android screens a compact tree is about 800 to 2,300 tokens, a full one 2,900 to 5,400. - The README has a table of contents and an MCP setup snippet for each client: Claude Code, Claude Desktop, Cursor, VS Code and Codex.
- The npm and MCP Registry descriptions say that karagoz starts no daemon of its own and installs nothing on an Android device by itself.
texton an iOS simulator typed U+FFFD for an unpaired surrogate and still reported the text as typed. iOS now refuses it withTEXT_UNSUPPORTED, as Android does. Only MCP’s JSON can carry one.
Releases are built and published from GitHub Actions, with npm provenance. The commands and the MCP server are the same as in 0.1.0.
The first release: a CLI and an MCP server that drive Android emulators and phones, iOS simulators and iPhones.