mobile-agent-mcp
Provides tools for testing Android apps on emulators and USB devices, including log collection (logcat), screenshots, flow execution, and ADB reverse for React Native/Expo.
Supports Expo projects with host plumbing (e.g., ADB reverse, opening dev URLs) and device management for Android and iOS.
Provides tools for testing iOS apps on simulators, including log collection (sim logs), screenshots, flow execution, and device booting.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mobile-agent-mcprun smoke-login on iOS with logs and screenshot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mobile-agent-mcp
MCP + CLI for iOS sims, Android emulators, and USB devices. Maestro runs flows; this handles config, doctor, logs, screenshots, RN diagnosis, and Expo/Android host plumbing.
Quick start
npm install -D mobile-agent-mcp
mobile-agent doctor
mobile-agent run-with-context smoke-login ios --jsonRequires Node 20+, Maestro, Xcode (iOS), adb (Android).
Related MCP server: local-expo-mcp
Config
mobile-agent.config.json in repo root. See mobile-agent.config.example.json, examples/expo.config.json, examples/bare-rn.config.json.
Set MOBILE_AGENT_PROJECT_ROOT if MCP starts from the wrong cwd.
MCP tools
Tool | Purpose |
| Preflight checks |
| Flow + logs + screenshot + diagnosis |
| Flow execution |
| PNG + inline image |
| Metro, logcat, sim logs |
| Dev lifecycle |
| Flow authoring |
| RN/Expo plumbing |
Resource: mobile-agent://screenshot/latest
Responses: docs/mcp-response-schema.md. Agent loop: docs/agent-skill.md.
MCP config:
{
"mcpServers": {
"mobile-agent": {
"command": "npx",
"args": ["-y", "mobile-agent-mcp"],
"env": { "MOBILE_AGENT_PROJECT_ROOT": "/absolute/path/to/your/project" }
}
}
}CLI
mobile-agent doctor [--json]
mobile-agent run-with-context <flow> [ios|android] [--json]
mobile-agent run-all [ios|android] [--json]
mobile-agent logs [ios|android] [--json] [--duration-ms 3000]
mobile-agent screenshot [ios|android] [--json]
mobile-agent metro-status | reload-app | boot-simulator [--json]
mobile-agent validate-flow <flow> | write-flow <flow> [--template smoke] [--json]
mobile-agent adb-reverse 8081
mobile-agent open-dev-url [ios|android]Flags: --project-root, --flows-dir, --screenshot-dir.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Appcircle mobile CI/CD platform.
Mozark's MCP server for AI-powered app testing: device access, test automation, and QA insights.
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server for Mint — AI-powered QA that runs your app in a real browser on every PR.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceLocal MCP server for Android and iOS mobile automation and performance telemetry, enabling device control (screenshot, tap, swipe, input, app launch) and metric collection (CPU, memory, launch time) via ADB, simctl, and WebDriverAgent with SQLite session history.14 npm1MIT
- AlicenseNot gradedqualityFmaintenanceA single MCP server that orchestrates Expo CLI, Metro, and adb for local Expo project management, including device interaction and session summaries.14 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server for cross-platform mobile automation (iOS/Android) using accessibility trees and screenshots, enabling agents to interact with apps on simulators, emulators, and physical devices.7Apache 2.0
- FlicenseAqualityDmaintenanceAn MCP server that gives AI agents the power to record, replay, and mock mobile app interactions — combining Maestro UI automation with Proxyman network capture to generate complete, self-contained test scripts.331-