Maestro MCP

Agentic UI testing for mobile apps

Let Claude, Cursor, or any coding agent write and run your mobile tests on a live emulator or simulator. It fixes what breaks as it goes, and hands you deterministic end-to-end tests that keep running in CI.

Install Maestro MCP

Free and open-source · About 5 minutes to set up

See it run

Watch your agent test your app

The agent opens an emulator or simulator, inspects the view hierarchy, writes a Maestro flow, runs it, and reads the result the same way you would. When something fails, it sees the failure and fixes it, without leaving your coding agent.

How it works

From prompt to passing test

Step 1

Connect

Add the Maestro MCP server to your agent once. It ships inside the Maestro CLI, so there's nothing else to run.

Step 2

Describe

Tell your agent what to test in plain language: "log in, add an item to the cart, and check out." No selectors to memorize, no boilerplate.

Step 3

The agent drives the device

It inspects the screen, writes a Maestro flow in clean YAML, runs it on a live emulator or simulator, and self-corrects until it passes. You keep the flow as a repeatable end-to-end test.

The flows your agent writes are plain YAML you own and version. They keep running in CI long after the chat is over.

Features

Battle-tested, AI-native

Robust, open-source, time-tested - and now fully primed for human+AI development.

Close the agentic loop

Unlock high-velocity mobile development by powering up your agents with Maestro's AI toolkit.

Generate deterministic E2E tests

Maestro tests are human-readable YAML files, not black boxes. Repeatable, auditable, trustworthy.

Build on open-source integrity

Extensible and with no vendor lock-in, Maestro is the foundation for thousands of teams’ mobile testing.

Install

Get your agent testing in minutes

Prerequisites

  • Java 17 or higher. Make sure JAVA_HOME points to it (java -version to check).
  • A coding agent that supports MCP (Claude Code, Cursor, Codex, Gemini, Copilot, and more).
1

Install the Maestro CLI

The MCP server ships inside the CLI, so this is the only download. Pick your OS:

Terminal
curl -fsSL "https://get.maestro.mobile.dev" | bash

Run maestro --help to verify that the Maestro CLI is working properly.

2

Install the Maestro MCP on your coding agent

Terminal
claude mcp add maestro -- maestro mcp

See the Claude Code MCP docs for scope options (--scope user, --scope project, etc.).

3

Restart and start building

Restart your coding agent, then let your agent handle checking its own work against a live mobile emulator or simulator. And when you're ready, generate repeatable end to end tests to ensure your feature doesn't break going forward.

A coding agent verifying bookmark functionality with Maestro

FAQ

Frequently asked questions

Stop verifying your agent's UI work yourself. Let it check.