SI · Open source

Android MCP

v0.1.1

Android MCP lets an SI assistant use an Android phone for you. The phone is a virtual one that runs in a window on your Mac.

It’s for people who build or test Android apps, and for anyone who wants an assistant like Claude or Codex to tap through phone apps on their behalf. Free and open source.

MIT · macOS · Android Studio · uv.

GitHub↗
Diagram of how Android MCP works: your SI app (Claude, Codex, VS Code, LM Studio, or Continue) passes your request to Android MCP, which sees, taps, types, and opens apps on a virtual Android phone. The app, Android MCP, and the virtual phone all run on your Mac.

Install

Get it running

macOS · needs Android Studio, an emulator (AVD) and uv

git clone https://github.com/remymazmanian/android-mcp.git ~/agent-tools/android-mcp && cd ~/agent-tools/android-mcp && uv sync

# Connect it to Claude Code:
claude mcp add -s user android -- uv --directory ~/agent-tools/android-mcp run android-mcp

01

What it is

Google’s free Android Studio includes an emulator: a virtual Android phone that runs in a window on your Mac and behaves like a real one. Android MCP connects that phone to your SI assistant. You ask for something, like opening an app or filling in a form, and the assistant looks at the screen, decides where to tap, and does it one step at a time.

It speaks MCP, the open standard that lets SI apps plug in outside tools, so it works with the Claude desktop app, Claude Code, Codex, VS Code with Copilot, LM Studio and Continue. With LM Studio and a model on your own computer, nothing leaves your Mac.

A request to turn on dark mode, the six Android MCP tool calls it produced with their timings, and the emulator's Settings screen with Dark theme switched on
A real run: one request, five steps on the phone, and a screenshot to check the result.

02

Why Android MCP instead of raw adb

adb is Google’s low-level command-line tool for Android. It takes exact commands, knows nothing about SI, and has no guardrails. Android MCP is the SI-friendly layer on top: it handles coordinates, typing and waiting, sends the assistant smaller screenshots with exact tap points, and keeps a log of every step. Every action still runs as adb underneath.

Comparison of raw adb and Android MCP. Who can use it: raw adb, terminal tools only; Android MCP, any MCP app, including Claude, Codex, VS Code, LM Studio, and Continue. How it talks: raw adb takes exact commands like input tap 540 1200; Android MCP takes plain requests like tap Network & internet. Seeing the screen: full-size screenshots and raw UI XML, versus smaller screenshots and a short list of buttons with tap points. Safety: full access with no guardrails, versus the command tool off by default, one folder, and the virtual phone only. Record: no log of its own, versus every step logged with typed text hidden. Underneath, every Android MCP action still runs as adb.

Raw adb is still the right tool for quick one-off commands you type yourself, and for things Android MCP doesn’t cover yet, like reading the emulator’s logs. That’s what the off-by-default command tool is for. adb is the master key; Android MCP is a labelled control panel with only the buttons you’ve approved.

03

What your assistant can do

Six things your assistant can do with Android MCP: see the screen, tap, swipe, and type, find buttons by their label, work with apps, move files between your Mac and the phone, and start and stop the virtual phone.
  • See the screen: screenshots plus the on-screen text and buttons, so it knows exactly where to tap.
  • Use the phone like a person: tap, press and hold, swipe, scroll, type, Back and Home.
  • Find things by name: tap a button by its label, and wait for the screen to finish loading before moving on.
  • Work with apps: open, close, install, see which app is in front, open web links.
  • Move files: copy files to and from the phone, inside one folder.
  • Start and stop the virtual phone, and report the Android version and screen size.

Twenty-five tools in all, each described in the README.

04

Built with safety in mind

Android MCP’s safety features: an activity log where typed text shows only as hidden with a character count and web links are trimmed, plus file access limited to one folder, no overwriting, the command tool off by default, and control of the virtual phone only.
  • Typed text never reaches the log. The activity log records how many characters were typed, not what they were, and web links are trimmed to the site name.
  • One folder. File copying only works inside android-mcp-files in your home folder, even if a web page or message tries to talk the assistant into reaching further.
  • Nothing is overwritten. A file with the same name is saved as a numbered copy, on the Mac and on the phone.
  • The command tool is off by default. It can run anything on the phone, so it stays off until you turn it on, and then every command is logged word for word.
  • Virtual phone only. It controls a real phone only if you name that phone in its settings.

05

Good to know

  • Typing covers standard English letters, numbers and symbols. Emoji, accented letters and curly quotes won’t type on Google’s standard virtual phones; Android MCP reports an error rather than typing the wrong thing.
  • Some apps, like banking apps and password screens, block screenshots. Those show up black.
  • Reading the screen takes about two seconds each time.

06

Set up

Seven setup steps. For the virtual phone: check your Mac, install Android Studio, create a virtual phone, and start it. For the connector: install uv, install Android MCP, and connect your SI app.

These follow Google’s guides for installing Android Studio and creating virtual devices. Already have both? Skip to step 4.

1. Check your Mac

  • macOS 12 or newer.
  • An Apple chip (M1 or later), or a 6th-generation Intel Core or newer. Google is phasing out Intel support, so an Apple chip is the better choice.
  • 16 GB of memory and 16 GB of free disk space; Google recommends 32 GB of each. Apple menu → About This Mac shows your chip.

2. Install Android Studio

Download the Mac version for your chip from developer.android.com/studio, open the .dmg, drag Android Studio into Applications and open it. Skip importing settings if this is your first install, then follow the Setup Wizard to the end: it downloads the Android components into Library/Android/sdk inside your home folder. If it shows a different location, note it; the README explains how to point Android MCP at it.

3. Create and start a virtual phone

On the welcome screen choose More Actions, then Virtual Device Manager, then Create Device. Medium Phone is the easiest choice, since it’s the one Android MCP starts by default. Pick an Android version (click the download icon first if one shows), click Finish, then Launch. The first start takes a minute or so. Android MCP finds a running phone on its own, and your assistant can start one for you.

4. Install uv

uv sets up Python and everything Android MCP needs, following uv’s install guide. In Terminal (Applications → Utilities), with Homebrew:

brew install uv

Or without Homebrew:

curl -LsSf https://astral.sh/uv/install.sh | sh

5. Install Android MCP

One line at a time. This puts Android MCP in an agent-tools folder in your home folder.

mkdir -p ~/agent-tools && cd ~/agent-tools
git clone https://github.com/remymazmanian/android-mcp.git
cd android-mcp
uv sync

6. Connect your SI app

The README has a ready-to-copy settings entry for the Claude desktop app, Claude Code, Codex, LM Studio, VS Code (Copilot agent mode) and Continue. Copy the one for your app, replace YOU with your Mac username (which uv in Terminal shows where uv lives), restart the app, and with the phone running ask your assistant to take a screenshot of it.

07

Documentation

  • READMEsetup for each app, the settings you can change, the full list of 25 tools, the safety details, known limits, and a quick test that checks everything works.

Android and Android Studio are products of Google LLC. Android MCP is an independent community tool.