Android

Developer tools

MCP Server for interacting with Android Devices.

Your AI app calls the Android MCP server, which does the developer tools work and sends the result back to the chat.

About Android

Android is a community MCP server from CursorTouch, filed in our directory under developer tools. MCP Server for interacting with Android Devices.

At a glance

Publisher
CursorTouch (community)
Runs
See the README for setup
Written in
Python
License
MIT
GitHub stars
941

How to set up Android

  1. Follow the install steps in the Android README; it is written in Python, so have that toolchain ready.
  2. Check the Android README for keys or settings; the registry lists none that Android requires.
  3. Add Android to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Android tools to confirm the connection.
  5. Run one read-only task with Android first, and keep your app asking before each tool call until the results look right.

Android compared with similar servers

  • Passenger by Zaneris has fewer GitHub stars than Android (938 against 941); both are community servers, and both run locally.
  • Memorix by AVIDS2 has more GitHub stars than Android (960 against 941); both are community servers, and both run locally.
  • Jina AI by jina-ai has fewer GitHub stars than Android (927 against 941); Jina AI is official while Android is a community server, and both run locally.

Before you connect Android

  • Give Android its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Android tool call until you trust what it does with them.
  • Treat text that Android fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Android on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Android

How marketing and sales teams put Android to work, by company size. Pick the size closest to yours and start Android on one use case.

Small business

  • A small business with a developer can use Android to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Android to explain and fix a marketing site issue without context switching between tools.
  • Android runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Android to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Android to keep scripts and automations documented and versioned as they change.
  • Start Android on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Android with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Android so web and marketing engineering share one reviewed way of working with AI.
  • Android is a community server, so have security review the code and pin a version before Android touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Android README

From CursorTouch/Android-MCP on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Android-MCP

An MCP server that lets an AI agent operate an Android device over ADB.

It needs only adb. Nothing is installed on the device, and there is no dependency on uiautomator2.

Run

Requires Python 3.13 and adb (Android platform-tools).

uvx --python 3.13 android-mcp

The server speaks MCP on stdio. In a client's config:

{
  "mcpServers": {
    "android-mcp": {
      "command": "uvx",
      "args": ["--python", "3.13", "android-mcp"]
    }
  }
}

From a checkout, use uv run android-mcp instead, or in the config "command": "uv", "args": ["--directory", "/path/to/Android-MCP", "run", "android-mcp"].

The device is connected on the first tool call, so the server starts whether or not one is attached yet.

Choosing the device

With no options it uses the first physical device, or an emulator when there is none.

Option Environment Meaning
--device SERIAL ANDROID_MCP_DEVICE A serial, or host:port for a device on the network
--connection auto|usb|wifi (alias --transport) ANDROID_MCP_CONNECTION How to pick when no device is named
--wifi [HOST] ANDROID_MCP_HOST ADB over Wi-Fi; HOST or HOST:PORT, port 5555 by default
--usb [SERIAL] ADB over USB, optionally a specific serial

Options win over the environment. Other variables:

  • ANDROID_MCP_ADB_PATH names the adb binary. Otherwise adb is looked for on PATH, then in ANDROID_HOME, ANDROID_SDK_ROOT and the default Android Studio SDK folders.
  • SCREENSHOT_QUANTIZED=true reduces screenshots to 256 colours, which makes them smaller.

Tools

Tool Does
ListDevices, ConnectDevice, Device List, choose, or disconnect the device. Device with action=switch and to=wifi moves a USB phone onto ADB over Wi-Fi (adb tcpip then adb connect; the phone must be on Wi-Fi, and the cable can then be unplugged). to=usb moves it back (adb usb; the phone must be plugged in)
Snapshot The interactive elements, each with a label and tap coordinates. use_vision adds a screenshot with the labels drawn on it; use_annotation=false leaves it clean
Click, LongClick, Swipe, Drag Touch input by coordinates
ClickBySelector Tap an element found by text, resourceId, className or description (exact match; resourceId may be the part after the slash), with index for the nth match
Type Type into a field. x and y tap it first; clear empties it first. Other scripts and emoji need the optional ADBKeyboard app (below)
Press A button: back, home, recent, volume up, enter, and so on
Notification Pull down the notification shade
Wait, WaitForElement Pause, or wait for an element to appear

Typing other scripts (optional)

Type uses adb shell input text, so on its own it types printable ASCII and the accented Latin letters Android can compose (é ñ ü ÿ and 107 others, not ç ß å ø). A newline presses Enter and a tab presses Tab. For anything else (CJK, Cyrillic, Arabic, emoji, ç), install the ADBKeyboard app on the device once:

adb install keyboardservice-debug.apk

Download it from the releases page. This project does not bundle it: ADBKeyboard is GPL-2.0, and it is only ever talked to over broadcasts. I tested v2.5-dev (SHA-256 41a8a099…46fbbb) on Android 15.

With it installed, text that input text cannot type is sent through it automatically. For about a second the device's keyboard is switched to ADBKeyboard, which shows no keyboard of its own, and then the keyboard that was active before is put back (and ADBKeyboard is disabled again if it was not enabled). A text field must be focused, or the call fails with an error saying so. If a crash ever leaves the device on ADBKeyboard, adb shell ime reset restores the default. Without the app, such text is rejected before anything is sent, with these instructions in the error.

Other limits

  • Busy screens. The element list comes from uiautomator dump, which gives up when the screen never goes idle (a video, a running timer). Snapshot with use_vision then returns the screenshot alone and says so; click by coordinates still works.
  • Drag needs Android 8 or later. Clearing a field uses input keycombination, which needs Android 12; older devices fall back to a slower method that clears up to 200 characters.

Development

uv sync
uv run pytest
uv run ruff check . && uv run ruff format --check .

The tests need no device. Layers, bottom to top: android_mcp.adb (talks to adb), android_mcp.tree (reads the screen), android_mcp.mobile (one connected device: state and actions), android_mcp.server (the MCP tools and the choice of device).

Questions about Android

What is the Android MCP server?

MCP Server for interacting with Android Devices. Android is maintained by CursorTouch on GitHub at CursorTouch/Android-MCP, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Android MCP server?

Android doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (CursorTouch/Android-MCP). Like most servers, Android ends with a command or URL you paste into your AI app's MCP config.

Does Android need an API key?

The registry lists no required keys for Android. Check the Android README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Android an official MCP server?

No. Android is a community server maintained by CursorTouch. Community servers can be excellent; read the code and the open issues before you give Android access to company data.

What license is Android under?

Android is released under the MIT license, according to its GitHub repository. The license covers the code of Android; the service it connects to has its own terms.