android-adb-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ANDROID_ADB_HOST | No | Host of the ADB server to connect to (e.g. "localhost"). Set ANDROID_ADB_HOST and ANDROID_ADB_PORT env vars to match your ADB over TCP / port-forward setup. | localhost |
| ANDROID_ADB_PORT | No | Port of the ADB server to connect to (e.g. "5037"). Set ANDROID_ADB_HOST and ANDROID_ADB_PORT env vars to match your ADB over TCP / port-forward setup. | 5037 |
| ANDROID_ADB_ALLOWED_COMMANDS | No | Comma-separated list of additional shell commands to allow beyond the default allowlist (ls, cat, echo, pwd, pm, am, dumpsys, getprop, input, screencap, screenrecord, logcat, ps, top, find). Example: "ls,cat,echo,curl,wget". |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| adb_devicesA | List all connected Android devices and their status |
| adb_screenshotB | Capture a screenshot from the Android device. Returns a base64-encoded PNG image. |
| adb_tapC | Tap a screen coordinate on the Android device |
| adb_swipeC | Perform a swipe gesture on the Android device screen |
| adb_typeA | Type text into the focused input field on the Android device |
| adb_keyB | Send a keyevent to the Android device (e.g. KEYCODE_BACK, KEYCODE_HOME, KEYCODE_ENTER) |
| adb_launch_appB | Launch an Android app by package name. Optionally specify an activity for deep launch. |
| adb_shellA | Run an allowlisted shell command on the Android device. Non-allowlisted commands are rejected. |
| adb_pullB | Pull a file or directory from the Android device to the host |
| adb_pushC | Push a file or directory from the host to the Android device |
| adb_list_packagesB | List installed app packages on the Android device |
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 11 tools
Most tools map cleanly to a distinct action (tap, swipe, type, key, screenshot, pull, push, launch, list_packages). The one fuzzy boundary is adb_shell, an allowlisted catch-all that could partially overlap with the dedicated action tools, but the allowlist scoping and explicit descriptions keep misselection unlikely.
Every tool uses the same adb_<verb>_<noun> snake_case pattern with the shared adb_ prefix, e.g. adb_launch_app, adb_list_packages, adb_pull. This is fully predictable and idiomatic for the domain.
Eleven tools is well within the sweet spot and each one corresponds to a real ADB capability (device listing, input, screen, files, apps). No filler or redundant wrappers.
Core device-automation lifecycle is covered: discover devices, screenshot, input gestures/text/keys, launch apps, list packages, and file transfer both directions. Gaps exist around app install/uninstall, UI hierarchy inspection (uiautomator dump), logcat capture, and screen recording, which agents may need for verification-heavy workflows.