MCP.so
登录

MCP ADB

@isseikz

基本信息

分类

其他

传输方式

stdio

作者

isseikz

关于 MCP ADB

MCP (Model Context Protocol) Server to control Android TV

MCP ADB 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

MCP ADB 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP-ADB?

MCP-ADB is a Model Context Protocol (MCP) server that integrates with Android Debug Bridge (ADB) to allow AI assistants to interact with connected Android devices. It is intended for developers and users who want to control Android devices programmatically through an AI assistant.

How to use MCP-ADB?

Clone the repository, install dependencies with npm install, and build the project with npm run build. Then configure the MCP server in Claude Desktop’s claude_desktop_config.json by specifying the path to the built index.js file and optionally the ADB_PATH environment variable. Use the provided tools (screenshot, pressKey) and access resources (adb://devices, adb://screenshots/{filename}) to interact with Android devices.

Key features of MCP-ADB

  • Capture screenshots from connected Android devices with automatic resizing
  • Return screenshot data as base64-encoded PNG strings
  • Send key events (navigation, back, home) to Android devices
  • Target specific devices when multiple devices are connected
  • List all connected Android devices via resource URIs
  • Access screenshots and device information through resource URIs

Use cases of MCP-ADB

  • Take a screenshot of an Android device and use AI to analyze its content
  • Send navigation commands (DPAD, back, home) to automate device interaction
  • List all connected Android devices to manage multi-device setups
  • Retrieve a stored screenshot by filename for later processing

常见问题

1

What does MCP-ADB do?

MCP-ADB provides an MCP server that connects an AI assistant to Android devices via ADB, enabling screenshot capture, key event simulation, and device listing.

2

What are the prerequisites for MCP-ADB?

You need Node.js (v16 or higher), ADB installed and available in PATH (or set via the ADB_PATH environment variable), and connected Android device(s) with USB debugging enabled.

3

How do I install MCP-ADB?

Clone the repository, then run `npm install` and `npm run build` to compile the TypeScript code to JavaScript in the `build` directory.

4

How do I configure MCP-ADB with Claude Desktop?

Edit `claude_desktop_config.json` (found in Claude Desktop’s installation directory or via Settings → Developer → Edit Config) and add an entry under `mcpServers` with the command `node` and args pointing to the built `index.js` file, plus an optional `ADB_PATH` environment variable.

5

What tools are available in MCP-ADB?

Two tools: `screenshot` captures a screenshot (optionally targeting a device by ID) and returns base64 image data; `pressKey` sends a key event (e.g., KEYCODE_DPAD_DOWN, KEYCODE_BACK) to a device.

评论

其他 分类下的更多 MCP 服务器