android-adb-mcp

v0.2.0
@sealgate/android-adb-mcp Checked 3 days ago Published 9 days ago

SealGate stdio MCP server that exposes Android Debug Bridge (adb) on the local machine: packages, UI layout, screenshots, action intents, and raw adb commands.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_packages List installed packages

List all packages installed on the connected Android device.

execute_adb_command Execute an adb command

Run an arbitrary adb command against the connected device and return its output. The command is everything after `adb` (e.g. "shell ls /sdcard", "pm list packages", "logcat -d"). The target device is selected automatically.

ParameterTypeDescription
command *stringThe adb command to run, without the leading `adb` (e.g. "shell ls /sdcard").

get_uilayout Get UI layout

Dump the current screen UI hierarchy and return the clickable/labelled elements with their text, content description, class, bounds, and centre tap coordinates.

get_screenshot Take a screenshot

Capture a PNG screenshot of the connected device screen.

get_package_action_intents Get package action intents

List the non-data intent actions a package advertises in its Activity Resolver Table (useful for launching specific screens of an app).

ParameterTypeDescription
package_name *stringThe package name to inspect, e.g. "com.android.settings".