MCP-ADB

by isseikz

2 stars
231 downloads
Not rated
GitHub

About

MCP (Model Context Protocol) Server to control Android TV

Details

Author
isseikz
GitHub stars
2
Downloads
231
Categories
Other

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP-ADB
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

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

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.