MCP-ADB

MCP-ADB

mcp-adb•byisseikz

An MCP server that integrates with Android Debug Bridge (ADB) so AI assistants can interact with Android devices.

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

WHAT IT DOES

  • •Captures screenshots from a connected Android device and automatically resizes them to 640px width, returning base64-encoded PNG image data.
  • •Sends key events to an Android device, including directional navigation, center/OK, back, and home keycodes.
  • •Lists connected Android devices and exposes screenshots and device information through resource URIs.
  • •Allows targeting a specific device when multiple devices are connected.

BEST FOR

  • •Automating interaction with Android devices, such as taking screenshots and pressing navigation keys, from an AI assistant.
  • •Working with multiple connected Android devices by targeting a specific device for screenshots and key events.

ABOUT MCP-ADB

MCP-ADB is cataloged as an MCP server attributed to isseikz. An MCP server that integrates with Android Debug Bridge (ADB) so AI assistants can interact with Android devices. 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.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

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-ADB 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 tools does this MCP server provide?

It provides a screenshot tool that captures a resized screenshot and returns base64 PNG data, and a press key tool that sends Android key events such as navigation, back, and home.

What resources are exposed?

It exposes a resource listing connected Android devices and resources for accessing specific screenshots by filename.

上游原版 README

在 GitHub 查看同一版本原文

README.md · e3e4093853bf · 采集于 2026-11-13 10:47:57 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

日本語

MCP-ADB

A Model Context Protocol (MCP) server that provides integration with Android Debug Bridge (ADB) for AI assistants to interact with Android devices.

Features

  • Screenshot Capture: Take screenshots of connected Android devices with automatic resizing
  • Base64 Image Data: Receive screenshot data directly as base64-encoded strings
  • Key Event Control: Send key events to Android devices (navigation, back, home)
  • Multiple Device Support: Target specific devices when multiple devices are connected
  • Device Listing: List all connected Android devices as resources
  • Resource Access: Access screenshots and device information via resource URIs

Prerequisites

  • Node.js (v16 or higher recommended)
  • Android Debug Bridge (ADB) installed and available in PATH or configured via ADB_PATH environment variable
  • Connected Android device(s) with USB debugging enabled

Installation

# Clone the repository
git clone https://github.com/isseikz/mcp-adb.git
cd mcp-adb

# Install dependencies
npm install

# Build the project
npm run build

Usage

Using with Claude Desktop

To use this MCP server with Claude Desktop add mcp-adb into claude_desktop_config.json, which can be found in the Claude Desktop installation directory or Claude - Settings - Developer - Edit Config

Here is an example of how to configure the claude_desktop_config.json file:

{
  "mcpServers": {
    "mcp-adb": {
      "command": "node",
      "args": ["/path/to/mcp-adb/build/index.js"],
      "env": {
        "ADB_PATH": "/path/to/adb"
      }
    }
  }
}

```json
{
  "mcpServers": {
    "mcp-adb": {
      "command": "node",
      "args": ["/path/to/mcp-adb/build/index.js"],
      "env": {
        "ADB_PATH": "/path/to/adb"
      }
    }
  }
}

Available Tools

Screenshot Tool

Captures a screenshot from a connected Android device and automatically resizes it to 640px width.

Parameters:

  • deviceId (optional): Target a specific device when multiple devices are connected

Response:

  • Base64-encoded image data (PNG format) directly in the response

Example:

{
  "name": "screenshot",
  "arguments": {
    "deviceId": "emulator-5554"
  }
}

Press Key Tool

Sends a key event to a connected Android device.

Parameters:

  • keycode: The Android key code to send (see list below)
  • deviceId (optional): Target a specific device when multiple devices are connected

Available keycodes:

  • KEYCODE_DPAD_CENTER - Center/OK button
  • KEYCODE_DPAD_DOWN - Down navigation
  • KEYCODE_DPAD_UP - Up navigation
  • KEYCODE_DPAD_LEFT - Left navigation
  • KEYCODE_DPAD_RIGHT - Right navigation
  • KEYCODE_DPAD_UP_LEFT - Diagonal up-left
  • KEYCODE_DPAD_UP_RIGHT - Diagonal up-right
  • KEYCODE_DPAD_DOWN_LEFT - Diagonal down-left
  • KEYCODE_DPAD_DOWN_RIGHT - Diagonal down-right
  • KEYCODE_BACK - Back button
  • KEYCODE_HOME - Home button

Example:

{
  "name": "pressKey",
  "arguments": {
    "keycode": "KEYCODE_DPAD_DOWN",
    "deviceId": "emulator-5554"
  }
}

Resources

Connected Devices

List all connected Android devices:

adb://devices

Response:

  • A list of connected device IDs

Screenshots

Access a specific screenshot by filename:

adb://screenshots/{filename}

For example:

adb://screenshots/screenshot-2025-04-10T16-30-48-931Z.png

Development

Project Structure

mcp-adb/
├── src/
│   └── index.ts    # Main server implementation
├── build/          # Compiled JavaScript files
├── temp/           # Temporary directory for screenshots
├── package.json    # Project dependencies and scripts
└── tsconfig.json   # TypeScript configuration

Building

npm run build

This will compile the TypeScript code to JavaScript in the build directory.

Requirements

This project uses the following dependencies:

  • @modelcontextprotocol/sdk: MCP server implementation
  • fs-extra: Enhanced file system methods
  • sips: Used for image resizing (built into macOS) to reduce context comsumption

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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-ADB 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/mcp-adb)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

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

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

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