ADB MCP Server logo

ADB MCP Server

by watabee

ADB MCP Server enables Claude to interact with Android devices through the Android Debug Bridge (ADB). It provides a set of tools to manage and control connected Android devices.

View on GitHub

Last updated: N/A

What is ADB MCP Server?

The ADB MCP Server is a tool that allows Claude (or other applications) to interact with Android devices using ADB. It exposes a set of functions as tools that can be called to perform various actions on connected Android devices.

How to use ADB MCP Server?

To use the server, you need to install ADB, enable USB debugging on your Android device, and configure Claude Desktop with the correct path to the server's executable. The README provides detailed setup instructions, including cloning the repository, installing dependencies, building the project, and configuring the claude_desktop_config.json file.

Key features of ADB MCP Server

  • List connected Android devices

  • Install and uninstall APKs

  • Input text to the device

  • Pull and push files to/from the device

  • Take screenshots

  • Manage app data and permissions

  • Start activities

  • Kill and start ADB server

Use cases of ADB MCP Server

  • Automated testing of Android applications

  • Remote control of Android devices

  • Data extraction from Android devices

  • Application management on Android devices

  • Debugging Android applications

FAQ from ADB MCP Server

How do I install ADB?

Download Android SDK Platform Tools and add ADB to your system PATH. Verify installation with adb version.

How do I enable USB Debugging?

On your Android device, go to Settings > About phone. Tap Build number 7 times to enable Developer options. Enable USB debugging in Developer options.

What is the purpose of the deviceId parameter?

The deviceId parameter allows you to target a specific Android device when multiple devices are connected.

How do I specify the path to the ADB executable?

You need to update the claude_desktop_config.json file with the correct path to your ADB executable.

What permissions are required for the ADB MCP Server to function correctly?

The ADB MCP Server requires ADB to be properly configured and USB debugging to be enabled on the Android device. Additionally, the user running the server needs appropriate permissions to execute ADB commands.