CodeDroid

io.github.codedroid-team由 GitHub 帳號 codedroid-team 發布v0.1.9更新於 Nov 7, 2026

Use your real Android phone from any MCP client: read the screen, tap, type, run tasks and adb.

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

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

概覽

AI 產生的概覽

讓 MCP 用戶端操作你的真實 Android 手機:讀取螢幕、點擊、輸入、滑動、截圖、安裝 APK 並執行 adb 指令。

可以做什麼
  • 讀取手機螢幕並截圖
  • 點擊、輸入、滑動、開啟應用程式,或把多步驟任務交給 CodeDroid 的代理,可在一支或多支手機上執行
  • 從電腦安裝 APK 並啟動,不需要傳輸線或同一個網路
  • 在電腦上執行 adb 指令以讀取日誌和執行測試(可關閉)
  • 使用內建技能逐步引導手機操作、在實機上測試應用程式,並撰寫關鍵使用者旅程與測試案例
適用情境
適合需要助理查看或操作真實 Android 裝置的情境:確認螢幕上顯示什麼、走查應用程式流程、擷取截圖,或在手機上建置、安裝並驗證 Android 應用程式變更。
執行需求
透過 npx 在本機執行,需要 Node.js 20+,並在 Android 手機上安裝 CodeDroid 應用程式、登入並啟用無障礙服務。兩台裝置都需連網,手機與電腦可位於不同網路。配對使用手機設定中顯示的一次性代碼。選用環境變數:CODEDROID_MCP_ADB、CODEDROID_MCP_CLIENT、CODEDROID_SERIAL。用 adb 讀取日誌還需要 Android platform-tools 以及 USB 或無線偵錯連線。
安裝前請注意
工具呼叫會經 TLS 透過 CodeDroid 伺服器中轉,包括螢幕內容、截圖、你要求輸入的文字以及剪貼簿讀寫。adb 工具會在你的電腦上執行指令,並可在專案目錄與暫存目錄內推送與拉取檔案。install_apk 需要在手機上開啟一項設定。手機與伺服器會在你的 CodeDroid 帳號下保留使用紀錄(工具名稱、是否成功、耗時、用戶端與作業系統),但不含工具參數或螢幕內容。配對碼 10 分鐘後失效且只能使用一次;用完後請在手機上撤銷電腦的存取權限。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

CodeDroid MCP

Let Claude Code, Codex, Gemini CLI, or any MCP client use your Android phone. Read the screen, interact with apps, take screenshots, and test what you build through CodeDroid. Your phone and computer can be on different networks.

Get started

You'll need Node.js 20+ and CodeDroid on your Android phone, signed in with its accessibility service enabled. Both devices need internet access.

1. Install for your coding client

Every client at once — run in your terminal:

bash
npx -y @codedroid/mcp setup

It finds Claude Code, Codex, Gemini CLI, Cursor, VS Code, Claude Desktop, and Windsurf, and adds CodeDroid to each one after you confirm. Run it again after an update; it skips clients that are already set up. Or install for one client:

Claude Code — run inside Claude Code:

text
/plugin marketplace add codedroid-team/codedroid-mcp/plugin install codedroid@codedroid

Codex — run in your terminal:

bash
codex plugin marketplace add codedroid-team/codedroid-mcpcodex plugin add codedroid@codedroid

Gemini CLI — run in your terminal:

bash
gemini extensions install https://github.com/codedroid-team/codedroid-mcp

Each installation includes the MCP server and skills for phone control and Android app testing. Restart your coding client after installing.

Using another client? See manual MCP setup.

2. Pair your phone

  1. Open CodeDroid → Settings → Computers → Pair a computer on your phone.

  2. Run the command shown there in your computer's terminal. For example:

    bash
    npx -y @codedroid/mcp pair ABCD-EFGH
  3. Tap Allow on your phone when prompted.

Use the command exactly as shown. Pairing codes expire after 10 minutes and work once.

3. Ask your agent

Read the screen on my phone and describe what is open.

Then try:

  • “Open Android Settings and check the Android version.”
  • “Open my app, navigate to sign-in, and take a screenshot.”
  • “Install this APK, launch it, and check for crashes.”*

*install_apk works over CodeDroid's connection, with one setting to allow. Reading logs with adb also requires Android platform-tools and a USB or wireless debugging connection. See adb setup.

What it includes

  • MCP tools to read the screen, take screenshots, tap, type, swipe, open apps, and hand CodeDroid's agent a multi-step task, on one phone or several. See the tool list.
  • Skills: codedroid-phone teaches the agent to drive the phone one checked step at a time, and test-on-device walks it through building, installing, and verifying an Android app change. create-cujs writes an app's critical user journeys as markdown files in its repo (cujs/), create-tests adds test cases to them, and test-on-device runs them on the phone.
  • install_apk to install a build from your computer, with no cable or shared network.
  • An adb tool that runs adb commands on your computer, to read logs and run tests. You can turn it off.

Privacy and security

The plugin runs npx -y @codedroid/mcp@<version>, which downloads this exact release from npm and starts a local MCP server. Everything it sends goes over TLS to the CodeDroid server, orchestrator.codedroid.com unless the pairing command shown on your phone names another:

  • Pairing sends the one-time code, your computer's name, and its OS (for example darwin), so the phone can show which computer is connected.
  • Tool calls are relayed between your agent and the phone: screen contents, screenshots, text you ask it to type, clipboard reads and writes, and task progress. Each call also names the MCP client that made it and its version. The phone asks you to Allow a computer the first time, shows when one is in use, and can stop or revoke it.

The local server listens on 127.0.0.1 only and requires a per-user token. Pairing credentials, the token, and logs stay in ~/.codedroid on your computer. The adb tool runs only on your computer, and its push and pull stay within your project and temp directories. See Architecture for details.

The plugin itself collects no analytics. The CodeDroid app and server keep usage records under your CodeDroid account: pairing and connecting, whether a computer was allowed, and for each phone tool call its name, whether it worked and its error code, how long it took, the MCP client, session and versions involved, your computer's OS and a random id for it, and the task id of a run_task. Usage records never include tool arguments, screen contents, or text you type.

Need help?

Check your connection:

bash
npx -y @codedroid/mcp status

Manage or revoke computer access in CodeDroid → Settings → Computers.

See the reference guide for tools, manual setup, configuration, troubleshooting, and development.

License

MIT © 2026 CodeDroid

來源:README.md,提交 f004ceb

工具

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

版本歷史

3
  1. v0.1.9最新Nov 7, 2026
  2. v0.1.4Nov 4, 2026
  3. v0.1.3Oct 29, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

其他 Droid 整合