MCP server for Android emulator automation via ADB.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
MCP server for Android emulator automation via ADB.
Verify adb:
Claude Desktop, one-click: download expo-android.mcpb from the latest release and drag it into Settings β Extensions. You can leave both fields empty β adb is auto-detected and the only connected device is used by default.
Via npm:
doctor to validate adb + device selection.inspect, tapElement, inputText, etc.Example:
Or edit ~/.codex/config.toml:
Serial selection priority:
serial param (per tool call) β setDevice override β ADB_SERIAL env β auto (if only one device).
| Variable | Default | Description |
|---|---|---|
ADB_PATH | adb | Path to adb executable |
ADB_SERIAL | optional | Device serial to target (auto to clear and auto-detect) |
ADB_TIMEOUT_MS | 15000 | Timeout for adb commands |
ADB_MAX_BUFFER_MB | 10 | Max output buffer size |
ADB_DEBUG | 0 | Log adb diagnostics to stderr |
MCP_TRANSPORT | stdio | Transport: stdio, http, or both |
PORT | 7332 | HTTP port when using http/both |
The server starts even when adb is missing β tools return the ADB executable not found
error until adb becomes reachable (run doctor to diagnose). To fix it, set ADB_PATH
or export an SDK path:
If multiple devices are connected, set ADB_SERIAL to the target device.
You can also run setDevice at runtime:
If you update PATH or SDK variables, restart the MCP process so it can pick up the new environment.
Tool names are plain identifiers (e.g. tap); your MCP client prefixes them with the server name you registered.
devices β list connected devices and emulators.doctor β validate adb availability and show connected devices.setDevice β override the active device serial for this MCP process.inspect β UI dump parsed into elements with a summary (screenshot optional).screenshot β capture a screenshot only (base64 or file path).findElement β return elements that match search criteria.tapElement β find an element and tap its center.waitForElement β wait until an element appears (optionally with state checks).assertElement β verify element existence and state.tap β tap at x/y coordinates.swipe β swipe between coordinates.longPress β press and hold at coordinates.inputText β type text in the focused field.keyEvent β send Android key events (e.g., BACK, HOME).openApp β launch an app by package name.listPackages β list installed package names.installExpoGo β download the pinned Expo Go APK and install it via adb install -r (the url override only accepts official github.com/expo/expo-go-releases URLs).Every tool declares MCP annotations (readOnlyHint/destructiveHint), so clients can auto-approve inspection tools and gate the ones that drive the device.
These tools accept flexible search inputs: findElement, tapElement,
waitForElement, assertElement.
Common fields:
text, textContainscontentDesc, contentDescContainsresourceId, resourceIdContainsclassnormalizeWhitespace, caseInsensitiveInspect options:
includeScreenshot (default: false)screenshotMode: base64 or pathscreenshotPath: optional file path when using pathmaxElements: limit elements returnedincludeElements: return elements or summary onlyNo reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/expo-android-mcp)<a href="https://allmcps.com/mcp/expo-android-mcp"><img src="https://allmcps.com/api/badge/expo-android-mcp?style=directory" alt="Expo Android MCP on AllMCPs" /></a>