adb-mcp-android
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ADB_PATH | No | Override path to `adb` (default: `bin/platform-tools/adb[.exe]`, then `PATH`). Alias: ADB_EXECUTABLE. | |
| ADB_SERIAL | No | Default device serial when tools omit `serial`. Alias of ANDROID_SERIAL. | |
| ADB_EXECUTABLE | No | Override path to `adb` (default: `bin/platform-tools/adb[.exe]`, then `PATH`). Alias of ADB_PATH. | |
| ANDROID_SERIAL | No | Default device serial when tools omit `serial`. Alias: ADB_SERIAL. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| adb_versionA | Return the resolved ADB binary path and |
| list_devicesA | List connected Android devices/emulators ( |
| device_infoB | Hardware/software summary for a device (model, Android version, battery, screen). |
| shellC | Run a shell command on the device ( |
| getpropA | Read one Android system property, or all properties if name is omitted. |
| install_apkC | Install an APK from the host filesystem onto the device. |
| uninstall_appC | Uninstall an app by package name. |
| push_fileC | Copy a file or directory from the host to the device. |
| pull_fileC | Copy a file or directory from the device to the host. |
| screenshotB | Capture the current screen as PNG. Optionally save to disk and/or return base64. |
| logcatC | Dump recent logcat lines. Optional filter_spec e.g. 'ActivityManager:I *:S'. |
| input_tapC | Tap screen coordinates (pixels). |
| input_swipeC | Swipe from (x1,y1) to (x2,y2) over duration_ms. |
| input_textB | Type text into the focused field (best-effort escaping for ADB input text). |
| input_keyeventB | Send a keyevent (name or code), e.g. KEYCODE_HOME, KEYCODE_BACK, 3, 4. |
| start_activityC | Start an activity by component, e.g. com.example/.MainActivity. |
| force_stopC | Force-stop an application by package name. |
| list_packagesC | List installed packages, optionally third-party only or filtered. |
| connectC | Connect to a device over TCP/IP, e.g. 192.168.1.10:5555. |
| disconnectA | Disconnect a TCP/IP device, or all if host_port is omitted. |
| rebootC | Reboot the device. Optional mode: bootloader, recovery, sideload. |
| batteryB | Return parsed |
| screen_metricsB | Return |
| port_forwardC | Forward a host port to a device port, e.g. local=tcp:8080 remote=tcp:8080. |
| port_forward_removeC | Remove one port forward, or all if local is omitted. |
| port_reverseC | Reverse-forward a device port to a host port. |
| port_reverse_removeC | Remove one reverse forward, or all if remote is omitted. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 27 tools
Most tools target a distinct resource or action, and the port_forward/port_reverse families are cleanly split into add/remove pairs. The main fuzzy spots are device_info, which claims to summarize battery and screen even though dedicated `battery` and `screen_metrics` tools exist, and `shell`, which subsumes getprop and the input_* tools. Boundaries are still clear enough from descriptions that misselection is unlikely.
Everything is snake_case, which keeps it readable, but the convention is mixed: verb_noun forms (install_apk, push_file, list_devices, start_activity) coexist with bare noun/verb names (shell, screenshot, logcat, battery, getprop, reboot, connect). The noun_resource_verb style of port_forward_remove also deviates from the verb-first pattern. Predictable enough to navigate, but not a single consistent scheme.
27 tools is heavy for the stated guidance band, driven by ADB's genuinely broad surface. Several clusters could be consolidated (four input_* tools, four port forward/reverse tools, three device-status tools like battery/screen_metrics/device_info), which would reduce count without losing capability.
Core lifecycle is well covered: device discovery and connection, install/uninstall, file transfer, shell, input injection, activity launching, logging, and port forwarding. Notable gaps are UI hierarchy dumping (uiautomator), generic dumpsys/settings manipulation, and app data clearing, though the `shell` tool lets an agent work around most of these.