Skip to main content
Glama
xleepy

Android DevTools MCP

by xleepy

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ADB_PATHNoThe path to the adb executable if not on PATH
ANDROID_SERIALNoThe serial number of the Android device to connect to when multiple devices are connected

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
android_list_devicesA

List all ADB-connected emulators and physical devices, including offline and unauthorized targets.

android_take_snapshotA

Capture a compact UI Automator hierarchy. Use its snapshot and node IDs for safe node-targeted taps.

android_take_screenshotC

Capture the current Android display as a PNG image.

android_get_app_stateA

Get the foreground package/activity, optional package process state, and display metadata.

android_tapB

Tap either explicit screen coordinates or a node from the latest snapshot. Node taps are revalidated before acting.

android_type_textA

Type ADB-safe ASCII text into the focused UI node. Optionally clear its existing content first.

android_swipeB

Perform a swipe gesture between two screen coordinates.

android_press_keyA

Press Back, Home, Enter, Delete, a directional key, a KEYCODE_* name, or a numeric Android keycode.

android_wait_forA

Poll the semantic UI until matching nodes exist, disappear, or have the requested state.

android_get_logsA

Read bounded logcat output filtered to the requested or foreground application's current process IDs.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xleepy/android-emulator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server