# Mobile MCP: let your AI assistant drive phones (mobile-next/mobile-mcp) — skill card for AI agents

> AgentGid skill card. Checked on 2026-11-06 against commit 6c94597 (version 1.0.14).
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/mobile-next/mobile-mcp/

> Note: the pack has changed since this check; re-read its files before relying on details.

## Explain it to a non-programmer
Your AI assistant can use an Android or iPhone app for you: open apps, tap, swipe, type and take screenshots. It works on a phone plugged into your computer or on a simulated phone on your screen. The one skill in the pack tells the assistant a careful way to do this, step by step.

## Who it is for
- You build or test a phone app and want your assistant to click through it for you
- You want to reproduce a bug on a phone without doing every tap yourself
- You use Claude Code, Codex, Gemini, GitHub Copilot, Cursor or another assistant that supports MCP tools
- Not for: You have no Android or iOS device, emulator or simulator set up (the setup needs Xcode or the Android tools)
- Not for: You don't want usage data sent: it is on by default and you have to switch it off

## What it is
- Kind: scripts, knowledge, command
- License: Apache-2.0
- Repository: https://github.com/mobile-next/mobile-mcp

## What it does
- Pick a device first: list the available devices and use the same one for every later step; if none is found, ask you to connect one
- Read the screen as a list of on-screen elements with labels and positions; use a screenshot only when that list is missing things (games, drawn screens, images)
- Act: tap, swipe, type, press Home or Back, open and close apps, open a link
- Check after every action that the screen changed as expected; if not yet, wait briefly and look again instead of tapping blind
- Tap the centre of an element; tap a text field and confirm it is focused before typing
- Extras: save screenshots to a file, record the screen, read crash logs

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| mobile-automation | plain language ("Open the app on the emulator and ...") | no | Teaches the assistant to use the phone tools in a careful order |
| /mobile-mirror (Claude Code plugin command) | /mobile-mirror [device-id] | no | Shows the phone's live screen beside the chat; click the picture to tap |

### mobile-automation
- Asks for: A connected phone, a running Android emulator or a booted iOS simulator
- Asks for: What to do in the app, step by step or as a goal
- Gives: The actions done on the device
- Gives: Screenshots or a screen recording saved as files, if you ask
- Gives: Crash logs, if the app crashed
- Say: "List available devices, then open my app and sign up with a test account"

## Know before installing
- This is mainly a program, not just text: the skill only works with the Mobile MCP server installed, and that server runs on your computer.
- Usage data is sent by default (PostHog and Scarf): the tool name, how long it took, device counts, your system and the assistant's name. Set MOBILEMCP_DISABLE_TELEMETRY=1 to stop it.
- A get_more_tools tool sends the assistant's description of what it was trying to do to the developers. It is only there while usage data is on.
- The assistant gets full control of the device you connect. The authors suggest a device kept for this purpose.
- Every install line uses @latest, so each start can fetch a newer version of the server from npm.
- Cloud phones from the vendor need a login in your browser and may be billed.

## Install (official commands)
- Claude Code (plugin): `/plugin marketplace add mobile-next/mobile-mcp` && `/plugin install mobile-mcp@mobile-mcp` — Adds the server and /mobile-mirror. The live picture needs the kitty or Ghostty terminal. The plugin folder does not include the mobile-automation skill.
- Claude Code (server only): `claude mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcp@latest`
- Codex: `codex mcp add mobile-mcp npx "@mobilenext/mobile-mcp@latest"`
- Gemini CLI: `gemini mcp add mobile-mcp npx -y @mobilenext/mobile-mcp@latest`
- Any MCP client (config file): Add the standard mcpServers entry: command npx, args -y @mobilenext/mobile-mcp@latest. Add env MOBILEMCP_DISABLE_TELEMETRY=1 to turn off usage data.
- All detected clients at once: `npx @mobilenext/mobile-mcp@latest install` — Edits the MCP settings of every assistant it finds that you pick; --yes picks all without asking.
- The skill itself: The repo gives no install command for skills/mobile-automation. Copy that folder into your assistant's skills folder by hand.

