Mobile Pilot
Provides tools to control Android emulators: list, start, and stop devices; capture screenshots; tap, swipe, type, and press keys; install and launch apps; run adb shell commands; record the screen; and retrieve logcat logs.
Provides tools to control iOS simulators: list, start, and stop devices; capture screenshots; simulate taps, swipes, text input, and key presses via macOS accessibility APIs and simctl; install and launch apps; run simctl commands; record video; and retrieve unified logs.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Mobile Pilot
MCP server that lets AI assistants control Android emulators and iOS simulators — start devices, take screenshots, tap, swipe, type, and more.
Requirements
Node.js >= 18
macOS (ARM64 or Intel)
Android
Android SDK with
adbandemulatorin your PATH (orANDROID_HOMEset)At least one AVD created via Android Studio or
avdmanager
iOS
Xcode with Command Line Tools (
xcode-select --install)xcrun simctlavailableAt least one iOS Simulator runtime installed
Related MCP server: Karagöz
Installation
git clone https://github.com/xilenco/mobile-pilot.git
cd mobile-pilot
npm install
npm run buildUsage
With Claude Code
Add to your MCP config (~/.claude/claude_desktop_config.json or project .mcp.json):
{
"mcpServers": {
"mobile-pilot": {
"command": "node",
"args": ["/path/to/mobile-pilot/dist/index.js"],
"env": {
"ANDROID_HOME": "/Users/you/Library/Android/sdk",
"ANDROID_AVD_HOME": "/Users/you/.android/avd"
}
}
}
}Standalone
npm startThe server communicates over stdio using the MCP protocol.
macOS Permissions
Accessibility (required for iOS interactions)
iOS tap, swipe, type, and press_key use macOS accessibility APIs to interact with the Simulator window. You must grant Accessibility permission to the app running the MCP server.
System Settings > Privacy & Security > Accessibility
Add the terminal or app that runs the server:
Claude Code CLI: add
Terminal.app,iTerm, or your terminal emulatorClaude Desktop: add
Claude.appVS Code: add
Visual Studio Code.app
Without this permission, iOS interaction tools will fail with an error.
Screen Recording (required for iOS screenshots)
xcrun simctl io screenshot may require Screen Recording permission on some macOS versions.
System Settings > Privacy & Security > Screen Recording
Add the same app as above.
Full Disk Access (optional)
Not required for normal operation. Only needed if you work with app data containers on simulators.
Tools
Device Management
Tool | Description |
| List available emulators/simulators and their state (running/shutdown) |
| Start an Android emulator (AVD) or iOS simulator |
| Stop a running emulator/simulator |
| Capture a screenshot (returned as PNG image) |
Interaction
Tool | Description |
| Tap at a position using ratios (0.0–1.0, where 0,0 = top-left) |
| Swipe between two positions using ratios, with configurable duration |
| Type text into a focused text field |
| Press a hardware/system key (home, back, enter, etc.) |
Apps
Tool | Description |
| Install an APK (Android) or .app bundle (iOS) on a running device |
| Launch an app by package name (Android) or bundle ID (iOS) |
| List installed apps on a device |
Advanced
Tool | Description |
| Run a shell command on a device ( |
| Record the device screen for a given duration (saved as .mp4) |
| Get recent device logs (logcat for Android, unified log for iOS) |
Parameters
All tools require platform ("android" or "ios") and device (device ID or name).
Coordinate system
tap and swipe use ratios from 0.0 to 1.0 relative to the screen:
(0, 0)= top-left corner(1, 1)= bottom-right corner(0.5, 0.5)= center of screen
This makes coordinates independent of device resolution and Simulator window size. The MCP automatically maps ratios to the correct screen position by reading the Simulator's content area at runtime.
Examples:
tap(x: 0.5, y: 0.95) → tap the search bar at the bottom
swipe(x1: 0.02, y1: 0.5, x2: 0.7, y2: 0.5) → swipe-back gesture (left edge to center)
swipe(x1: 0.5, y1: 0.8, x2: 0.5, y2: 0.3) → scroll downpress_key supported keys
Android: home, back, enter, tab, delete, power, volume_up, volume_down, menu, search, app_switch
iOS: home, lock, enter, tab, delete, escape, up, down, left, right (plus any single character)
How It Works
Android
All interactions go through adb:
Device management:
adb devices,emulator -avdInput:
adb shell input tap/swipe/text/keyevent(ratios converted to pixels viawm size)Screenshots:
adb shell screencapApps:
adb install,adb shell pm,adb shell monkeyLogs:
adb logcatScreen recording:
adb shell screenrecord
iOS
Device management:
xcrun simctl boot/shutdown/listScreenshots:
xcrun simctl io screenshotTap/Swipe: Swift CGEvents via osascript (simulates mouse on the Simulator window, ratios auto-mapped to the content area)
Text input:
xcrun simctl pbcopy+ Cmd+V paste via AppleScriptKey presses: AppleScript keystroke/key code events to Simulator.app
Apps:
xcrun simctl install/launch/listappsLogs:
xcrun simctl spawn log showScreen recording:
xcrun simctl io recordVideo
Note: iOS interactions require the Simulator window to be visible. The tools will automatically bring Simulator to the foreground.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
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.
Cloud Android devices for AI agents: install an APK, read the screen, tap, type, read logcat.
Disposable cloud Android emulators for coding agents: run an APK or PR build, tap, type, screenshot.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables AI agents to control the Android Emulator through adb, including booting AVDs, installing and managing apps, interacting with the UI, taking screenshots, reading logs, and more.37MIT
- AlicenseAqualityBmaintenanceEnables 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
- AlicenseBqualityDmaintenanceEnables AI models to automate Android and iOS devices through screenshots, coordinate-based interactions, OCR text finding, app management, and log access.1410 npm3Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control Android devices and emulators through ADB, including screenshots, UI interaction, app management, file transfer, and streaming logs.1MIT