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
30.6K downloads
1.9K stars

Mobile Next MCP provides a platform-agnostic interface for mobile automation and development, allowing AI agents and LLMs to interact with native iOS/Android applications through accessibility snapshots or screenshot-based interactions. It works with simulators, emulators, and real devices, eliminating the need for specific iOS or Android knowledge.

Installation

Prerequisites

Before installing Mobile MCP, ensure you have:

Setting Up Mobile MCP

Depending on your AI tool, configure Mobile MCP as follows:

For Cline

Add this to your MCP settings file:

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

For Claude Code

Run this command:

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

Usage

Connecting to Devices

Mobile MCP can connect to:

  • iOS Simulators (macOS/Linux)
  • Android Emulators (Linux/Windows/macOS)
  • iOS or Android real devices

Running with Simulators/Emulators

When no real device is connected, you can run Mobile MCP with an emulator or simulator:

For Android:

  1. Start an emulator using avdmanager or emulator command
  2. Run Mobile MCP with appropriate flags

For iOS:

  1. List available simulators:

    xcrun simctl list
    
  2. Boot a simulator:

    xcrun simctl boot "iPhone 16"
    
  3. Run Mobile MCP

Example Prompts

Here are some tasks you can instruct your AI assistant to perform after setting up Mobile MCP:

Media Interaction Workflow

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.

App Installation and Rating

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.

Content Interaction

Open Substack website, search for "Latest trends in AI automation 2025",
open the first article, highlight the section titled "Emerging AI trends",
and save article to reading list for later review, comment a random
paragraph summary.

Scheduling and Calendar

Open ClassPass, search for yoga classes tomorrow morning within 2 miles,
book the highest-rated class at 7 AM, confirm reservation,
setup a timer for the booked slot in the phone

Features

  • Fast and lightweight: Uses native accessibility trees for most interactions
  • LLM-friendly: No computer vision model required in Accessibility mode
  • Visual Sense: Evaluates what's rendered on screen to determine next actions
  • Deterministic interactions: Reduces ambiguity by using structured data when possible
  • Data extraction: Can extract structured data from screen content

For more detailed configuration options and troubleshooting, visit the Mobile MCP Wiki.

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