SuperAPI AI 工具集

another-android

通用与其它

查看项目

更新于 10-16 02:31

技能介绍

用途:让 AI 智能体借助 Another MCP 服务器查看并操作 Android 设备,适用于与设备交互、测试、自动化及截图等任务。

使用方式:需先运行 Another 桌面应用,并在设置中启用 MCP Server(默认开启)。在支持 MCP 的客户端(如 Claude Code、Claude Desktop、Cursor 等)中添加配置:{"mcpServers":{"another":{"type":"http","url":"http://localhost:7070/mcp"}}}。

建议流程:先连接设备建立控制会话,再截图查看当前屏幕状态,之后通过触摸、文本、按键、滑动等方式操作,操作后再次截图验证结果,最后断开连接。

主要能力:设备管理工具包括 another_list_devices、another_connect_device、another_disconnect_device;观察工具 another_take_screenshot 以 PNG 截屏;输入工具包括 another_press_button(home、back、recents、power、volume_up、volume_down)、another_send_text、another_send_touch、another_send_scroll、another_swipe;应用与 Shell 工具包括 another_launch_app、another_open_url、another_shell;WiFi 工具包括 another_wifi_enable、another_wifi_connect、another_wifi_disconnect、another_get_device_ip。

坐标系统:触摸、滑动与滚动使用 0.0 至 1.0 的归一化坐标,(0.0,0.0) 为左上角,(1.0,1.0) 为右下角,(0.5,0.5) 为屏幕中心。

限制与注意:操作前应先连接设备,press_button、send_text、send_touch、swipe 等工具需要有效连接;list_devices、shell、take_screenshot 及 WiFi 工具无需 scrcpy 连接,仅需 adb。截图是了解屏幕内容的主要方式。滑动默认时长 300ms,可通过 duration_ms 调整。