MCP server for controlling Android devices

MCP server for controlling Android devices

airi-android-lemonnekogh•bylemonnekogh

An MCP server that lets LLMs control Android devices, offering input control, device information, UI/activity inspection, and device management tools.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides input control tools such as tapping, swiping, entering text, sending key events, pressing the current key, and rolling the trackball.
  • •Exposes device information tools like screen size, display density, CPU usage, CPU core count, and battery level and statistics.
  • •Offers UI and activity tools to retrieve the UI hierarchy as XML, the top activity, all top activities, and package version info.
  • •Includes device management tools to connect to a device at a host and port, reset the connection, and execute arbitrary shell commands.

BEST FOR

  • •Giving LLM agents the ability to interact with and automate Android devices directly.
  • •Inspecting Android device state, UI hierarchy, and package information through an agent.

ABOUT AIRI-ANDROID-LEMONNEKOGH

MCP server for controlling Android devices is cataloged as an MCP server attributed to lemonnekogh. An MCP server that lets LLMs control Android devices, offering input control, device information, UI/activity inspection, and device management tools. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for controlling Android devices are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What transports does the server support?

It supports both an HTTP mode on port 3000 and a stdio transport mode when USE_STDIO is set to true.

Upstream README

View this exact version on GitHub

README.md · e2648034b7cd · Fetched 2026-11-13 10:05:21 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

アイリ Android

GitHub

A MCP server that allows airi all LLMs to control Android devices. This project is a child project of airi.

Features

Input Control

  • input_tap - Tap on the screen at given coordinates
  • input_swipe - Swipe from one coordinate to another
  • input_text - Input text on the device
  • input_keyevent - Send a key event to the device
  • input_press - Press the current key
  • input_roll - Roll the trackball

Device Information

  • wm_size - Get the physical screen size
  • wm_density - Get the display density
  • cpu_percent - Get CPU usage percentage
  • cpu_count - Get the number of CPU cores
  • battery_level - Get battery level
  • battery_stats - Get detailed battery statistics

UI & Activity

  • ui_get_hierarchy - Get UI hierarchy (XML)
  • utils_top_activity - Get the top activity
  • utils_top_activities - Get all top activities
  • utils_package_version - Get package version info

Device Management

  • device_connect - Connect to a device at specified host and port
  • device_reset - Reset device connection
  • shell_execute - Execute any shell command

Usage

docker run --rm -it -p 3000:3000 -e ADB_HOST=host.docker.internal ghcr.io/proj-airi/airi-android:v0.3.4
# or stdio mode
docker run --rm -i -e USE_STDIO=true -e ADB_HOST=host.docker.internal ghcr.io/proj-airi/airi-android:v0.3.4

For agents supporting MCP, you can use the following configuration:

// mcp.json
{
  "mcpServers": {
    // http mode
    "airi-android-http": {
      "url": "http://localhost:3000/mcp"
    },
    // stdio mode
    "airi-android-stdio": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e",
        "USE_STDIO=true",
        "-e",
        "ADB_HOST",
        "ghcr.io/proj-airi/airi-android:v0.3.4"
      ],
      "env": {
        "ADB_HOST": "host.docker.internal"
      }
    }
  }
}

Run Directly

Requires Bun to be installed.

# Install dependencies
bun install

# Start server (HTTP mode, port 3000)
bun run start

# Or use stdio mode
USE_STDIO=true bun run start

Development Setup

Prerequisites

  1. Install Bun
  2. Install Android Platform Tools
  3. Connect an Android device (via USB or adb connect for emulators)

Commands

# Install dependencies
bun install

# Run tests
bun test

# Start development server
bun run dev

# Build binary
bun run build

# Lint code
bun run lint

# Type check
bun run typecheck

Contributing

See AGENTS.md for code guidelines.

Environment Variables

VariableDescriptionDefault
USE_STDIOSet to true to use stdio transport modefalse
ADB_HOSTADB server host addresslocalhost

Tech Stack

  • Bun - JavaScript runtime
  • TypeScript - Type-safe JavaScript
  • MCP SDK - Model Context Protocol SDK
  • adbkit - ADB client library
  • Hono - Web framework
  • Zod - Schema validation

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for controlling Android devices from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/airi-android-lemonnekogh)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools