
Android Mobile MCP
Enables AI agents to control Android devices through touch, swipe, text input, and app management via ADB connection. Takes screenshots and extracts UI elements for automated mobile testing and interaction.
Enables AI agents to interact with Android devices through UI manipulation, screen capture, touch gestures, text input, and app management via ADB. Provides comprehensive mobile automation capabilities including element detection, navigation, and application control for Android device testing and interaction.
What it does
- Take screenshots of Android device screens
- Click and swipe on specific screen coordinates
- Extract UI elements and their hierarchical structure
- Type text into focused input fields
- Launch and manage Android applications
- Press system buttons like back, home, and recent
Best for
About Android Mobile MCP
Android Mobile MCP is a community-built MCP server published by erichung9060 that provides AI assistants with tools and capabilities via the Model Context Protocol. Android Mobile MCP: control Android devices via ADB for Android automation — UI actions, screen capture, gestures, text It is categorized under developer tools. This server exposes 9 tools that AI clients can invoke during conversations and coding sessions.
How to install
You can install Android Mobile MCP in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
License
Android Mobile MCP is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Tools (9)
Initialize the Android device connection. Must be called before using any other mobile tools.
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.
Click on a specific coordinate on the Android screen. Args: x: X coordinate to click y: Y coordinate to click
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
Press a physical or virtual button on the Android device. Args: button: Button name (BACK, HOME, RECENT, ENTER)
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
- Connect Android device via USB or network
- Enable USB debugging on your Android device
- 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_uicall 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
Alternatives
Related Skills
Browse all skillsComprehensive guide for creating professional UI/UX designs in Penpot using MCP tools. Use this skill when: (1) Creating new UI/UX designs for web, mobile, or desktop applications, (2) Building design systems with components and tokens, (3) Designing dashboards, forms, navigation, or landing pages, (4) Applying accessibility standards and best practices, (5) Following platform guidelines (iOS, Android, Material Design), (6) Reviewing or improving existing Penpot designs for usability. Triggers: "design a UI", "create interface", "build layout", "design dashboard", "create form", "design landing page", "make it accessible", "design system", "component library".
Mobile-first design and engineering doctrine for iOS and Android apps. Covers touch interaction, performance, platform conventions, offline behavior, and mobile-specific decision-making. Teaches principles and constraints, not fixed layouts. Use for React Native, Flutter, or native mobile apps.
Master Material Design 3 and Jetpack Compose patterns for building native Android apps. Use when designing Android interfaces, implementing Compose UI, or following Google's Material Design guidelines.
This skill enables automated testing of mobile applications on iOS and Android platforms using frameworks like Appium, Detox, XCUITest, and Espresso. It generates end-to-end tests, sets up page object models, and handles platform-specific elements. Use this skill when the user requests mobile app testing, test automation for iOS or Android, or needs assistance with setting up device farms and simulators. The skill is triggered by terms like "mobile testing", "appium", "detox", "xcuitest", "espresso", "android test", "ios test".
UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.
Guide for mobile game security on Android and iOS platforms. Use this skill when working with Android/iOS reverse engineering, mobile game hacking, APK analysis, root/jailbreak detection bypass, or mobile anti-cheat systems.