Skip to content

Maestro MCP: install, tools and limits

Better Design

Direct answer

Maestro MCP lets a coding agent write, run and debug Maestro UI tests on Android emulators, iOS simulators and Chromium for web. It runs over local stdio, needs no sign-in for local devices, and a Maestro Cloud login for the cloud tools, and exposes 9 tools.

A hand-drawn terminal that connects a coding agent to Maestro MCP, with the server's name and tool count written beside it.

What Maestro MCP does

Maestro MCP lets a coding agent write, run and debug Maestro UI tests on Android emulators, iOS simulators and Chromium for web. It ships inside the Maestro CLI and starts with the maestro mcp command, so there is no separate package to install.

The Maestro team (mobile-dev-inc on GitHub) maintains it. It is licensed under Apache-2.0.

How a coding agent uses Maestro MCP

The agent asks, Maestro MCP acts, and the result comes back into the session.

A hand-drawn three-step flow from the coding agent to Maestro MCP and back: Check the sign-up screen I just built on the iOS simulator, Reads the view hierarchy and runs a Maestro flow on the device, Flow results, the screen hierarchy and a screenshot.
  1. The agent asks: Check the sign-up screen I just built on the iOS simulator
  2. Maestro MCP acts: Reads the view hierarchy and runs a Maestro flow on the device
  3. The result comes back: Flow results, the screen hierarchy and a screenshot

Install Maestro MCP in Claude Code

terminal
claude mcp add maestro -- maestro mcp

Install Maestro MCP in Cursor

~/.cursor/mcp.json or .cursor/mcp.json
{
    "mcpServers": {
        "maestro": {
            "command": "maestro",
            "args": [
                "mcp"
            ]
        }
    }
}

Install Maestro MCP in Codex

terminal
codex mcp add maestro -- maestro mcp

Install Maestro MCP in Gemini CLI

Gemini CLI
gemini mcp add maestro maestro mcp

Install Maestro MCP in Claude Desktop

Claude Desktop
{
    "mcpServers": {
        "maestro": {
            "command": "<full path to maestro binary>",
            "args": [
                "mcp"
            ],
            "env": {
                "JAVA_HOME": "<full JAVA_HOME directory>"
            }
        }
    }
}

The 9 tools Maestro MCP gives your agent

Maestro MCP lists these names in its own documentation, read on November 12, 2026. Your agent sees each one as a tool it can call.

  • list_devices
  • inspect_screen
  • take_screenshot
  • run
  • cheat_sheet
  • list_cloud_devices
  • run_on_cloud
  • get_cloud_run_status
  • open_maestro_viewer

Settings worth knowing in Maestro MCP

run { yaml }
What it changes

Inline YAML, preferred for exploration.

Server

Maestro MCP

run { files } / { dir, include_tags, exclude_tags }
What it changes

Run specific .yaml files, or a folder filtered by tags.

Server

Maestro MCP

run_on_cloud priority
What it changes

Optional low, normal or high queue priority for the Maestro Cloud upload.

Server

Maestro MCP

JAVA_HOME (env)
What it changes

Pass it explicitly when your client launches from a minimal shell, such as Claude Desktop.

Server

Maestro MCP

MAESTRO_CLOUD_API_KEY (env)
What it changes

Authenticates the Maestro Cloud tools in non-interactive environments.

Server

Maestro MCP

Sign-in, limits and caveats for Maestro MCP

Sign-in: The local tools need no account. list_cloud_devices, run_on_cloud and get_cloud_run_status need Maestro Cloud authentication: run maestro login, or set MAESTRO_CLOUD_API_KEY for non-interactive environments.

Limits and price: The Maestro CLI, which contains the MCP server, is open source under Apache-2.0 and free to run against local devices. The three cloud tools run flows on Maestro Cloud and need a Maestro Cloud account. The MCP page states no usage limit.

  • The Maestro CLI needs Java 17 or higher, with JAVA_HOME pointing to it.
  • On macOS, install the latest Xcode and the Xcode Command Line Tools.
  • Claude Desktop's Connectors UI only supports remote OAuth servers, so add Maestro by editing claude_desktop_config.json with the full path to the maestro binary.
  • The server ships inside the CLI, so upgrading the CLI upgrades it; reload the MCP connection afterwards. GitHub lists cli-2.12.1, published November 2, 2026, as the latest release.
  • Poll get_cloud_run_status every 60s until the status is SUCCESS, ERROR, CANCELED or WARNING.

Use Maestro MCP for interface work

An agent can call inspect_screen for the view hierarchy, take_screenshot to see the screen, and run inline YAML flows to tap through and check a mobile screen it just built. open_maestro_viewer shows the device and each command as it runs.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "Maestro MCP: install, tools and limits" at https://better-design.com/blog/maestro-mcp and help me apply it to my project.

Maestro MCP lets a coding agent write, run and debug Maestro UI tests on Android emulators, iOS simulators and Chromium for web. It runs over local stdio, needs no sign-in for local devices, and a Maestro Cloud login for the cloud tools, and exposes 9 tools.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

What does Maestro MCP do?

Maestro MCP lets a coding agent write, run and debug Maestro UI tests on Android emulators, iOS simulators and Chromium for web. It ships inside the Maestro CLI and starts with the maestro mcp command, so there is no separate package to install.

Does Maestro MCP need an API key or sign-in?

The local tools need no account. list_cloud_devices, run_on_cloud and get_cloud_run_status need Maestro Cloud authentication: run maestro login, or set MAESTRO_CLOUD_API_KEY for non-interactive environments.

Is Maestro MCP free?

The Maestro CLI, which contains the MCP server, is open source under Apache-2.0 and free to run against local devices. The three cloud tools run flows on Maestro Cloud and need a Maestro Cloud account. The MCP page states no usage limit.

Which coding agents can use Maestro MCP?

Its documentation shows a setup for Claude Code, Cursor, Codex. Any client that speaks MCP over local stdio can connect.

Where these Maestro MCP facts come from

Each fact on this page comes from Maestro MCP's own repository, documentation or package registry, read on November 12, 2026.

Add design rules next to it

Maestro MCP gives the agent its tools. It does not tell the agent what a good screen looks like. Better Design adds that part: a design system, interface principles and review rules that the agent calls while it builds.