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
74.9K downloads
2.4K stars

Mobile MCP is a Model Context Protocol server that enables mobile automation and development through a platform-agnostic interface for iOS and Android. It allows AI agents and LLMs to interact with mobile applications using accessibility snapshots or coordinate-based interactions based on screenshots, eliminating the need for separate iOS or Android knowledge.

Getting Started

Prerequisites

Before installing Mobile MCP, ensure you have the following:

Installation

You can install Mobile MCP using npm. The standard configuration works with most MCP tools:

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

Tool-Specific Setup

For Claude Code

Use the Claude Code CLI to add the Mobile MCP server:

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

For Gemini CLI

Use the Gemini CLI to add the Mobile MCP server:

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

For Cursor

Go to Cursor SettingsMCPAdd new MCP Server. Name it to your liking, use command type with the command npx -y @mobilenext/mobile-mcp@latest. You can also verify config or add command line arguments via clicking Edit.

For Goose

Go to Advanced settingsExtensionsAdd custom extension. Name it to your liking, use type STDIO, and set the command to npx -y @mobilenext/mobile-mcp@latest. Click "Add Extension".

For Qodo Gen

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

Device Setup

Mobile MCP can connect to:

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

Running with Simulators/Emulators

When you don't have a real device connected, you can use simulators/emulators in the background:

For Android:

  1. Start an emulator using avdmanager/emulator command
  2. Run Mobile MCP with your desired flags

For iOS:

  1. Check available simulators:

    xcrun simctl list
    
  2. Boot a simulator:

    xcrun simctl boot "iPhone 16"
    

Usage Examples

After adding the MCP server to your IDE/Client, instruct your AI assistant to use the available tools. Be descriptive and straight to the point in your prompts.

Example Workflows

Media 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 Installation 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.

Content Reading and 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.

Appointment Booking

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

Event Discovery and Calendar Integration

Open Eventbrite, search for AI startup meetup events happening this weekend in "Austin, TX", select the most popular one, register and RSVP yes to the event, setup a calendar event as a reminder.

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 10AM with a duration of 1 hour, copy the invitation link, and send it via Gmail to contacts "[email protected]".

Key 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 tool application: Reduces ambiguity by using structured data when possible
  • Structured data extraction: Extract data from anything visible on screen

For more detailed documentation, 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