android-dev-mcp-server
v0.1.0
Published
MCP server for Android development via ADB — device management, screen interaction, logs, crash diagnostics, and React Native helpers.
Maintainers
Readme
android-dev-mcp-server
An MCP server that exposes Android development workflows over ADB: device discovery, screen interaction, logcat/crash diagnostics, screenshots, screen recording, and React Native helpers.
Use it to drive a connected Android device or emulator from any MCP-compatible client (Claude Code, Claude Desktop, etc.).
Requirements
- Node.js
>=20 - Android platform tools (
adb) on yourPATH - For emulator tools:
emulatoronPATHorANDROID_HOME/ANDROID_SDK_ROOTset - A connected device (USB or TCP/IP) or running emulator
Install / Run
Run directly with npx (no install):
npx -y android-dev-mcp-serverOr install globally:
npm install -g android-dev-mcp-server
android-dev-mcp-serverThe server speaks MCP over stdio.
Client configuration
Claude Code
claude mcp add android-dev -- npx -y android-dev-mcp-serverClaude Desktop / generic MCP client
Add to your MCP servers config:
{
"mcpServers": {
"android-dev": {
"command": "npx",
"args": ["-y", "android-dev-mcp-server"]
}
}
}Tools
Device management
device_list— list connected devices and their statedevice_connect— connect to a device over TCP/IPdevice_disconnect— disconnect a TCP/IP devicedevice_enable_tcpip— enable TCP/IP debugging on a USB deviceadb_restart— restart the adb serveremulator_list_avds— list available Android Virtual Devicesemulator_boot— boot an AVD
App lifecycle
app_install— install an APKapp_launch— launch an installed app by package name
Screen interaction
screen_capture— take a screenshotscreen_record_start/screen_record_stop— record the screenscreen_ui_dump— dump the current UI hierarchyscreen_describe_all— describe all visible UI elementsscreen_describe_point— describe the UI element at given coordinatesinput_tap— tap at coordinatesinput_swipe— swipe between coordinatesinput_text— type textinput_system_action— send a system action (back, home, etc.)
Logs & diagnostics
log_logcat— capture logcat output (with filtering)log_crash_dump— pull recent crash dumpslog_crash_dump_for_app— pull crash dumps scoped to a packagelog_anr_traces— pull ANR (Application Not Responding) tracesbugreport_capture— capture a full Android bug report
React Native
rn_open_dev_menu— open the React Native dev menurn_reverse_port— set upadb reversefor the Metro bundler
Development
git clone https://github.com/kingbin/android-dev-mcp-server.git
cd android-dev-mcp-server
npm install
npm run build
npm startInspect with the MCP Inspector:
npx @modelcontextprotocol/inspector node build/index.jsLicense
MIT © Chris Blazek
