Skip to main content

Android Mobile MCP

Project description

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

{
  "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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

android_mobile_mcp-2.4.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

android_mobile_mcp-2.4.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file android_mobile_mcp-2.4.1.tar.gz.

File metadata

  • Download URL: android_mobile_mcp-2.4.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for android_mobile_mcp-2.4.1.tar.gz
Algorithm Hash digest
SHA256 2f1c0f0187e251824ec397728ce97b347282e7c617a5dd948117490f02b98d6c
MD5 265c24438bbfd04aba3205a1865ae4ad
BLAKE2b-256 61d2643ef035e5b3c7d49ddc4f37204ccf451f288330191ca81d054938cf8d37

See more details on using hashes here.

Provenance

The following attestation bundles were made for android_mobile_mcp-2.4.1.tar.gz:

Publisher: publish.yml on erichung9060/Android-Mobile-MCP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file android_mobile_mcp-2.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for android_mobile_mcp-2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16182783373be9fec6a49c8ebf766510a396dbe9bfbcc265a6326d042357269a
MD5 12c8ca8c3b50c977c8d2e701edb1fd01
BLAKE2b-256 8e0e8616aaab4fcfa04854f9bdf5f2a9afad30c6315170cc5c9ac7e9338f7345

See more details on using hashes here.

Provenance

The following attestation bundles were made for android_mobile_mcp-2.4.1-py3-none-any.whl:

Publisher: publish.yml on erichung9060/Android-Mobile-MCP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page