Mobile Pixel MCP
Enables visual-first automation and control of Android devices and emulators via ADB, including screenshots, coordinate taps/swipes, text input, app launch/status/install/uninstall/reset, OCR text finding and tapping, and app log checking.
Enables visual-first automation and control of iOS simulators or connected devices via IDB and xcrun simctl, including screenshots, coordinate interactions, text input, app launch/status/install/uninstall/reset, OCR text finding and tapping, and app log checking.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mobile Pixel MCP Open the Settings app, find Wi-Fi, and tap it."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Mobile Pixel MCP
A lightweight, visual-first Model Context Protocol (MCP) server for mobile device automation. Enables AI models to control and interact with mobile devices through screenshots and coordinate-based interactions.
Quick Start
Add this to your MCP client configuration (e.g., Claude Desktop, Cursor):
{
"mcpServers": {
"mobile-pixel": {
"command": "npx",
"args": [
"-y",
"mobile-pixel-mcp@latest"
]
}
}
}You can optionally pass arguments to specify a platform or device:
"args": ["-y", "mobile-pixel-mcp@latest", "--platform", "ios"]Related MCP server: mobile-mcp
Prerequisites
Start the server after ensuring your environment is ready:
Android
Android Debug Bridge (ADB) installed and in PATH
USB debugging enabled on device, or emulator running
Device connected and authorized (
adb devicesshows your device)
iOS
IDB (iOS Development Bridge) installed and in PATH
Xcode and Xcode Command Line Tools (
xcrun simctlsupport)Simulator running or physical device connected
Features
Visual-First: Uses screenshots + coordinates (OCR/Computer Vision ready)
Automatic OCR:
find_textandtap_texttools includedTelemetry Bridge: Read app logs via MCP
Smart Launch: Context-aware app launching (resumes if running, cold start if not)
Cross-platform support (Android & iOS)
Available Tools
Tool | Description | Parameters |
| Capture current device screen | None |
| Tap at coordinates |
|
| Swipe gesture |
|
| Input text into focused element |
|
| Press Home button | None |
| Launch/Resume an app |
|
| Check if app is running |
|
| Find text coordinates (OCR) |
|
| Find text and tap center (OCR) |
|
| Tail recent app logs |
|
| Switch device/platform dynamically |
|
| Install app from local path |
|
| Uninstall app |
|
| Reset app data/state |
|
Configuration
The server supports persistent configuration to avoid specifying arguments on every restart. It looks for mobile-pixel.config.json in the current working directory. The server will automatically create this file with default settings if it doesn't exist.
Dynamic Switching
You can use the configure_device tool to switch platforms (e.g., from Android to iOS) or target devices without restarting the MCP server. This updates the mobile-pixel.config.json file automatically.
Manual Configuration (mobile-pixel.config.json)
{
"platform": "android",
"deviceId": "emulator-5554",
"appId": "com.example.app",
"mainActivity": ".MainActivity"
}Local Development & Installation
If you want to run from source or contribute:
Clone:
git clone <repo>Install:
npm installBuild:
npm run buildRun:
# Android npm start # iOS npm start -- --platform=iosTest:
npm test
Troubleshooting
"ADB/IDB is not available"
Ensure the respective tools (adb for Android, idb/xcrun for iOS) are installed and in your system PATH.
License
Apache-2.0
Available Tools
14 toolscheck_app_logB
Tail recent app logs containing a specific tag (telemetry bridge)
Inputs: tag, filter_text.
check_app_statusC
Check if an application is running
Inputs: app_id.
configure_deviceC
Update the device configuration dynamically without restarting
Inputs: platform (required), app_id, device_id.
find_textC
Find text on the screen and return its coordinates
Inputs: text (required).
get_screenB
Capture the current device screen
Inputs: no named parameters.
homeB
Press the Home button
Inputs: no named parameters.
install_appC
Install an application from a local file path
Inputs: path (required).
launch_appC
Launch an application and return a screenshot
Inputs: app_id.
reset_appB
Reset the application state (clear data/cache) without uninstalling
Inputs: app_id.
swipeC
Swipe from (x1, y1) to (x2, y2)
Inputs: x1 (required), x2 (required), y1 (required), y2 (required), +1 more.
tapC
Tap at the specified coordinates (x, y)
Inputs: x (required), y (required).
tap_textC
Tap on the text found on the screen
Inputs: text (required).
type_textB
Type text into the focused element
Inputs: text (required).
uninstall_appB
Uninstall an application by its ID
Inputs: app_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools target a clearly distinct action (tap, swipe, type_text, install_app, check_app_log). The only mild overlap is tap_text versus the find_text + tap combination, but the descriptions make the convenience wrapper's purpose clear, so an agent can choose correctly.
The set predominantly follows a verb_noun convention (configure_device, launch_app, install_app, check_app_status, find_text). A few bare verbs (tap, swipe, home) deviate slightly but are unambiguous and idiomatic for a device-control domain.
14 tools is well within the sweet spot for a mobile automation server, covering configuration, input, screen capture, and app lifecycle without redundancy. Each tool appears to earn its place.
Coverage spans device config, input gestures, screen capture, text discovery, and full app lifecycle (install/uninstall/reset/status/log). Minor gaps exist, such as no Back/Recents navigation keys and no UI element hierarchy or wait-for-idle primitive, but agents can work around these via tap/swipe and get_screen.
Maintenance
Related MCP Connectors
Let AI agents control Android and iOS devices on Mobilerun Cloud: screen, input, apps, workflows.
Give your AI agent a real cloud Android phone: push APKs, drive it, get screenshots and logs.
AI agents on real phones: run tasks, read the screen, tap, type and install apps.
Cloud Android phones for AI agents: create a phone, read the screen, tap, type, install APKs, park.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI models to control Android devices via ADB through natural language commands, supporting screen analysis and automated actions.357 npmMIT
- AlicenseAqualityCmaintenanceEnables agents and LLMs to interact with native iOS and Android applications and devices via structured accessibility snapshots or coordinate-based taps, supporting simulators, emulators, and real devices.3955,827 npmApache 2.0
- AlicenseBqualityBmaintenanceEnables AI agents to automate Android and iOS devices, including emulators and physical devices, by capturing screenshots, reading UI accessibility trees, performing touch and text input, and managing app lifecycle and logs.184MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to visually perceive and directly control Android devices via ADB and screen-control tooling, including screenshots, taps, swipes, typing, app management, UI inspection, file transfer, shell commands, and audio/video streaming.801 npmMIT