DroidAgentKit

io.github.iVamsi由 GitHub 帳號 iVamsi 發布v0.3.2-alpha更新於 Nov 2, 2026

Local-first Android development MCP: Gradle, adb, logcat, lint, crash triage, Perfetto, visuals.

發布方自己的服務:droid.monster — specs

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

本機優先的 Android 開發 MCP 伺服器,讓助理檢查 Gradle 專案、執行白名單任務、操作 adb 裝置,並排查建置、測試與當機問題。

可以做什麼
  • 檢查 Android Gradle 模組、版本、資訊清單與相依性漂移,並回報環境健康狀態
  • 執行白名單內的 Gradle 任務,用於建置、測試、lint/detekt 與效能剖析,並解析結果、列出最慢任務
  • 列出 adb 裝置、安裝並啟動應用程式、擷取去識別化的 logcat
  • 擷取裝置截圖與 UIAutomator 無障礙階層,並依文字、描述或資源 id 定位畫面上的元素
  • 診斷建置失敗、歸類當機與 ANR、分析 APK 大小組成,並產生診斷報告包
適用情境
適合讓助理在開發者本機針對單一 Android 專案工作:建置與測試、讀取 lint 或 JUnit 結果、偵錯裝置上的行為,或說明 APK 大小與建置效能。它面向本機 Android 應用程式開發,而非通用裝置控制。
執行需求
以本機 npm 套件透過 stdio 在桌上型電腦執行,啟動時需指定專案根目錄。需要 Java/JDK 工具鏈、含 adb 的 Android SDK,裝置相關工具還需已連線或模擬的裝置。未宣告帳號、API 金鑰或環境變數。
安裝前請注意
它會在本機執行 Gradle 任務與 adb 指令,並可在裝置上安裝和啟動應用程式,因此變更會作用於所選專案與已連線裝置。雖然只執行白名單任務且日誌會去識別化,仍應確認啟用了哪些工具群組。其作用範圍限於啟動時選定的專案根目錄。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

該儲存庫沒有 README。

工具

18

android_project_inspect

Inspect Android project

Inspect Android Gradle modules, versions, manifests, and safe commands.

輸入參數rootPath

android_gradle_run

Run allowlisted Gradle task

Run a configured allowlisted Gradle task and capture redacted logs.

輸入參數task必填rootPathargumentsrerunTasksstacktracetimeoutSeconds

android_devices_list

List Android devices

List adb devices and basic status.

輸入參數rootPath

android_app_install

Install Android app

Install an APK when app install is enabled.

輸入參數apkPath必填rootPathreinstalldeviceSerial必填

android_app_launch

Launch Android app

Launch an Android package/activity on an explicit device.

輸入參數packageName必填activityNamedeviceSerial必填

android_logcat_capture

Capture Logcat

Capture redacted logcat output for a device or package.

輸入參數maxLinesdeviceSerial必填

android_screen_snapshot

Capture Android screen

Capture a PNG screenshot from an explicit device. Use android_accessibility_snapshot for the UI hierarchy.

輸入參數outputNamedeviceSerial必填

android_accessibility_snapshot

Capture Android accessibility tree

Capture the UIAutomator accessibility hierarchy (not Layout Inspector) from an explicit device and return structured nodes plus the raw XML artifact.

輸入參數verbositycompressedoutputNamedeviceSerial必填

android_report_bundle

Create Android report bundle

Create an agent-readable Android diagnostic report bundle.

輸入參數rootPath

android_lint_run

Run Android lint

Run an allowlisted lint/detekt Gradle task and parse its XML/SARIF report into structured findings.

輸入參數task必填rootPathtimeoutSeconds

android_crash_triage

Triage Android crash

Capture logcat from a device and extract structured crash/ANR findings.

輸入參數maxLinesdeviceSerial必填

android_dependency_check

Check dependency hygiene

Check declared dependency versions for drift and orphaned version-catalog entries. Local-only, no network calls, no 'latest version' data.

輸入參數rootPath

android_build_performance

Profile Android build

Run an allowlisted Gradle task with --profile and surface the slowest tasks from the profile report.

輸入參數task必填rootPathtimeoutSeconds

android_test_run

Run Android tests

Run an allowlisted test task and parse local JUnit XML into a deterministic summary and findings.

輸入參數modetask必填rootPathtimeoutSeconds

android_build_diagnose

Diagnose Android build

Run an allowlisted task and classify recognized compiler, resource, manifest, and cache failures.

輸入參數task必填rootPathstacktracetimeoutSeconds

android_ui_find

Find a UI element by label

Locate an on-screen element by text, content description, or resource id and return its tap point. Read-only. Ambiguous matches are reported with candidates rather than guessed; misses list what is actually on screen.

輸入參數textexactrootPathresourceIdcontentDescdeviceSerial必填clickableOnly

android_apk_analyze

Analyze APK size

Break an APK's size down by dex, native libraries, resources, and assets, list the largest entries and native ABIs, and optionally diff against a baseline APK to attribute growth to a category.

輸入參數apkPath必填rootPathbaselineApkPath

android_doctor

Check the DroidAgentKit environment

Report the Java version, user policy and project config health, adb and any optional binaries the enabled tool groups need, ANDROID_HOME, artifact writability, and the effective tool groups and capabilities. Read-only. Run this first when a tool fails for no obvious reason.

輸入參數rootPath

版本歷史

3
  1. v0.3.2-alpha最新Oct 26, 2026
  2. v0.3.1-alphaOct 5, 2026
  3. v0.3.0-alphaSep 16, 2026

評分

已滿足適用檢查項的 65%

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

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

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

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

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

  • 授權條款10 分

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

其他 Droid 整合