replicant-mcp
io.github.thecombatwombat由 GitHub 帳號 thecombatwombat 發布v1.6.7更新於 Oct 24, 2026
Android MCP server for AI-assisted development. Build, test, emulate, and automate.
概覽
讓 AI 助理在模擬器或已連線裝置上建置、測試、安裝並操作 Android 應用程式。
- 可以做什麼
- 這是一個 Android 開發用的 MCP 伺服器,可建置 APK 與 bundle、執行單元測試與 instrumentation 測試,並管理模擬器(建立、啟動、停止、清除資料、快照)。它能安裝、啟動應用程式並清除應用程式資料,依套件、標籤、等級與時間篩選 logcat,還提供以無障礙樹為優先的 UI 自動化,例如依文字尋找元素、點擊、輸入文字與截圖。此外可做環境健康檢查,並以漸進式揭露控制 token 用量。
- 適用情境
- 適合讓助理直接在 Android 專案中工作:編譯與測試建置、在模擬器或裝置上重現 UI 流程、查看篩選後的日誌、排查當機,而不必複製貼上指令輸出。最適合已設定好 Android 工具鏈的開發者。
- 執行需求
- 透過 npx 在本機執行,需要 Node.js 18+。需要 Android SDK,且 adb 與 emulator 位於 PATH 中,或設定 ANDROID_HOME;建置工具需要含 gradlew 的專案。選用環境變數 REPLICANT_CONFIG、REPLICANT_LOG_LEVEL、REPLICANT_LOG_FORMAT 可控制設定與日誌。僅支援桌面端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 replicant-mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
replicant-mcp
Let AI build, test, and debug your Android apps.
[CI] [npm] [Node.js] [License: MIT] [Ask DeepWiki] [replicant-mcp MCP server]
replicant-mcp is a Model Context Protocol server that gives AI assistants like Claude the ability to interact with your Android development environment. Build APKs, launch emulators, install apps, navigate UIs, and debug crashes—all through natural conversation.
Demo
Why replicant-mcp?
Features
Coming Soon
- Custom build commands (project-specific overrides, auto-detect gradlew)
- Video capture (start/stop recording, duration-based capture)
Quick Start
Prerequisites
- Node.js 18+
- Android SDK with
adbandemulatorin your PATH - An Android project with
gradlew(for build tools)
Installing prerequisites (macOS via Homebrew)
If you don't already have these tools, install them with Homebrew:
Node.js 18+
Physical-device only — just adb, sufficient if you never run an emulator:
adb lands directly on your PATH; no further config needed.
Full Android SDK — needed for emulator workflows or building APKs via the gradle-* tools. Run the steps in order:
Persist ANDROID_HOME and put the SDK binaries on your PATH by appending to ~/.zshrc (or ~/.bashrc):
Installation
After installation, run the built-in diagnostics to verify your environment:
Updating
Setup
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Claude Code
Cursor
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
OpenAI Codex CLI
Add to ~/.codex/config.toml:
Or via CLI:
Note: Ensure
adbandemulatorare in your PATH, or setANDROID_HOMEenvironment variable. On macOS:~/Library/Android/sdk, on Linux:~/Android/Sdk.
Example
Design
replicant-mcp uses progressive disclosure (summaries first, details on demand) to minimize token usage, and accessibility-first UI automation for faster, cheaper, more reliable interactions than screenshot-based approaches. See docs/architecture.md for details.
More Info
- Configuration: Set
REPLICANT_CONFIGfor advanced options. See docs/configuration.md. - Logging: Set
REPLICANT_LOG_LEVEL(error,warn,info,debug) andREPLICANT_LOG_FORMAT(jsonfor structured output) to control server logging. Logs are written to stderr. - Troubleshooting: Common issues and solutions in docs/troubleshooting.md.
- Tool documentation: Ask Claude to call
rtfmwith a category like "build", "adb", "emulator", or "ui".
Documentation
Contributing
See CONTRIBUTING.md for development setup and guidelines.
Acknowledgments
- Inspired by xc-mcp for iOS
- Built on the Model Context Protocol
License
Questions? Open an issue
來源:README.md,提交 9d24a45
工具
0版本歷史
1- v1.6.7最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分