免费在 GitHub 公开
mobile-automation
Operate Android and iOS phones, emulators, and simulators by launching apps, tapping, swiping, typing, and inspecting screen elements. Use it to check mobile interfaces, run UI testing steps, or reproduce an issue on a device.
中文简介正在准备中。当前显示英语简介。
原文查看原文说明
Control Android and iOS devices, emulators and simulators — launch apps, tap, swipe, type, take screenshots, read the accessibility tree. Use when a task involves a mobile device or app, mobile UI testing, or reproducing a bug on a phone.
mobile-next/mobile-mcp星标 10,024(GitHub 10,024 + cccskills 0)
实测评分 未实测
查看安装方法适用场景
- Checking a mobile app screen
- Reproducing a phone bug
- Running a mobile UI test
- Capturing a screenshot or recording
包含的文件(1)
- SKILL.md2.3 KB
SKILL.md(原文)
安装前可以查看交给 AI 代理的指令内容。
Mobile Automation with Mobile MCP
Tools for driving real phones, emulators and simulators. All tools are
prefixed mobile_.
Workflow
- Pick a device. Call
mobile_list_available_devicesand use one of the returned devices for every subsequent call. If no device is available, ask the user to connect one (Android:adb devicesmust show it; iOS: simulator booted or device paired). - See the screen. Prefer
mobile_list_elements_on_screen— it returns the accessibility tree with element labels and coordinates. It is faster, cheaper, and more reliable than screenshots. Fall back tomobile_take_screenshotonly when elements are missing or you need visual confirmation (games, canvas-drawn UI, image content). - Act.
mobile_click_on_screen_at_coordinates,mobile_swipe_on_screen,mobile_type_keys,mobile_press_button(HOME, BACK, VOLUME, ENTER),mobile_launch_app/mobile_terminate_app/mobile_list_apps,mobile_open_url. - Verify after every action. Re-list elements (or re-screenshot) to confirm the UI changed as expected before the next step. Mobile UIs animate; if the expected element is not there yet, wait briefly and check again rather than tapping blind.
Tips
- Click the center of an element's bounds, not its top-left corner.
- To type, first tap the input field, confirm it is focused, then
mobile_type_keys. - Use
mobile_save_screenshotwhen the user wants the image as a file;mobile_start_screen_recording/mobile_stop_screen_recordingfor videos. - App crashed?
mobile_list_crashesandmobile_get_crashfetch crash logs. - Screen size from
mobile_get_screen_size; coordinates are in that space. - Real devices in the cloud (no local hardware):
mobile_login_to_cloud_provider, thenmobile_list_remote_devices/mobile_allocate_remote_device, and release withmobile_release_remote_devicewhen done. See https://mobilenext.ai/docs for details.
评价
还没有评价。欢迎分享你的使用感受。
评论
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。