Mobile MCP
An MCP server that lets any MCP-capable agent drive native iOS and Android apps on simulators, emulators and real devices through one API.
- Source repo
- mobile-next/mobile-mcp
- Stars
- ★ 11k
- Last updated
- today
- FARS reviewed
- Nov 24, 2026
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 54/100 · Major gaps
At a glance
- Works with
- Universal · cross-platformCodex · Claude Code
- You'll need
- Typical use
- A mobile QA engineer has Claude Code or Codex replay a full sign-in, checkout and payment regression, then pull logcat and crash reports to explain the failure.
- Main limitation
- Hard dependency on local platform toolchains: Xcode command line tools plus a booted Simulator for iOS, Android SDK and adb for Android.
- Website
- mobilenext.ai ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-24
- Source review
- 54/100 · Major gaps 2 safety controls not found
What does this agent do, and when should you use it?
Mobile MCP is an Apache-2.0 MCP server from Mobile Next that exposes iOS and Android device control as structured tools any MCP client can call — Claude Code, Codex, Cursor, Gemini CLI, Copilot and others. It reads the native accessibility tree first and only falls back to screenshots plus coordinates when needed, so it avoids burning vision-model image tokens. The toolset spans device management, app install/launch/terminate, taps, swipes, drags, typing, screen recording, device logs and crash reports, plus login/allocate/release calls for real devices on Mobile Next Cloud. Locally it talks to booted simulators and emulators through xcrun simctl and adb, and to USB-connected real devices, which is why Xcode command line tools and Android Platform Tools are prerequisites. It runs over stdio by default or as a stateless Streamable HTTP server with --listen, ships a Claude Code plugin with a /mobile-mirror terminal pane, and pairs with mobilewright to turn agent-driven exploration into deterministic CI tests.
The server publishes a set of mobile_* tools. Device management: mobile_list_available_devices enumerates simulators, emulators and real devices; mobile_get_screen_size, mobile_get_orientation and mobile_set_orientation, mobile_fold_device for foldables, mobile_set_location to override GPS, mobile_clipboard to read or replace the clipboard. App management: mobile_list_apps, mobile_get_foreground_app, mobile_launch_app (with optional locale, launch arguments and env vars), mobile_terminate_app, mobile_install_app (.apk/.ipa/.app/.zip), mobile_uninstall_app, mobile_clear_app_data. Interaction: mobile_take_screenshot and mobile_save_screenshot capture the screen, mobile_list_elements_on_screen returns accessibility elements with coordinates and properties, and mobile_click_on_screen_at_coordinates, mobile_double_tap_on_screen, mobile_long_press_on_screen_at_coordinates, mobile_drag_on_screen and mobile_swipe_on_screen act on coordinates or element refs. mobile_type_keys sends text, mobile_press_button hits HOME/BACK/VOLUME/ENTER, mobile_open_url opens http/https links and blocks non-standard schemes by default. Observability: mobile_start_screen_recording and mobile_stop_screen_recording write a video, mobile_get_device_logs pulls logcat or the iOS unified log, mobile_list_crashes and mobile_get_crash read crash reports. mobile_batch_commands chains several actions with optional delays and can return the resulting screen elements. Cloud: mobile_login_to_cloud_provider, mobile_list_remote_devices, mobile_allocate_remote_device and mobile_release_remote_device handle device-code login and exclusive reservation of physical devices.
- A mobile QA engineer has Claude Code or Codex replay a full sign-in, checkout and payment regression, then pull logcat and crash reports to explain the failure.
- A product team without physical hardware boots an Android emulator or iOS simulator and has the agent fill forms, navigate screens and capture screenshots as evidence.
- A developer using Cursor with React Native or native code asks the agent to tap through the screen they just changed instead of clicking manually in the simulator.
- A team covering iPhone, Samsung and Pixel validates on local simulators first, then reserves devices from the Mobile Next Cloud fleet and runs the same MCP tool calls there.
- An agent session's explored flow is handed back to the agent to be rewritten as a mobilewright test and wired into GitHub Actions for deterministic regression.
- Someone in a terminal with kitty graphics support installs the Claude Code plugin and runs /mobile-mirror to watch the device screen in a side pane while tapping and typing.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx @mobilenext/mobile-mcp@latest installnpx @mobilenext/mobile-mcp@latest install --yesnpx @mobilenext/mobile-mcp@latest --listen 3000
- Install notes cover
- Android
How do you install or deploy this agent?
Prerequisites: Node.js v20+, Xcode command line tools for iOS, Android Platform Tools for Android, and at least one booted simulator/emulator or a USB-connected trusted device.
The quick installer detects MCP clients on the machine and lets you choose which to configure:
npx @mobilenext/mobile-mcp@latest installAdd --yes to configure every detected client without prompting:
npx @mobilenext/mobile-mcp@latest install --yesFor a manual setup, this standard config works in most clients:
{
"mcpServers": {
"mobile-mcp": {
"command": "npx",
"args": ["-y", "@mobilenext/mobile-mcp@latest"]
}
}
}Claude Code via the CLI:
claude mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcp@latestCodex CLI:
codex mcp add mobile-mcp npx "@mobilenext/mobile-mcp@latest"Gemini CLI:
gemini mcp add mobile-mcp npx -y @mobilenext/mobile-mcp@latestHow do you use this agent?
Start the target device first. iOS needs Xcode and a booted Simulator; Android needs an emulator already running:
xcrun simctl list
xcrun simctl boot "iPhone 16"Then ask your agent to list devices — the fastest connectivity check:
list available devicesIf running simulators, emulators and attached devices come back, the wiring is correct; an empty list usually means nothing is booted. From there you describe goals in natural language, e.g. open an app, search for a video, like it and share it.
The default transport is stdio. For remote or multi-client use, start a Streamable HTTP server:
npx @mobilenext/mobile-mcp@latest --listen 3000Point clients at http://<host>:3000/mcp (POST to /mcp; remote mode is stateless, no session affinity). Host-header DNS rebinding protection is enabled automatically when bound to localhost. To require a Bearer token:
MOBILEMCP_AUTH=my-secret-token npx @mobilenext/mobile-mcp@latest --listen 3000Useful env vars: MOBILEMCP_DISABLE_TELEMETRY=1 or DO_NOT_TRACK=1 to turn off anonymous telemetry, MOBILEMCP_ALLOW_UNSAFE_URLS=1 to permit non-standard URL schemes, MOBILEMCP_LEGACY_ROBOT=1 to use the legacy platform-specific robots. For cloud devices, prompt the agent to log in to Mobile Next Cloud and list available remote devices.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- confirmation before acting — Turn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.
What are this agent's strengths and limitations?
- Accessibility-first: it reads the native accessibility snapshot and element refs, so it avoids vision-model image tokens and falls back to screenshots only when needed.
- One API across targets: the same mobile_* tools work on iOS and Android simulators, emulators and real devices, with no XCUITest or Espresso glue to write.
- Broad coverage beyond tapping: screen recording, logcat/unified log retrieval, crash reports, clipboard, GPS override, foldables, and mobile_batch_commands for multi-step chains.
- Client-neutral MCP: documented setup for Claude Code, Codex, Cursor, Gemini CLI, Copilot, Windsurf, Cline, Goose, Kiro, opencode and Amp, plus an npx installer that auto-detects clients.
- Ships a Claude Code plugin with /mobile-mirror, giving a live device pane in kitty or Ghostty where you tap, type and press Home/Back without leaving the terminal.
- Built-in cloud device tools (login, list, allocate, release) let a flow validated locally move to a rented real-device fleet without changing the tool calls.
- Hard dependency on local platform toolchains: Xcode command line tools plus a booted Simulator for iOS, Android SDK and adb for Android.
- Anonymous telemetry via PostHog and Scarf is on by default and must be disabled explicitly with MOBILEMCP_DISABLE_TELEMETRY=1 or DO_NOT_TRACK=1.
- Cloud device support is tied to a Mobile Next Cloud account and its commercial service, a vendor dependency unless you stay purely local.
- mobile_open_url blocks non-standard URL schemes by default, so deep-link testing needs MOBILEMCP_ALLOW_UNSAFE_URLS=1.
- iOS real devices must be connected over USB and trusted; the README documents no wireless or fully remote device path.
- Mobile-only scope — no web or desktop automation — and element targeting quality depends on the accessibility information the target app exposes, with coordinates as the fallback.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Mobile MCP This agent | 54 · Major gaps | — | ★ 11k | today | TypeScript | Codex · Claude Code |
| agent-qa | 58 · Major gaps | CLIFree + model costs | ★ 824 | today | TypeScript | Codex · Claude Code |
| MobileBuildMCP | 54 · Major gaps | CLIFree | ★ 6.6k | 1mo ago | TypeScript | Codex · Claude Code |
| Momentic Agent Skills | 58 · Major gaps | Agent plugin / skillFreemium | ★ 17 | today | JavaScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
least_privilege scored 1: the MCP tools inherently provide broad device control (install/uninstall apps, tap, type, read clipboard) with only narrow limits such as http/https-only open_url by default and optional Bearer auth in HTTP mode; there is no per-tool or per-operation scoping. user_confirmation scored 0: tool calls such as terminate, uninstall, install, and paid cloud allocation have no built-in user confirmation. data_flow_transparency scored 1: the README discloses PostHog/Scarf telemetry and opt-out, but also claims the server 'runs locally and communicates only with connected devices', which contradicts telemetry and cloud mode; device data, screenshots, and logs flows are not fully documented. sensitive_data_handling scored 1: tools expose clipboard, screenshots, device logs, and crash reports, but there is no dedicated redaction, clipboard warning, or retention policy beyond a general note in SECURITY.md. dependency_security scored 1: an npm audit CI exists, but dependencies are mostly range-pinned and no lockfile evidence is shown; audit is high-severity only and triggered only on package file changes. external_effects scored 1: tools can install/uninstall apps, send input, open URLs, and allocate paid cloud devices; some limits and release guidance exist, but no consent or blocking mechanism for external side effects. rollback scored 0: no rollback or recovery mechanism for uninstall, file deletion, screen recording, or similar actions. source_attribution scored 2: README, package.json, and marketplace.json clearly point to Mobile Next, the GitHub repo, npm package, and Apache-2.0 license; the publisher is not registry-verified, but attribution is clear.
self_consistency scored 1: the README says it communicates only with connected devices while also disclosing telemetry; package.json shows version 0.0.1 while installation uses @latest; SKILL.md lists an incomplete subset of tools. dependency_availability scored 2: dependencies are public npm packages with Node >=20, and the main package resolves; actual installation was not verified. failure_messages scored 2: code returns clear messages for ActionableError, authentication failure, HTTP 405/410, missing devices, etc.; some exceptions are only logged with a generic error.
audience_and_scenarios scored 2: the README targets developers and automation scenarios through MCP clients such as Claude Code, Codex, and Cursor, with multiple use cases and supported clients. capability_boundaries scored 2: it documents supported platforms, URL scheme restrictions, SSE removal, cloud fallback when no local device exists, and batch command limits; it does not systematically list all irreversible or high-risk tools. trigger_precision scored 2: SKILL.md clearly says to use it when a task involves a mobile device or app, mobile UI testing, or reproducing a bug on a phone, and tool descriptions are reasonably clear. environment_fit scored 2: it covers iOS/Android simulators, emulators, and real devices, lists Xcode, Android SDK, and Node prerequisites, and fits multiple platform environments.
information_architecture scored 2: the README is well structured with quick start, tool list, installation, environment variables, and examples, plus a wiki link. install_notes scored 3: detailed installation/config is provided for Amp, Antigravity, Cline, Claude Code, Claude Desktop, Codex, Copilot, Cursor, Gemini CLI, Goose, Kiro, opencode, and Windsurf. naming_stability scored 2: tools share the mobile_ prefix, and package/plugin names are consistent; however, package.json version 0.0.1 coexists with @latest, giving limited evidence of stable version naming. examples_and_faq scored 2: multiple natural-language prompt examples and a CI test example are given, but there is no standalone FAQ. known_limitations scored 2: SECURITY.md notes the device-permission scope, and the README covers SSE migration, unauthenticated HTTP warning, URL scheme limits, and headless requirements; known limitations are not centrally enumerated. license scored 3: a full Apache-2.0 LICENSE file is present, and package.json declares Apache-2.0. versioning_changelog scored 2: the build workflow updates versions from tags and references CHANGELOG.md, showing a release process; the actual CHANGELOG content is not shown, and package.json uses a placeholder version. maintenance_responsibility scored 2: SECURITY.md, CONTRIBUTING.md and CODE_OF_CONDUCT.md references, Slack, and issue channels are provided, with Mobile Next identified as the maintainer.
output_usability scored 2: tools return structured text, errors, and image content blocks, with coordinate-mapping guidance and batch support, making outputs usable for agents. marginal_value scored 2: it offers cross-iOS/Android mobile automation through MCP, reducing platform-specific glue work and providing clear value for agent-driven mobile testing, though it depends on an external device environment. cost_benefit scored 2: accessibility-tree-first design reduces token cost, and telemetry can be disabled, but device connection and cloud allocation add time and expense.
claim_traceability scored 1: many features and tools map to source code or tests, but claims such as 'communicates only with connected devices' contradict telemetry code, and some marketing statements lack direct evidence. cross_source_corroboration scored 1: README, SKILL.md, source, and tests largely agree on tool names, but telemetry claims, version numbers, and tool lists are inconsistent, reducing corroboration strength. fact_inference_separation scored 1: the README mixes factual feature statements, security claims, and promotional language without clearly separating verified facts from inference or promises.
- Not found in source: confirmation before actingTurn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
- The MCP server has broad control over connected devices (install/uninstall apps, input, clipboard reads, screenshots, logs) with no built-in user confirmation or fine-grained permission scoping; use it only on devices or simulators dedicated to automation.
- The README claims the server 'runs locally and communicates only with connected devices', but PostHog/Scarf telemetry is present; set MOBILEMCP_DISABLE_TELEMETRY=1 for full local operation, and note that cloud device mode introduces external network communication and costs.
- In HTTP mode without MOBILEMCP_AUTH, unauthenticated requests are accepted and the code only prints a warning; always set a token and limit the binding address when used on a production or shared network.
- Dependency versions are mostly ranges, and the audit only covers high-severity issues on package file changes; pin dependencies and run a full audit before deployment.
- Tools may uninstall apps, open external links, or perform other irreversible/external-effect actions without rollback; confirm that data loss on the device is acceptable before use.
FAQ
Is Mobile MCP open source?
Is Mobile MCP safe to use?
Is Mobile MCP still maintained?
Who makes Mobile MCP?
What is Mobile MCP's official website?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.