## What runs on the user's machine
- Code on the machine: yes (the Mobile MCP server and the Claude Code plugin (the skill itself is markdown))
- Network: yes
- Each time the assistant starts the server: npx downloads @mobilenext/mobile-mcp@latest from npm and runs it with Node. It bundles a mobilecli program for your system.
- Every phone action: Runs local programs: mobilecli, adb (Android), xcrun simctl or go-ios (iOS). On a new iOS simulator it may install a helper app on that simulator.
- Start and every tool call (on by default): Sends usage events to us.i.posthog.com (tool name, duration, device counts, system, Node version, assistant name, a hashed machine id) and one Scarf pixel per run. MOBILEMCP_DISABLE_TELEMETRY turns both off.
- Real iPhones (legacy mode): Talks to WebDriverAgent over local http on the device tunnel.
- Cloud phones, only if you agree: mobilecli runs a browser login with the vendor and reserves or releases cloud devices.
- Saving screenshots, logs, recordings: Writes only into the temp folder or the folder the server was started in (never your home folder itself). LOG_FILE adds a log file.
- /mobile-mirror in Claude Code: A plugin module grabs a screenshot in a loop into /tmp/mobile-mirror-0..2.png and sends your taps and keys to the phone.
- --listen PORT: Serves the tools over http. Without MOBILEMCP_AUTH anyone who can reach the port can use them.

## Settings
- `MOBILEMCP_DISABLE_TELEMETRY`: 1 turns off usage data (PostHog, Scarf) and the get_more_tools tool
- `MOBILEMCP_AUTH`: Bearer token required on the http server (--listen)
- `MOBILEMCP_ALLOW_UNSAFE_URLS`: lets mobile_open_url open non-standard URL schemes (blocked by default)
- `MOBILEMCP_LEGACY_ROBOT`: 1 uses the older adb / go-ios path instead of mobilecli
- `LOG_FILE`: path of a log file the server appends to
- `MOBILECLI_PATH`
- `GO_IOS_PATH`
- `ANDROID_HOME`

