# Mobile MCP

> Mobile MCP is an open-source MCP server for developer tools. Drive iOS and Android simulators, emulators and real devices via the accessibility tree. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, iOS, Android
- **Repository:** https://github.com/mobile-next/mobile-mcp
- **MCP Registry name:** io.github.mobile-next/mobile-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [browser automation](https://ai-powered.com/categories/browser-automation)
- **Listing updated:** 2026-11-23

## About

Mobile MCP lets an agent operate native apps without per-platform test code. It reads the native accessibility tree rather than relying on a vision model, which the README says is faster and cheaper, and falls back to screenshots and coordinates only when needed. The same tools cover iOS simulators and real devices, and Android emulators and real devices.

The tool list is broad: device management (orientation, foldables, GPS override, clipboard), app install, launch and clear data, taps, swipes and long presses, text input and hardware buttons, screen recording, device logs and crash reports, and batch commands that run several steps in one call. Optional Mobile Next Cloud tools can reserve a physical cloud device instead of using local hardware.

Requirements are Node.js 20 or newer, Xcode command line tools for iOS and Android Platform Tools for Android. An install command detects supported MCP clients on your machine and configures the ones you pick. Claude Code users in Ghostty or kitty can mirror the device screen in a side pane.

## Features

- **Accessibility-first control:** Drives apps from the native UI tree, with screenshots as a fallback.
- **iOS and Android targets:** Simulators, emulators and real devices share one tool set.
- **Gestures and input:** Taps, double taps, long presses, swipes, typing and hardware buttons.
- **App lifecycle:** Install, launch, terminate, uninstall and clear data.
- **Logs and crashes:** Collect device logs and read crash reports.
- **Cloud devices:** Reserve real devices from Mobile Next Cloud.

## Good for

- Automate a multi-step flow in a native app
- Fill forms or enter data in a mobile app
- Capture screenshots and screen recordings for bug reports
- Test a deep link or location override
- Pull a crash report for debugging

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mobilenext/mobile-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mobilenext/mobile-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mobilenext/mobile-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mobile-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mobilenext/mobile-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mobile-mcp]
command = "npx"
args = ["-y", "@mobilenext/mobile-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mobilenext/mobile-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user mobile-mcp npx -- -y @mobilenext/mobile-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mobilenext/mobile-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mobilenext/mobile-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mobilenext/mobile-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mobilenext/mobile-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mobilenext/mobile-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mobilenext/mobile-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mobilenext/mobile-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mobilenext/mobile-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 34 tools deletes data and 4 change data; 19 names don't say. From the server's own tool labels and tool names; not verified by us.

- `mobile_list_available_devices` (name suggests: reads): List simulators, emulators and real devices.
- `mobile_get_screen_size` (name suggests: reads): Get the device screen size in pixels.
- `mobile_get_orientation` (name suggests: reads): Get the current screen orientation.
- `mobile_set_orientation` (name suggests: changes): Change the orientation between portrait and landscape.
- `mobile_fold_device`: Fold or unfold a foldable device.
- `mobile_set_location` (name suggests: changes): Override or clear the reported GPS location.
- `mobile_clipboard`: Read or replace the device clipboard.
- `mobile_login_to_cloud_provider`: Authenticate with the cloud device provider.
- `mobile_list_remote_devices` (name suggests: reads): List cloud device models available to reserve.
- `mobile_allocate_remote_device`: Reserve a physical cloud device.
- `mobile_release_remote_device`: Release a reserved cloud device.
- `mobile_list_apps` (name suggests: reads): List installed apps.
- `mobile_get_foreground_app` (name suggests: reads): Get the app in the foreground.
- `mobile_launch_app`: Launch an app by package name.
- `mobile_terminate_app`: Stop a running app.
- `mobile_install_app`: Install an app from a file.
- `mobile_uninstall_app` (name suggests: deletes): Uninstall an app.
- `mobile_clear_app_data`: Clear an app's data.
- `mobile_take_screenshot`: Take a screenshot.
- `mobile_save_screenshot`: Save a screenshot to a file.
- `mobile_list_elements_on_screen` (name suggests: reads): List UI elements with coordinates and properties.
- `mobile_click_on_screen_at_coordinates`: Click at coordinates or on an element by ref.
- `mobile_double_tap_on_screen`: Double-tap at coordinates or on an element.
- `mobile_long_press_on_screen_at_coordinates`: Long press at coordinates or on an element.
- `mobile_swipe_on_screen`: Swipe up, down, left or right.
- `mobile_start_screen_recording` (name suggests: changes): Start recording the screen.
- `mobile_stop_screen_recording` (name suggests: changes): Stop and save the recording.
- `mobile_type_keys`: Type text into the focused element.
- `mobile_press_button`: Press device buttons such as HOME or BACK.
- `mobile_open_url`: Open a URL in the device browser.
- `mobile_get_device_logs` (name suggests: reads): Collect live device logs.
- `mobile_list_crashes` (name suggests: reads): List crash reports on the device.
- `mobile_get_crash` (name suggests: reads): Get a crash report by ID.
- `mobile_batch_commands`: Run several tools in sequence in one call.

## FAQ

### What do I need installed?

Node.js 20 or newer, Xcode command line tools for iOS, and Android Platform Tools for Android.

### Does Mobile MCP need a vision model?

Not usually; it uses the accessibility tree and only falls back to screenshots when needed.

### Which devices work?

iOS simulators and real devices, Android emulators and real devices.

### How do I install Mobile MCP?

Run npx @mobilenext/mobile-mcp@latest install to configure detected clients, or add the npx entry by hand.

### Can I use cloud devices?

Yes, through Mobile Next Cloud with the same tools.

### Is Mobile MCP free?

Yes. Mobile MCP is open source, so you can use and self-host it for free.

### How do I add Mobile MCP to Claude Code?

Run this command in your terminal: claude mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcp

### What are the best alternatives to Mobile MCP?

The closest alternatives to Mobile MCP are REA, Browser Use, Scrapling MCP Server, Context7 and Chrome DevTools MCP.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Browser Use](https://ai-powered.com/mcp/browser-use): Browser Use is a freemium MCP server for browser automation.
- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/mobile-mcp
