Karagöz

io.github.yagizdo由 GitHub 帳號 yagizdo 發布v0.4.0更新於 Nov 4, 2026

Device automation for Android emulators and phones, iOS simulators and iPhones. No daemon.

已驗證STDIO僅桌面瀏覽器自動化開發者工具

概覽

AI 產生的概覽

在 macOS 上操控 Android 模擬器與實機、iOS 模擬器與 iPhone:檢視畫面、點擊、滑動、輸入文字、安裝並啟動應用程式。

可以做什麼
  • 列出已連線的 Android 裝置與模擬器、iOS 模擬器以及 iPhone
  • 擷取全解析度螢幕截圖,並讀取目前視窗的無障礙樹
  • 依像素座標或節點文字、id 點擊、長按、雙擊、滑動、輸入文字與按鍵
  • 安裝、啟動應用程式,以指定應用程式開啟網址,強制停止與解除安裝
  • 讀取裝置日誌,並診斷 adb 與 Xcode 工具鏈
  • 在已配對的 iPhone 上安裝或移除 karagoz 的 runner
適用情境
適合需要讓助理在 Mac 上操作手機應用程式的情境:重現問題、走查介面流程、檢視畫面與日誌,或在 Android 與 iOS 上進行可重複的裝置檢查。
執行需求
以本機 stdio 程序執行於 macOS,需已安裝 adb(Android)與 Xcode 工具(iOS);以 USB 配對的 iPhone 需先透過 install_runner 安裝一次 runner,並以你的 Apple 團隊簽署。未宣告任何 API 金鑰或環境變數。
安裝前請注意
它會操作真實裝置:點擊、輸入、安裝應用程式、強制停止與解除安裝都會改變狀態,可能移除應用程式或資料。install_runner 會在 iPhone 上建置並安裝 runner 及其描述檔,uninstall_runner 會將其移除。在 Android 上輸入非 ASCII 文字時會暫時使用剪貼簿。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Karagöz,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

該儲存庫沒有 README。

工具

18

devices

List devices

List Android devices and emulators, running iOS simulators, and iPhones connected to this Mac.

無需輸入參數。

screenshot

Take a screenshot

Save a full-resolution PNG of the screen and return its path with size, scale and safe area. Use ui_tree to read the screen; inline only to look at the image.

輸入參數outdeviceinline

ui_tree

Read the UI tree

Return the focused window's accessibility tree as JSON, compact by default: nodes with no text, label or action and nodes off screen are left out. Node bounds [left, top, right, bottom] are the physical pixels tap and swipe take. On an iPhone it needs karagoz's runner: install it once with install_runner.

輸入參數detaildevice

tap

Tap

Tap x, y in physical pixels, or the center of the node whose text or contentDesc (iOS: label or value) equals text, or whose resource id (iOS: identifier) matches id. An iPhone needs install_runner once.

輸入參數xyidtextdevicetimeout

long_press

Long-press

Long-press x, y in physical pixels, or the center of the node whose text or contentDesc (iOS: label or value) equals text, or whose resource id (iOS: identifier) matches id. An iPhone needs install_runner once.

輸入參數xyidtextdevicetimeoutduration

double_tap

Double-tap

Double-tap x, y in physical pixels, or the center of the node whose text or contentDesc (iOS: label or value) equals text, or whose resource id (iOS: identifier) matches id. An iPhone needs install_runner once.

輸入參數xyidtextdevicetimeout

swipe

Swipe

Swipe from x1, y1 to x2, y2 in physical pixels. An iPhone needs install_runner once.

輸入參數x1必填x2必填y1必填y2必填deviceduration

text

Type text

Type into the focused field. Any text; on Android, text beyond ASCII is pasted through the clipboard and the old clip put back. An iPhone needs install_runner once.

輸入參數text必填device

key

Press a key

Press one key.

輸入參數key必填device

install

Install an app

Install an .apk, or a .app or .ipa on an iOS simulator or iPhone, or replace the installed version of the same app. An iPhone takes only a build signed for it; karagoz does not re-sign. Times out after 30 s plus 1 s per MB.

輸入參數apk必填device

launch

Launch an app

Start an app as its launcher icon does. On iOS it returns before the app is in front.

輸入參數devicepackage必填

open_url

Open a URL

Open a URL in the app that handles it, or in the app named by app. On iOS it returns before the app is in front, and a simulator may first ask "Open in <app>?".

輸入參數appurl必填device

terminate

Stop an app

Force-stop every process of an app.

輸入參數devicepackage必填

uninstall

Uninstall an app

Remove an app.

輸入參數devicepackage必填

logs

Read device logs

Read the newest device log records, oldest first. On iOS without since: the last minute, or the last hour with package. An iPhone read takes about 10 s.

輸入參數linessincedevicepackage

doctor

Check adb and Xcode

Report which adb and Xcode tools karagoz uses, their versions, and how to fix one that is missing, old or broken.

無需輸入參數。

install_runner

Install karagoz's iPhone runner

Build karagoz's runner with your Apple team and install it on a paired iPhone over USB; ui_tree, tap, swipe, text and key need it there.

輸入參數teamdevice

uninstall_runner

Remove karagoz's iPhone runner

Remove karagoz's runner and its provisioning profile from an iPhone.

輸入參數device

版本歷史

5
  1. v0.4.0最新Nov 4, 2026
  2. v0.3.2Nov 3, 2026
  3. v0.3.0Oct 31, 2026
  4. v0.2.0Oct 30, 2026
  5. v0.1.1Oct 29, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分