## Steps only the person can do
- Install Node.js 20+ and Xcode command line tools (iOS) or Android Platform Tools (Android) (README.md (Prerequisites)) Then: The assistant can start the server and list devices
- Start an emulator, boot a simulator, or connect a phone over USB and trust it / authorise USB debugging (README.md (Platform Support)) Then: mobile_list_available_devices returns the device and the assistant uses it for every step
- Decide whether to use paid-for cloud phones and log in in the browser if yes (https://mobilenext.ai/cloud) Then: The assistant lists, reserves and later releases a cloud device
- Set MOBILEMCP_DISABLE_TELEMETRY=1 in the server's env if you do not want usage data sent (README.md (Telemetry)) Then: The server sends no usage events and hides get_more_tools

## Mistakes to avoid
- Not: Install the Claude Code plugin and expect the mobile-automation skill to come with it. Instead: Copy skills/mobile-automation into the assistant's skills folder yourself if you want the skill. Why: The plugin adds the server and /mobile-mirror; the skill folder sits outside it
- Not: Ask the assistant to drive the app with no device, emulator or simulator running. Instead: Start an emulator or boot a simulator (or plug in and authorise a phone) before the first request. Why: The tools only see devices already connected to the machine
- Not: Open an app deep link with mobile_open_url and expect it to work. Instead: Start the server with MOBILEMCP_ALLOW_UNSAFE_URLS=1 if you need non-web URL schemes. Why: Only http and https links are allowed by default
- Not: Run the server with --listen and no MOBILEMCP_AUTH. Instead: Set MOBILEMCP_AUTH to a token whenever the http server is used. Why: Without it anyone who can reach the port can use the phone tools
- Not: Expect /mobile-mirror to show the screen in any terminal. Instead: Run Claude Code in kitty or Ghostty. Why: The live picture needs the kitty graphics protocol

## What leaves the machine
- Usage events (tool name, duration, device counts, system, Node version, assistant name, a hashed machine id) → PostHog (us.i.posthog.com), At start and on every tool call, on by default. Opt out: MOBILEMCP_DISABLE_TELEMETRY=1
- One tracking pixel request per run → Scarf (static.scarf.sh), At start, on by default. Opt out: MOBILEMCP_DISABLE_TELEMETRY=1
- The assistant's own description of the goal it could not reach → The mobile-mcp developers (via PostHog), Only if the assistant calls get_more_tools; the tool exists only while usage data is on. Opt out: MOBILEMCP_DISABLE_TELEMETRY=1
- Cloud login and device reservations → Mobile Next Cloud, Only if you agree to use cloud phones. Opt out: Use local devices only
- The npm package download on each start → The npm registry, Every start, because the install lines use @latest. Opt out: Pin a version instead of @latest

## Lines in the pack aimed at agents (ask the person first)
- "npx @mobilenext/mobile-mcp@latest install" (README.md): Edits the MCP settings of other assistants on the machine; ask the person before running it, and never add --yes on their behalf
- ""args": ["-y", "@mobilenext/mobile-mcp@latest"]" (mcp.json): Fetches whatever version is newest on every start; tell the person, offer a pinned version
- "Unlike local devices, a remote device is a shared and billed resource borrowed for the session - never call this silently." (src/server.ts): Ask the person before logging in to or reserving a cloud device, and release it when done

## May I use it like this?
- commercial-app: yes (Apache-2.0: keep the license and notices)
- redistribute-files: conditions (Apache-2.0: include the license, keep notices, mark changed files)
- client-work: yes (Apache-2.0 allows use in work for others)
- inside-app-bundle: conditions (Apache-2.0: ship the license text and keep notices with the bundled copy)

## Which one to pick
- If You want one MCP server for Android and iOS, emulators, simulators and real phones, with an optional vendor cloud: skill:mobile-next/mobile-mcp
- If You only work with the iOS Simulator and Xcode and want a skill built around the Xcode command line: skill:conorluddy/ios-simulator-skill
- If You want another MCP server that controls the iOS Simulator and Android Emulator: tool:swmansion-argent

## Works well with
- agent:claude-code: The Claude Code plugin adds the server and the /mobile-mirror live screen
- agent:openai-codex: Codex adds the server with one codex mcp add line
- tool:react-native: Drive the iOS and Android builds of a React Native app on simulators and emulators
- tool:expo: Click through an Expo app on a simulator or emulator while you build it

## Works in and needs
- Works in Claude Code: plugin or MCP server
- Works in Codex: MCP server
- Works in Gemini CLI: MCP server
- Works in Cursor: MCP server
- Works in Windsurf: MCP server
- Works in Cline: MCP server
- Works in GitHub Copilot CLI: MCP server
- Works in Any MCP client: MCP server (standard config)
- Needs Node.js 20+: The server runs with npx
- Needs Xcode command line tools: For iOS simulators and iPhones
- Needs Android Platform Tools (adb): For Android emulators and phones
- Needs kitty or Ghostty terminal: Only for the /mobile-mirror live picture
- Needs Mobile Next Cloud account: Only for cloud phones; may be billed

## How to tell it works
Start an Android emulator or an iOS simulator, then ask your assistant "list available devices". It should name the running device. Then ask it to open the Settings app and tell you what is on the screen.

## Related
- mobile-next/mobilewright
- mobile-next/mobilecli

## Safety
The assistant can do anything on the connected device that you could, so the authors suggest a device kept for this use. Usage data is on by default; turn it off with MOBILEMCP_DISABLE_TELEMETRY=1. Install lines fetch the latest version from npm on each start. The README's privacy line says it talks only to your devices, but the code also sends usage data unless switched off.
