
Android MCP Server implementation
Android MCP Server implementation
·
这是一个用于 Android Debug Bridge (ADB) 的 MCP 服务器,使 Claude 能够与 Android 设备进行交互。
get-devices
showDetails (布尔值, 默认: true): 显示设备详细信息 (-l)list-packages
showPath (布尔值, 默认: false): 显示 APK 文件路径 (-f)showDisabled (布尔值, 默认: false): 仅显示已禁用的包 (-d)showEnabled (布尔值, 默认: false): 仅显示已启用的包 (-e)showSystem (布尔值, 默认: false): 仅显示系统包 (-s)showThirdParty (布尔值, 默认: false): 仅显示第三方包 (-3)showInstaller (布尔值, 默认: false): 显示包安装程序 (-i)includeUninstalled (布尔值, 默认: false): 包含已卸载的包 (-u)input-text
text (字符串): 要输入的文本install-apk
apkPath (字符串): APK 文件路径allowReinstall (布尔值, 默认: true): 允许重新安装 (-r)allowTestPackages (布尔值, 默认: true): 允许测试包 (-t)allowDowngrade (布尔值, 默认: true): 允许降级 (-d)grantPermissions (布尔值, 默认: false): 授予所有权限 (-g)uninstall-apk
packageName (字符串): 要卸载的包名keepData (布尔值, 默认: false): 保留应用数据和缓存 (-k)clear-app-data
packageName (字符串): 要清除数据的包名pull
remotePath (字符串): 设备上的文件路径localPath (字符串): 本地目标路径push
localPath (字符串): 本地文件路径remotePath (字符串): 设备上的目标路径screencap
remotePath (字符串): 在设备上保存截图的路径(例如:/sdcard/screenshot.png)usePng (布尔值, 默认: true): 保存为 PNG 格式 (-p)rm
path (字符串): 要删除的设备上的文件路径force (布尔值, 默认: false): 强制删除 (-f)recursive (布尔值, 默认: false): 递归删除 (-r)reset-permissions
packageName (字符串): 目标包名grant-permission
packageName (字符串): 目标包名permission (字符串): 要授予的权限安装 ADB:
adb version 验证安装启用 USB 调试:
# 克隆仓库
git clone [repository-url]
cd mcp-server-adb
# 安装依赖
npm install
# 构建项目
npm run build在你的 claude_desktop_config.json 中添加以下内容:
{
"mcpServers": {
"adb": {
"command": "node",
"args": ["-y", "/path/to/mcp-server-adb/build/index.js", "/path/to/adb"]
}
}
}请将 /path/to/adb 替换为你实际的 ADB 可执行文件路径。
首先确保已经安装了 Node.js 和 ADB
克隆并构建项目:
git clone https://github.com/jiantao88/android-mcp-server.git
cd android-mcp-server
npm install
npm run build或者直接使用已经克隆的项目:
cd /path/to/android-mcp-server
npm install
npm run build在 Windsurf 的设置中添加 MCP 配置:
{
"mcpServers": {
"adb": {
"command": "node",
"args": [
"/path/to/android-mcp-server/build/index.js",
"/usr/local/bin/adb"
]
}
}
}注意:
/usr/local/bin/adb 是 ADB 的默认安装路径,如果你的 ADB 安装在其他位置,请相应修改重启 Windsurf 使配置生效
本项目采用 MIT 许可证 - 详见 LICENSE 文件。
Pick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add adb -- node -y /path/to/mcp-server-adb/build/index.js /path/to/adb{
"mcpServers": {
"adb": {
"args": [
"-y",
"/path/to/mcp-server-adb/build/index.js",
"/path/to/adb"
],
"command": "node"
}
}
}code --add-mcp '{"name":"adb","args":["-y","/path/to/mcp-server-adb/build/index.js","/path/to/adb"],"command":"node"}'[mcp_servers.adb]
command = "node"
args = ["-y", "/path/to/mcp-server-adb/build/index.js", "/path/to/adb"]Runs locally on your device. Your client starts the server itself, so nothing has to be hosted.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/adb-mcp to learn what the "ADB MCP 服务器" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
This server runs locally, so we can't read its tool list over the web yet.
We could not run this server: it ships no npx package for our sandbox and no public endpoint. The four checks that need a live server are left out, and the grade tops out at B until one exists.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/adb-mcp)Nothing comparable is listed yet.
No tagged releases on record.
Connect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "adb-mcp" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.