XCRS Mobile & TV Automation

io.github.smbcloudXYZ由 GitHub 账号 smbcloudXYZ 发布v1.1.0更新于 Oct 31, 2026

MCP tools for testing mobile and TV apps on iOS simulators, Android phones, and Apple/Android TV.

已验证STDIO仅桌面浏览器自动化开发者工具

概览

AI 生成的概览

本地 MCP 服务器,让助手驱动 iOS 模拟器、Apple 设备、Android 手机与电视设备来测试移动端和电视应用。

可以做什么
  • 选择并管理 Apple 模拟器、实体 Apple 设备、Android 手机与 Android TV 设备等测试目标
  • 通过 Xcode、ControlKit、CoreDevice 与 adb 在选定目标上执行应用自动化流程
  • 安装可选的 AndroidKit 配套运行器后,检查 Android 无障碍树并执行语义化 UI 点击
  • 未安装配套运行器时,仍可使用原始 adb 操作
适用场景
适合在测试流程中让助手在模拟器、仿真器或已连接设备上运行和调试移动端或电视应用,而不必手动操作界面。
运行要求
以本地进程运行,通过 cargo install xcrs 安装并用 --mcp 参数启动。Apple 目标依赖 Xcode 及相关 Apple 工具;Android 工具需要 adb,可从 ANDROID_SDK_ROOT、ANDROID_HOME、标准 SDK 路径或 PATH 中找到。Android 设备需通过 USB 连接、开启调试并由主机授权。无障碍树检查与语义化点击需要可选的 AndroidKit 配套运行器。
安装前请注意
它会控制真实设备与模拟器,自动化操作可能改变所选目标上的应用状态或数据。Android 设备必须显式授权 USB 调试,这会让主机获得较大控制权限。服务器本身未声明任何凭据或环境变量。

安装

在 SourceWeft 中

  1. 打开 控制台中的 XCRS Mobile & TV Automation,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

XCRS Mobile & TV Automation

Cross-platform MCP tools for testing mobile and TV apps on Apple simulators, physical Apple devices, Android phones, and Android TV devices. XCRS combines Xcode, ControlKit, CoreDevice, and adb behind one target-aware automation workflow.

MCP Registry name: mcp-name: io.github.smbcloudXYZ/xcrs

Run the MCP server

sh
cargo install xcrsxcrs --mcp

Android tools use adb from ANDROID_SDK_ROOT, ANDROID_HOME, the standard Android SDK locations, or PATH. Connect a device with USB debugging enabled and authorize the host before selecting it with device_select.

For Android accessibility-tree inspection and semantic ui_tap, install the optional XCRS AndroidKit companion runner. Raw adb actions remain available without it.

The same automation profile is available from the full smbCloud CLI:

sh
smb --mcp --scope automation

Desktop apps

A desktop target drives an application through a W3C WebDriver endpoint, for example tauri-driver for a Tauri app on Linux (it proxies WebKitWebDriver). Select it once:

json
{ "name": "device_select", "arguments": { "webdriver_url": "http://127.0.0.1:4444" } }

webdriver_url cannot be combined with an Apple or Android field. The desktop tools then use the stored target.

ToolDesktop behaviour
app_install_launch, app_launchStart a WebDriver session, which launches the binary at app_path (app_id for app_launch). bundle_id is ignored.
app_terminateEnd the session and close the app.
ui_describeThe page source.
ui_element_listVisible interactive elements with label, id, role and rectangle, up to 200.
ui_tapClick the one displayed element whose id, name, test id, ARIA label, title or text equals element. Zero or several matches are an error.
input_textType into the focused element.
screen_captureA PNG of the window.

The other tools return an error saying they have no desktop meaning. A running app cannot be attached to: the session is the launched app.

Repository

Source and documentation are available in the smbcloud-cli repository.

来源:crates/xcrs/README.md,提交 6abc38c

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

4
  1. v1.1.0最新Oct 31, 2026
  2. v1.0.0Oct 31, 2026
  3. v0.7.5Oct 20, 2026
  4. v0.5.2Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。