Skip to content
karagöz docs
Star4npm0.5.1

Karagöz and other mobile automation tools

How Karagöz compares with mobile-mcp, agent-device, appium-mcp, Maestro, MobileBuildMCP and ios-simulator-mcp, and when each one fits better.

Karagöz is a CLI and an MCP server that drives Android emulators and phones, iOS simulators and iPhones. This page says what it does well, where it stops, and which tool to pick instead. Facts about the other tools come from their own README or docs, read on the date under each name.

  • One contract on four targets. The same commands, flags, output and error codes on an Android emulator, an Android phone, an iOS simulator and an iPhone. The MCP server returns the CLI’s JSON line unchanged.
  • A code for every failure. Each command answers with one line of JSON. A failure carries one of 32 fixed codes, so an agent branches on error.code, not on a message. For more information, see Error codes.
  • It installs only what you ask. Karagöz starts no daemon of its own, and each command is one process that exits when it answers.

It needs Node 22 or newer, adb for Android, and macOS with Xcode for iOS. For more information, see Requirements.

Look elsewhere when:

  • You want a test framework: assertions, a test runner, recorded flows, retries or reports. Karagöz has none of them.
  • You drive devices from Windows or Linux. No device command has been run on either system yet.

To try it, follow Getting started.

ToolDrivesInterface
KaragözAndroid emulator, Android phone, iOS simulator, iPhoneCLI, MCP
mobile-mcpAndroid emulator, Android phone, iOS simulator, iPhoneMCP; the CLI is mobilecli
agent-deviceAndroid, iOS and HarmonyOS simulators, emulators and devices; TV, web, macOS, LinuxCLI, MCP, Node.js API
appium-mcpAndroid emulator, Android phone, iOS simulator, iPhoneMCP
MaestroAndroid emulator, Android phone, iOS simulator; not iPhoneCLI, MCP
MobileBuildMCPiOS simulator; on an iPhone, build, install and launchCLI, MCP
ios-simulator-mcpiOS simulatorMCP

Choose mobile-mcp when you run Android emulators on a Linux or Windows host, want real devices in Mobile Next's cloud, or want the MCP server over HTTP.

From Mobile Next. Checked on : README

Choose agent-device when you also target HarmonyOS, TV, web, macOS or Linux, want the agent to save evidence for review, or use a remote device cloud.

From Callstack. Checked on : README

Choose appium-mcp when your tests already run on Appium's UiAutomator2 and XCUITest drivers, or your sessions run on a grid or a cloud lab.

From the Appium project. Checked on : README

Choose Maestro when you want tests: flows written in YAML that stay in your repo and run in CI.

Checked on : README

Choose MobileBuildMCP when your agent works on an iOS or macOS project and has to build, run and test it with Xcode. Its UI tools run on iOS simulators.

From Sentry, formerly XcodeBuildMCP. Checked on : README, UI tools, Device tools

Choose ios-simulator-mcp when you work only with iOS simulators and also want video recordings.

Checked on : README

On Android, only one UiAutomation client can be connected at a time. While Appium, Maestro or another client holds it, Karagöz’s ui-tree, and a tap by --text or --id, return AUTOMATION_BUSY. On an iOS simulator, text fails the same way while a UI test runs.