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 集成