MCP Catalogs
首页

Android-MCP

by CursorTouch·602·综合分 51

Android-MCP 允许 AI 代理通过 ADB 与 Android 设备交互,实现 UI 自动化、测试和控制。

developer-toolsai-llmops-infra
81
Forks
4
活跃 Issue
本月
最近提交
2 天前
收录于

概述

Android-MCP 是一个轻量级的 MCP 服务器,连接 AI 代理与 Android 设备,实现真实世界的任务交互,无需依赖计算机视觉或预编程脚本。通过 ADB 和 Android 无障碍 API 实现原生集成,提供手势、按键、捕获、设备状态监控和 shell 命令执行等工具。支持 Android 10+ 系统,兼容任何语言模型,适用于多种自动化场景。

试试问 AI

装完之后,这里有 3 个你可以让 AI 做的事:

:移动应用自动化 UI 测试
:AI 驱动的 Android 设备控制与导航
:移动应用开发和调试辅助

什么时候选它

当您需要 AI 与 Android 设备进行交互以进行测试、自动化或开发工作流,且不想依赖计算机视觉时,选择 Android-MCP。

什么时候不要选它

如果您需要支持 iOS 设备,或者需要比 Android-MCP 提供的 2-4 秒操作间延迟更低的响应时间,请避免使用。

此 server 暴露的工具

从 README 抽取出 10 个工具
  • State-Tool

    Understand the state of the device

  • Click-Tool

    Click on the screen at the given coordinates

  • Long-Click-Tool

    Perform long click on the screen at the given coordinates

  • Type-Tool

    Type text on the specified coordinates (optionally clears existing text)

  • Swipe-Tool

    Perform swipe from one location to another

  • Drag-Tool

    Drag from one point to another

  • Press-Tool

    Press keys on the mobile device (Back, Volume Up, etc.)

  • Wait-Tool

    Pause for a defined duration

  • Notification-Tool

    Access notifications seen on the device

  • Shell-Tool

    Execute shell commands on the android device

可对比工具

ios-mcpappiumadb-shell-mcp

安装

安装

  1. **先决条件**:

- Python 3.13 - ADB (Android 调试桥) - Android 10+ 设备/模拟器

  1. **测试 ADB 连接**:

``shell adb devices `` 确保您的设备被列出。

  1. **配置 Claude Desktop** (UVX 方法):

``json { "mcpServers": { "android-mcp": { "command": "uvx", "args": [ "--python", "3.13", "android-mcp" ] } } } ``

  1. 对于 WiFi 设备,添加环境变量:

``json { "mcpServers": { "android-mcp": { "command": "uvx", "args": [ "--python", "3.13", "android-mcp" ], "env": { "ANDROID_MCP_CONNECTION": "wifi", "ANDROID_MCP_HOST": "192.168.1.3" } } } } ``

  1. 重启 Claude Desktop 以激活集成。

Android-MCP 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。