Skip to main content
Glama
anthonysbr

mobile-agent-mcp

by anthonysbr

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 --json

Requires 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

doctor

Preflight checks

run_flow_with_context

Flow + logs + screenshot + diagnosis

run_maestro_flow / run_smoke_flows

Flow execution

screenshot

PNG + inline image

collect_logs / tail_logs

Metro, logcat, sim logs

metro_status / reload_app / boot_simulator

Dev lifecycle

validate_flow / write_flow

Flow authoring

adb_reverse / open_url / open_dev_url

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.

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    B
    maintenance
    Local 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.
    21
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    MCP 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.
    7
    Apache 2.0
  • F
    license
    A
    quality
    C
    maintenance
    An 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.
    33
    1

View all related MCP servers

Related MCP Connectors

  • MCP server for Appcircle mobile CI/CD platform.

  • MCP server for interacting with the Supabase platform

  • The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/anthonysbr/mobile-agent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server