Mobile Device Control MCP server

Enables remote control of Android and iOS devices through commands for screenshots, app management, screen interactions, and UI navigation, ideal for automated testing and demonstrations.
Back to servers
Setup instructions
Provider
Mobile Next
Release date
Apr 03, 2025
Language
TypeScript
Package
Stats
99.0K downloads
2.6K stars

Mobile Next MCP server provides a platform-agnostic interface for mobile automation and development, enabling LLMs and agents to interact with iOS and Android applications through accessibility snapshots or coordinate-based interactions on screenshots. It supports simulators, emulators, and real devices without requiring specific iOS or Android knowledge.

Installation

Standard Configuration

Most MCP-compatible tools work with this standard configuration:

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

Platform-Specific Installation

Cline

Add the standard JSON configuration to your MCP settings file.

Claude Code CLI

claude mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcp@latest

Cursor

Go to Cursor Settings -> MCP -> Add new MCP Server. Use a name of your choice, select command type with command npx -y @mobilenext/mobile-mcp@latest.

Gemini CLI

gemini mcp add mobile-mcp npx -y @mobilenext/mobile-mcp@latest

Goose

Go to Advanced settings -> Extensions -> Add custom extension. Use a name of your choice, select type STDIO, and set the command to npx -y @mobilenext/mobile-mcp@latest.

Qodo Gen

Open the Qodo Gen chat panel in VSCode or IntelliJ → Connect more tools → + Add new MCP → Paste the standard config above. Click Save.

Prerequisites

Before using Mobile MCP, ensure you have:

Device Setup

Simulators and Emulators

iOS Simulators (macOS/Linux)

List available iOS simulators:

xcrun simctl list

Boot a specific simulator:

xcrun simctl boot "iPhone 16"

Android Emulators (Linux/Windows/macOS)

Start an Android emulator using the Android SDK tools.

Real Devices

Mobile MCP can connect to physical iOS or Android devices when properly connected to your machine with appropriate drivers and platform tools installed.

Usage Examples

After adding the MCP server to your IDE/Client, you can instruct your AI assistant to use the available tools. Here are some example prompts:

Basic Workflows

Find the video called "Beginner Recipe for Tonkotsu Ramen" by Way of Ramen, click on like video, after liking write a comment "this was delicious, will make it next Friday", share the video with the first contact in your whatsapp list.
Find and Download a free "Pomodoro" app that has more than 1k stars. Launch the app, register with my email, after registration find how to start a pomodoro timer. When the pomodoro timer started, go back to the app store and rate the app 5 stars, and leave a comment how useful the app is.

App-Specific Tasks

Open Weather app, check tomorrow's weather forecast for "Berlin", and send the summary via Whatsapp/Telegram/Slack to contact "Lauren Trown", thumbs up their response.
Open Zoom app, schedule a meeting titled "AI Hackathon" for tomorrow at 10AM with a duration of 1 hour, copy the invitation link, and send it via Gmail to contacts "[email protected]".

Available Tools

Mobile MCP provides several categories of tools:

Device Management

  • List available devices
  • Get/set screen orientation
  • Get screen size

App Management

  • List installed apps
  • Launch, terminate, install, and uninstall apps

Screen Interaction

  • Take and save screenshots
  • List UI elements with their coordinates
  • Click, double-tap, long-press at coordinates
  • Swipe in different directions

Input & Navigation

  • Type text into focused elements
  • Press device buttons (HOME, BACK, etc.)
  • Open URLs in the device browser

Platform Support

  • iOS: Simulators and real devices via native accessibility and WebDriverAgent
  • Android: Emulators and real devices via ADB and UI Automator
  • Cross-platform: Unified API works across both iOS and Android

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "mobile-mcp" '{"command":"npx","args":["-y","@mobilenext/mobile-mcp@latest"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

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

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

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

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later