-
securityF
license-
qualityA versatile Model Context Protocol server that enables AI assistants to manage calendars, track tasks, handle emails, search the web, and control smart home devices.
Last updated -
2
Python
模型上下文协议 (MCP) 服务器,使 AI 助手能够通过 Android 调试桥 (ADB) 与 Android 设备交互。该服务器弥合了 AI 功能与 Android 设备管理之间的差距,从而实现了 Android 开发和测试操作的无缝自动化。
将服务器添加到您的 MCP 配置文件:
~/Library/Application Support/Claude/claude_desktop_config.json
(macOS)~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
(macOS)配置完成后,重新启动您的AI助手以加载新的服务器配置。
adb version
来验证安装osascript
(内置)xclip
(通过apt-get install xclip
或同等方法安装)工具 | 描述 | 必需参数 | 可选参数 |
---|---|---|---|
adb_devices | 列出已连接的设备 | 没有任何 | 没有任何 |
adb_shell | 执行shell命令 | command | device_id |
adb_install | 安装APK文件 | path | device_id |
adb_uninstall | 卸载应用程序 | package_name | device_id |
adb_list_packages | 列出已安装的软件包 | 没有任何 | device_id , filter |
adb_pull | 从设备中提取文件 | remote_path , local_path | device_id |
adb_push | 将文件推送到设备 | local_path , remote_path | device_id |
launch_app | 启动应用程序 | package_name | device_id |
take_screenshot_and_save | 截取并保存屏幕截图 | output_path | device_id , format |
take_screenshot_and_copy_to_clipboard | 将屏幕截图保存到剪贴板 | 没有任何 | device_id , format |
服务器智能处理设备选择:
device_id
参数当指定保存截图的output_path
时,路径解析如下:
~
开头的路径扩展至用户的主目录这可确保屏幕截图保存到 MCP 服务器具有写入权限的位置。
adb version
进行验证adb devices
连接adb kill-server
重新启动 ADB,然后使用adb start-server
device_id
参数adb_devices
工具获取可用设备列表该项目根据 ISC 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
欢迎贡献代码!欢迎提交 Pull 请求。
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
模型上下文协议服务器,使 AI 助手能够通过 ADB 与 Android 设备交互,从而实现自动化设备管理、应用程序安装、文件传输和屏幕截图。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/landicefu/android-adb-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server