# 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.

## Why Karagöz

- **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](https://karagozmcp.com/docs/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](https://karagozmcp.com/docs/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](https://karagozmcp.com/docs/getting-started/).

## At a glance

| Tool              | Drives                                                                              | Interface                 |
| ----------------- | ----------------------------------------------------------------------------------- | ------------------------- |
| Karagöz           | Android emulator, Android phone, iOS simulator, iPhone                              | CLI, MCP                  |
| mobile-mcp        | Android emulator, Android phone, iOS simulator, iPhone                              | MCP; the CLI is mobilecli |
| agent-device      | Android, iOS and HarmonyOS simulators, emulators and devices; TV, web, macOS, Linux | CLI, MCP, Node.js API     |
| appium-mcp        | Android emulator, Android phone, iOS simulator, iPhone                              | MCP                       |
| Maestro           | Android emulator, Android phone, iOS simulator; not iPhone                          | CLI, MCP                  |
| MobileBuildMCP    | iOS simulator; on an iPhone, build, install and launch                              | CLI, MCP                  |
| ios-simulator-mcp | iOS simulator                                                                       | MCP                       |

## mobile-mcp

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 2026-11-02: [README](https://github.com/mobile-next/mobile-mcp)

## agent-device

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 2026-11-02: [README](https://github.com/callstack/agent-device)

## appium-mcp

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 2026-11-02: [README](https://github.com/appium/appium-mcp)

## Maestro

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

Checked on 2026-11-02: [README](https://github.com/mobile-dev-inc/Maestro)

## MobileBuildMCP

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 2026-11-02: [README](https://github.com/getsentry/MobileBuildMCP), [UI tools](https://github.com/getsentry/MobileBuildMCP/blob/main/manifests/workflows/ui-automation.yaml), [Device tools](https://github.com/getsentry/MobileBuildMCP/blob/main/manifests/workflows/device.yaml)

## ios-simulator-mcp

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

Checked on 2026-11-02: [README](https://github.com/joshuayoes/ios-simulator-mcp)

## Using Karagöz next to another tool

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`](https://karagozmcp.com/docs/error-codes/#automation-busy). On an iOS simulator, `text` fails the same way while a UI test runs.
