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
Provider
Mobile Next
Release date
Apr 03, 2025
Language
TypeScript
Package
Stats
1.7K downloads
399 stars

The Mobile Next MCP server provides a platform-agnostic interface for mobile automation and development, allowing agents and LLMs to interact with native iOS/Android applications through accessibility snapshots or coordinate-based interactions. It works with simulators, emulators, and physical devices across both iOS and Android platforms.

Installation

Setting Up the MCP Server

You can integrate the Mobile Next MCP server with various AI tools:

For Cursor, Claude, VS Code, or GitHub Copilot:

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

For Claude Code:

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

Prerequisites

Before using Mobile Next MCP, ensure you have the following tools installed:

Usage

Connecting to Devices

Mobile MCP can connect to:

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

Running with Simulators/Emulators

When no physical device is connected, you can use simulators or emulators:

For Android:

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

For iOS:

  1. List available simulators:
xcrun simctl list
  1. Boot a simulator:
xcrun simctl boot "iPhone 16"
  1. Connect Mobile MCP to the running simulator

Example Workflows

After setting up, you can instruct your AI assistant to perform various tasks. Here are some example prompts:

Video Interaction

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 Download and Review

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.

Weather and Messaging

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.

Meeting Scheduling

Open Zoom app, schedule a meeting titled "AI Hackathon" for tomorrow at 10 AM with a duration of 1 hour,
copy the invitation link, and send it via Gmail to contacts "[email protected]".

Features

Key Capabilities

  • Accessibility-Based Interaction: Uses native accessibility trees for most interactions
  • Screenshot-Based Fallback: Falls back to screenshot-based coordinates when accessibility data isn't available
  • LLM-Friendly: No computer vision model required for accessibility snapshot mode
  • Structured Data Extraction: Extract structured information from on-screen content
  • Deterministic Tool Application: Reduces ambiguity by using structured data when possible
  • Visual Analysis: Evaluates what's rendered on screen to determine the next action

These features make Mobile MCP ideal for automating app testing, data entry, multi-step user journeys, and enabling agent-to-agent communication for mobile automation use cases.

How to add this MCP server to 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 > MCP and click "Add new global MCP server".

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

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

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 explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

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