Skip to main content
Glama

android-mcp

Let Claude, or any MCP assistant, see an Android phone's screen and use it, over plain adb. No app to install on the phone, no root.

Laisser Claude voir l'écran d'un téléphone Android et s'en servir, par adb, sans rien installer sur le téléphone.

What it is good for:

  • Testing your own app like a user would: "open my app, create an account, tell me where it breaks", then read the crash in logcat.

  • Repetitive phone chores: "go through my notifications settings and turn off every shopping app".

  • Accessibility: describing a screen and acting on it by voice through the assistant.

How it sees the screen

screen_elements turns the phone's accessibility tree into a short list: every visible text and every touchable element, with its centre, type, id and state (checked, disabled, editable...). The assistant then taps by name with tap_element("Wi-Fi"). That is cheaper and much more reliable than guessing coordinates on a screenshot; screenshot is there for layout, images and games.

Related MCP server: android-mcp-tools

Tools

Tool

devices

Phones and emulators adb can see

screen_elements, screenshot, current_app

Read the screen

tap_element, tap, swipe, type_text, press_key

Act on it

list_apps, launch_app, install_apk

Apps

logcat

Recent log, per app, errors only if wanted

There is deliberately no free shell tool: every action is named and bounded, and the server's instructions ask the assistant to check with you before sending messages, paying or deleting anything.

Install

  1. On the phone: Settings > About > tap Build number 7 times, then Developer options > USB debugging (or Wireless debugging). Plug it in and accept the prompt.

  2. On the computer, with platform-tools installed (adb devices should list the phone):

With uv installed, nothing else is needed:

claude mcp add android -- uvx android-mcp-lite

Or with pip: pip install android-mcp-lite, then claude mcp add android -- android-mcp.

With several devices, pass serial (from devices) to each tool. Set ADB if adb is not on the PATH or in ~/Android/Sdk/platform-tools.

Status

Version 0.1, tested on an Android 14 emulator: reading the screen, screenshots, launching apps, tapping by name, scrolling, typing and keys. install_apk and logcat are written but not yet exercised on a device.

  • Screen as a list of elements, tap by name

  • Retries while the screen is still animating

  • Unicode typing (accents, emoji) through a clipboard helper

  • Wait for an element to appear

  • Record a session and replay it as a test

  • Notifications: read and act on them

License

MIT

Available Tools

13 tools
current_appC
Read-only

Package and activity in the foreground.

Inputs: serial. Returns: result

devicesA
Read-only

Phones and emulators adb can see, with their serial, model and state.

Inputs: no named parameters. Returns: result

install_apkB

Install or update an APK from this computer (keeps the app's data).

Inputs: path (required), serial. Returns: result

launch_appB

Open an app by its package name (see list_apps).

Inputs: package (required), serial. Returns: result

list_appsC
Read-only

Installed packages, optionally only those containing filter.

Inputs: filter, serial, include_system. Returns: result

logcatA
Read-only

Recent system log, optionally only one app's lines and only errors: the place to look when an app crashes.

Inputs: lines, serial, package, errors_only. Returns: result

press_keyB

Press back, home, recents, enter, delete, tab, volume_up, volume_down, power, menu or search.

Inputs: key (required), serial. Returns: result

screen_elementsA
Read-only

What is on screen: each visible text or touchable element with its centre (x, y), type, id and state. Cheaper and more precise than a screenshot for tapping.

Inputs: serial. Returns: result

screenshotB
Read-only

A picture of the screen, for layout, images and anything not in screen_elements.

Inputs: serial.

swipeA

Scroll by swiping: 'up' shows what is below, 'down' what is above, 'left' and 'right' move between pages. distance is a fraction of the screen.

Inputs: serial, distance, direction. Returns: result

tapB

Touch the screen at a point, in pixels.

Inputs: x (required), y (required), serial. Returns: result

tap_elementB

Touch the element whose text, description or id matches the query.

Inputs: query (required), serial, long_press. Returns: result

type_textA

Type into the focused field (tap it first). ASCII only: adb's input cannot type accents or emoji on stock Android.

Inputs: text (required), serial, submit. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 13 tools

    Disambiguation5/5

    Each tool maps to a distinct action or resource: element-targeted tap vs coordinate tap, swipe vs press_key vs type_text are clearly separated, and observation tools (screenshot, screen_elements, current_app, logcat, devices) each return different data. Descriptions reinforce the boundaries (e.g. screen_elements is explicitly framed as a cheaper alternative to screenshot for tapping).

    Naming Consistency4/5

    Action tools follow a consistent verb_noun pattern (tap_element, type_text, press_key, list_apps, launch_app, install_apk), while read-only/inspection tools use bare nouns (devices, screenshot, logcat, current_app, screen_elements) and two are bare verbs (tap, swipe). The split is readable and roughly correlated with purpose, but it is not a single uniform convention.

    Tool Count5/5

    13 tools is well within the ideal range and each earns its place: input, navigation, app lifecycle, device discovery, and diagnostics are all represented without redundancy.

    Completeness4/5

    Covers the core device-control lifecycle (inspect screen, tap/type/swipe/key, launch/install/list apps, logs, screenshot, device list). Minor gaps remain: no long-press or drag gesture, no way to clear an input field, and no keyevent beyond the enumerated set, but agents can work around most of these.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to control Android devices via ADB, providing tools for screen capture, tap/swipe/input, app management, and diagnostics. Works locally over USB or WiFi and integrates with MCP clients like Claude and Cursor.
      1
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents and test runners to control Android devices via local ADB, including listing devices, tapping, swiping, typing, sending system keys, launching apps, and dumping UI hierarchy. Communicates over MCP stdio without exposing network listeners.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables controlling an Android device from an MCP client via ADB, including wireless debugging discovery, UI-tree inspection, and performing taps, swipes, typing, app actions, and shell commands without relying on screen coordinates.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude or any MCP agent to see and operate a real Android phone over adb, with fast screen reads, tap/type/swipe actions, app launching, deep links, and brand-aware setup guidance, all without admin rights or an Android SDK.
      MIT