Android Mobile MCP logo

Android Mobile MCP

Community
erichung9060

🤖 This MCP server enabling AI agents to control Android devices.

Publishererichung9060
RepositoryAndroid-Mobile-MCP
LanguagePython
Forks
4
Stars
4
Available tools
9
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    Android Mobile MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 9 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    4 stars and 4 forks from the linked repository.

Android Mobile MCP

Overview

Android Mobile MCP bridges the Model Context Protocol with Android device automation, enabling AI agents to interact with Android devices through UI manipulation, app management, and screen capture.

MCP Configuration

json
{
  "mcpServers": {
    "android-mobile-mcp": {
      "command": "uvx",
      "args": ["android-mobile-mcp"]
    }
  }
}

Prerequisites

  1. Connect Android device via USB or network
  2. Enable USB debugging on your Android device
  3. Install ADB (Android Debug Bridge)

Tools Reference

Screen Analysis

mobile_dump_ui - Extract UI elements as hierarchical JSON

  • Parses screen XML to identify focusable elements and text content
  • Calculates center coordinates for each interactive element
  • Returns structured parent-child element relationships

mobile_take_screenshot - Capture current screen state

  • Returns PNG image data for visual analysis

Touch Interactions

mobile_click - Click at specific coordinates

  • Validates coordinates against current UI state
  • Requires prior mobile_dump_ui call for coordinate verification
  • Prevents clicking on invalid or non-interactive areas

mobile_swipe - Perform swipe gestures

  • Executes directional swipes between two coordinate points
  • Configurable duration for gesture speed control

Text Input

mobile_type - Input text into focused fields

  • Sends text to currently active input field
  • Optional automatic submission with Enter key

Navigation

mobile_key_press - Press system buttons

  • Supports hardware and virtual keys: BACK, HOME, RECENT, ENTER

App Management

mobile_list_apps - List installed applications

  • Filters out system apps and non-launchable packages
  • Returns only user-accessible applications

mobile_launch_app - Start applications by package name

  • Validates package existence before launch attempt

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "android-mobile-mcp": {
      "command": "uvx",
      "args": [
        "android-mobile-mcp"
      ]
    }
  }
}

Available Tools

  • mobile_init

    Initialize the Android device connection.

    Must be called before using any other mobile tools.

  • mobile_dump_ui

    Get UI elements from Android screen as JSON with hierarchical structure.

    Returns a JSON structure where elements contain their child elements, showing parent-child relationships. Only includes focusable elements or elements with text/content_desc/hint attributes.

  • mobile_click

    Click on a specific coordinate on the Android screen.

    Args: x: X coordinate to click y: Y coordinate to click

  • mobile_type

    Input text into the currently focused text field on Android.

    Args: text: The text to input submit: Whether to submit text (press Enter key) after typing

  • mobile_key_press

    Press a physical or virtual button on the Android device.

    Args: button: Button name (BACK, HOME, RECENT, ENTER)

  • mobile_swipe

    Perform a swipe gesture on the Android screen.

    Args: start_x: Starting X coordinate start_y: Starting Y coordinate end_x: Ending X coordinate end_y: Ending Y coordinate duration: Duration of swipe in seconds (default: 0.5)

  • mobile_list_apps

    List all installed applications on the Android device.

    Returns a JSON array with package names and application labels.

  • mobile_launch_app

    Launch an application by its package name.

    Args: package_name: The package name of the app to launch (e.g., 'com.android.chrome')

  • mobile_take_screenshot

    Take a screenshot of the current Android screen.

    Returns an image object that can be viewed by the LLM.

Use Android Mobile MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Android Mobile MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Android Mobile MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Android Mobile MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "android-mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "android-mobile-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Android Mobile MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Android Mobile MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Android Mobile MCP to help me with this task?
Android Mobile MCP
Sure. I read it.
Here is what I found using Android Mobile MCP.

Frequently asked questions

What is the Android Mobile MCP MCP server used for?

Android Mobile MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Android Mobile MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Android Mobile MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Android Mobile MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Android Mobile MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Android Mobile MCP MCP to TypingMind?

Android Mobile MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Android Mobile MCP MCP provide in TypingMind?

Android Mobile MCP exposes 9 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Android Mobile MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Android Mobile MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