ADB Friend MCP Server

ADB Friend MCP Server

adbfriend•bymikepenz

ADB Friend is a CLI tool that includes an MCP server exposing tools to manage connected Android devices via ADB.

License: Apache License, Version 2.0•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes tools to list connected devices and installed packages on an Android device.
  • •Provides file management tools to read, write, list, search, move, copy, and delete files on an Android device.
  • •Can install APKs, capture screenshots, and control packages by clearing data, force-stopping, or uninstalling them.
  • •Includes a tool to check the USB connection speed of an Android device.

BEST FOR

  • •Developers who want to manage apps and files on an Android device through AI tools.
  • •Organizing or pulling files from an Android device using natural-language prompts.

ABOUT ADBFRIEND

ADB Friend MCP Server is cataloged as an MCP server attributed to mikepenz. ADB Friend is a CLI tool that includes an MCP server exposing tools to manage connected Android devices via ADB. 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: Apache License, Version 2.0. 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 ADB Friend MCP Server 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

Since which version does ADB Friend provide the MCP server?

ADB Friend provides its MCP server since version 1.4.0.

What happens if ANDROID_HOME is not provided when configuring the MCP server?

Without ANDROID_HOME, the adb-server has to be started manually; otherwise a connection exception is thrown.

上游原版 README

在 GitHub 查看同一版本原文

README.md · ef0204699073 · 采集于 2026-11-13 09:05:31 UTC

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

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

ADB Friend

ADB Friend is a tiny cli tool, which helps you to manage your Android device via ADB. Its features were mostly designed for developers, but it can be useful for everyone.

Features

  • Sync files from your computer to your phone
    • Designed for test data, skipping existing files on device
  • Configure device for tests
    • Disable animations, Enable touches, ...
  • Uninstall apps by pattern
  • Packages command
    • Apply the immersive flag to all packages matching glob, force-stop, clear app data & cache
  • Extra tools
    • adb-speed (Helps to identify sub-par cables)
  • Model Context Protocol MCP Server

Install

The installation can be performed using Homebrew. First you'll require the custom tap:

brew tap mikepenz/tap

Next, install the AdbFriend CLI:

brew install mikepenz/tap/adbfriend

Alternatively, you can download prebuild binaries for release page.

Usage

ADB Friend is a command line tool, which can be used in a terminal.

# Get started with the `--help` command, to get information and an overview on the various features offered.
adbfriend --help

MCP Server

ADB Friend (Since version 1.4.0) also provides a Model Context Protocol (MCP) Server, that can be configured in popular AI Tools like Claude Desktop, GitHub Copilot, RayCast, ...

Configuration

The location and details of the configuration file will depend on the used tool. Below example for Claude Desktop.

{
  "mcpServers": {
    "adb-friend": {
      "command": "/opt/homebrew/bin/adbfriend",
      "args": [
        "mcp",
        "server"
      ],
      "env": {
        "ANDROID_HOME": "/Users/mikepenz/Development/android/sdk"
      }
    }
  }
}

[!IMPORTANT]
If ANDROID_HOME is not provided, the adb-server has to be manually started on your machine. Otherwise, a connection exception is thrown.

Debug Server

You can use the npx @modelcontextprotocol/inspector to debug the server once started.

# Install and run inspector in your terminal
npx @modelcontextprotocol/inspector

Then launch the website (with the url as provided in the terminal). Launch the mcp server using IntelliJ or the actual command.

# Default port is `3001`
adbfriend mcp server --sse true

Supported tools

Tool NameDescription
check-adb-speedChecks the USB connection speed of an Android device for the provided serial.
clear-installed-packageClears the package data for provided package names on an Android device.
set-immersive-full-for-packageSets the 'immersive-full' flag for provided package names on an Android device.
force-stop-processForces the stop of provided package names on an Android device.
uninstall-packageUninstalls provided package names on an Android device.
get-connected-devicesRetrieves information about all connected Android devices including serial, model, and state.
get-installed-packagesRetrieves information about all installed packages on an Android device. Supports filtering for third-party apps only.
list_allowed_directoriesLists directories that are allowed to be accessed by the file system tools.
list-filesLists files and directories on an Android device. Supports recursive listing with the 'recursive' option.
read-fileReads the content of a file on an Android device.
read_multiple_filesReads the contents of multiple files on an Android device at once (reduces LLM calls).
write-fileWrites content to a file on an Android device.
create-directoryCreates a directory on an Android device.
deleteDeletes a file or directory on an Android device.
search-filesSearches for files matching a case-insensitive glob pattern within allowed directories.
move_fileMoves a file from the source path to the destination path on an Android device.
copy-file-to-hostCopies a binary file from the Android device to the host system.
capture-screenshotCaptures a screenshot from an Android device and saves it to the host system.
install-apkInstalls an APK on the Android device from a file on the host system within the allowed host paths.

With many more tools planned for the future.

Example Prompts

uninstall the 'sample' app, but keep its data
force stop the 'sample' app
Do I have a browser installed on the connected emulator?
Organize all files in the Download folder of the connected Android device
 Pull all KotlinConf related files from the Android device to the host

Release

The project uses shadow to package the tool in a fat-jar, and also do minimal minification.

./gradlew adbfriend-cli:shadowDistZip

Other

AboutLibraries

Generate aboutlibraries.json for adbfriend

./gradlew adbfriend:exportLibraryDefinitions

Generate aboutlibraries.json for adbfriend-cli

./gradlew adbfriend-cli:exportLibraryDefinitions

Example Prompt Screenshots

Claude Desktop claude-desktop-sample-prompt

Visual Code visual-code-sample-prompt.png

Credits

This project uses the amazing adam library from Malinskiy to interact with adb. The CLI is set-up using the impressive clikt library from ajalt.

License

Copyright 2025 Mike Penz

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

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 ADB Friend MCP Server 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/adbfriend)

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