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 分

    請在儲存庫或註冊中心條目中宣告授權條款。