← Back to Leaderboard
Mmobile-next

mobile-next/mobile-mcp

A TypeScript MCP server for accessibility-first iOS and Android automation

Engineering Health (Methodology)
A+ · 95/100
Maintenance Activity
● Updated 2d ago
Latest Release
1.0.21
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption20/25
Release Cadence20/20
License Clarity20/20
DockerMCPCLISelf-Hosted
Total Stars
★ 11,100
24h Growth
+28
7d Growth
+157
Forks
989

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

mobile-next/mobile-mcp Star History (2025-03-27 - 2026-12-04) ALL-TIME STAR HISTORY (2025-03 – 2026-12) +11.1k in 617d · avg +18/day 11.7k 5.9k 0 2025-03-27: ★ 12025-05-10: ★ 5322025-06-21: ★ 9792025-08-02: ★ 1,5382025-09-13: ★ 1,9592025-10-25: ★ 2,2532025-12-06: ★ 2,5352026-01-17: ★ 3,0602026-02-28: ★ 3,5642026-04-11: ★ 4,4222026-05-23: ★ 4,9302026-07-04: ★ 5,3052026-08-15: ★ 5,8772026-09-26: ★ 7,4402026-11-03: ★ 10,2512026-12-04: ★ 11,100 ★ 11.1k 2025-03 2026-01 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Mobile MCP is a TypeScript bridge between an MCP client and a mobile device. The client’s agent chooses actions; the server exposes device discovery, UI inspection, and input as callable tools. mobilewright is the key automation dependency. The primary feedback loop reads a structured accessibility snapshot and targets controls by element reference when possible. When a control is missing from the snapshot, the client can inspect a screenshot and use coordinates instead.

The npm package exposes mcp-server-mobile; the container starts node lib/index.js. The manifest includes the MCP Node, server, and Express packages alongside Express itself. Stdio is the default transport, while --listen enables stateless Streamable HTTP at /mcp. Transport statelessness removes the need for HTTP session affinity, but it does not make device state stateless: actions against the same device still share its foreground app, screen, and input focus.

Key Capabilities & Differentiators

A single MCP tool surface covers iOS simulators, Android emulators, and physical devices on both platforms. Agents can inspect the foreground app, install or launch builds, target controls by reference or coordinates, type, swipe, and drag. mobile_batch_commands can run an ordered sequence with pauses and return a final element snapshot, reducing client round trips for a known flow. Launch options include locale and platform-specific inputs such as Android intent extras and iOS environment variables.

The server can save screenshots, record video, collect Android logcat or iOS unified logs, and list and retrieve crash reports. Some operations are platform-specific: clearing app data is supported on Android and iOS Simulator, and folding applies to supported virtual foldables. Mobile Next Cloud adds browser-based device-code login and tools to list, reserve, and release physical devices while retaining the same interaction tools.

Trade-offs & Limitations

Mobile MCP is most useful as an exploration layer, not as the release gate itself. Compared with authoring Appium, XCUITest, or Espresso tests up front, an agent can explore a flow against a shared cross-platform interface with less initial scripting. Accessibility snapshots can avoid sending images on every step, but the benefit depends on the app exposing useful labels and controls. Coordinate fallbacks are more sensitive to layout, orientation, and device size. Once a flow is stable, move it into an assertion-based Mobilewright test or an existing test suite rather than relying on repeated agent interpretation.

Self-hosting keeps device setup and access under your control, but does not remove host tooling requirements or the need to isolate concurrent runs targeting the same device. Cloud reservations reduce local device upkeep at the cost of a service dependency. Screenshots, clipboard contents, logs, and persistent app state can contain sensitive data. Use test devices and accounts, and limit who can invoke tools that clear data or uninstall apps.

Hardware & Deployment Guide

For local use, run the npm package with Node.js 20+ and register it as a stdio server. Verify setup with mobile_list_available_devices. On iOS, boot a simulator with Xcode or connect and trust a physical device over USB. On Android, use Platform Tools with a running emulator or a device with USB debugging enabled and authorized. The multi-stage Node.js 22-slim image runs as node and uses ADB_SERVER_SOCKET=tcp:host.docker.internal:5037 to reach the host ADB server; it does not bundle an emulator or an iOS host stack.

For a shared HTTP endpoint, use a Streamable HTTP client, keep the listener private where possible, and configure MOBILEMCP_AUTH plus TLS before exposing it beyond localhost. Without the token, clients can call the server unauthenticated. Recent changes include launch arguments and environment variables in 1.0.19, support for DO_NOT_TRACK=1 and real-parent-directory validation for output paths in 1.0.20, and an upgrade to mobilewright 0.0.73 in 1.0.21 that brings iOS physical-device information reporting without the device agent installed.

UI inspection: Accessibility snapshots expose element properties, coordinates, and refs; screenshots cover controls the tree misses.
Batch execution: mobile_batch_commands runs actions in order, supports delays, and can return a final element snapshot.
Diagnostics: Collect Android logcat or iOS unified logs, retrieve crash reports, and record the screen.
Transport: Stdio by default or stateless Streamable HTTP at /mcp, with optional Bearer authentication via MOBILEMCP_AUTH.
Container boundary: The non-root Node.js 22 image ships an ADB client and delegates device connections to the host ADB server.
Terminal integration: The Claude Code /mobile-mirror plugin provides a live, interactive device pane in terminals that support the kitty graphics protocol.
Best For

Mobile teams that want agents to explore builds on iOS and Android, run cross-platform smoke checks, and turn stable flows into assertion-based CI tests.

Skip If

You need a standalone test runner with deterministic assertions and isolated fixtures out of the box, or you cannot provide compatible device hosts or cloud devices.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerMCPCLISelf-Hosted
npx @mobilenext/mobile-mcp@latest install

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
mobile-mcp ★11.1k+157TypeScriptApache-2.0A TypeScript MCP server for accessibility-first iOS and Android automation
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis
chrome-devtools-mcp60.4k+760TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy
context765.8k+333TypeScriptMITA hosted documentation index with MCP and CLI access for coding agents

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/mobile-next/mobile-mcp.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

mobile-next/mobile-mcp Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about mobile-mcp

How do I connect an MCP client and verify the device backend?

Configure the MCP client to launch npx -y @mobilenext/mobile-mcp@latest over stdio, then call mobile_list_available_devices to verify connectivity. For a shared deployment, use --listen and point a Streamable HTTP client at /mcp. Legacy HTTP+SSE clients are not compatible with that endpoint.

Does Mobile MCP need a GPU, and what should I size the host for?

The server is a Node.js 20+ process, not a local model runtime, so it has no inherent GPU or VRAM requirement. Size the host primarily for the simulators or emulators you plan to run in parallel, then account for recording and log collection. If your MCP client uses a local model, size that inference workload separately.

Can we self-host Mobile MCP commercially?

Yes. Apache-2.0 permits commercial self-hosting and modification. If you redistribute the server or a modified image, comply with the license and applicable notice requirements. Mobile Next Cloud is a separate service; the source license does not grant cloud device access. For shared deployments, set MOBILEMCP_AUTH, terminate TLS, restrict network access, and consider DO_NOT_TRACK=1 if telemetry is not permitted.

When should I use this instead of Appium, XCUITest, or Espresso?

Use Mobile MCP for interactive exploration and cross-platform smoke checks driven by an MCP client. Use Appium or platform-native suites such as XCUITest and Espresso when you need explicit assertions, controlled fixtures, and repeatable release gates. A practical split is to discover the flow through MCP, then encode it as a Mobilewright test or in the suite you already maintain.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining mobile-next/mobile-mcp? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature mobile-next/mobile-mcp on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare