droidprobe

io.github.orhanbalci由 GitHub 帳號 orhanbalci 發布v0.1.0更新於 Oct 24, 2026

Read-only MCP server to inspect an Android device over ADB: hardware, packages, permissions, logs.

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

概覽

AI 產生的概覽

一個唯讀的 MCP 伺服器,透過 ADB 檢查 Android 裝置,向助理提供硬體、套件、權限與日誌資訊。

可以做什麼
透過 ADB 檢視裝置與硬體概況,例如已連線裝置的概覽與狀態。瀏覽已安裝的套件,包括套件搜尋與權限資訊。檢查應用程式元件,例如 activity、service、receiver 與 provider。讀取裝置日誌以協助排查問題。所有工具皆為唯讀,涵蓋與搭配終端介面相同的裝置、套件與日誌範圍。
適用情境
適合在除錯或排查時讓助理檢視以 USB 連線的 Android 裝置:了解安裝了哪些應用程式、某應用程式擁有哪些權限、宣告了哪些元件,或日誌內容,而不必離開對話。
執行需求
以本機程序執行,需與 ADB 伺服器及以 USB 連線的裝置在同一台機器上,並已啟用且授權 USB 偵錯。可用 Rust 1.82+ 建置,或使用預先編譯的執行檔;在 MCP 用戶端註冊為指向該執行檔的 stdio 伺服器。未宣告任何環境變數或憑證。
安裝前請注意
需要存取 ADB 伺服器與已連線裝置,無法存取不能執行 adb shell 的裝置;遠端或分離部署需將 ADB 通道轉送。裝置上的日誌與套件資料會傳給助理。工具宣告為唯讀,但裝置本身是即時目標。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

droidprobe

Modular Rust toolkit for inspecting an Android device over ADB (USB debugging). One shared core powers two front-ends: a terminal UI (droidprobe) and an MCP server (droidprobe-mcp) for agents.

See ARCHITECTURE.md for the full design and phased plan.

Screenshots

[droidprobe walkthrough]

Workspace layout

droidprobe/├── Cargo.toml                      # workspace + shared dep versions├── ARCHITECTURE.md└── crates/    ├── droidprobe-parser/   # raw text -> structured data (pure, no I/O)    ├── droidprobe-command/  # Command trait, Transport, built-in catalog    ├── droidprobe-core/     # Registry + Engine + Poller    ├── droidprobe-tui/      # ratatui binary  (bin: `droidprobe`)    └── droidprobe-mcp/      # rmcp binary     (bin: `droidprobe-mcp`)

Prerequisites

  • Rust 1.82+ (rustup recommended)
  • A running adb server (adb start-server) and a device with USB debugging enabled and authorized.

Build & test

bash
cargo build --workspacecargo test  --workspace        # parser + command tests run without a device

Run the TUI

bash
cargo run -p droidprobe-tui# Tab switches views, q quits. Logs are written to ./droidprobe.log

Run the MCP server

bash
cargo run -p droidprobe-mcp        # speaks MCP over stdio

Register it with an MCP client (e.g. Claude Desktop / Claude Code) by pointing the client at the built binary as a stdio server. Tools are read-only.

Register with Claude Code

bash
cargo build -p droidprobe-mcp --releaseclaude mcp add droidprobe -- "$(pwd)/target/release/droidprobe-mcp"claude mcp get droidprobe        # should show "Status: ✔ Connected"

This must run on the same machine as the adb server and the USB-attached device — the server has no way to reach a device it can't adb shell into, so there's no meaningful way to run it detached on remote infrastructure unless you tunnel adb back to it.

Register with Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "droidprobe": {      "command": "/absolute/path/to/target/release/droidprobe-mcp"    }  }}

Distributing droidprobe-mcp

Publish to crates.io

Path-dependent crates must publish in dependency order — each one needs its predecessors already live on crates.io before cargo publish will resolve:

bash
cargo login                                    # one-time, needs your crates.io API tokencargo publish -p droidprobe-parsercargo publish -p droidprobe-command            # only after droidprobe-parser is livecargo publish -p droidprobe-core               # only after droidprobe-command is livecargo publish -p droidprobe-mcp                # only after droidprobe-core is livecargo publish -p droidprobe-tui                # optional, same dependency floor as mcp

crates.io indexes new releases within a minute or two; cargo publish for a downstream crate will fail with "no matching package found" if you run it too soon after the one before it. Once droidprobe-mcp is published, anyone with Rust installed can run:

bash
cargo install droidprobe-mcp

Prebuilt binaries (no Rust toolchain needed)

.github/workflows/release.yml cross-builds both droidprobe (TUI) and droidprobe-mcp for macOS (Intel + Apple Silicon), Linux x86_64, and Windows x86_64 whenever a v*.*.* tag is pushed, and attaches the archives to a GitHub Release:

bash
git tag v0.1.0git push origin v0.1.0

List in the MCP registry

The official MCP registry publishes via a dedicated CLI and validates namespace ownership through GitHub OAuth. A starter server.json is included in this repo — update its version to match each crates.io release, then:

bash
brew install mcp-publishermcp-publisher login githubmcp-publisher publish        # validates server.json and submits it

Adding your own command

Implement Command, wrap it in TypedDyn, and register it:

rust
let mut registry = droidprobe_core::registry::Registry::with_builtins();registry.register(Box::new(droidprobe_command::TypedDyn(MyCommand)));

Status

10 tested parsers, 10 built-in commands, the registry/engine/poller, a TUI with Overview/Packages/Logs tabs (package search, permissions, and activity/service/receiver/provider component tabs), and a 10-tool MCP server covering the same device/package/log surface. Phases 2–6 (parser breadth, TUI depth, ATK command parity, MCP polish, robustness) are described in ARCHITECTURE.md.

License

MIT

來源:README.md,提交 2cda4ec

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分