replicant-mcp
io.github.thecombatwombatPublished by GitHub account thecombatwombatv1.6.7Updated Oct 24, 2026
Android MCP server for AI-assisted development. Build, test, emulate, and automate.
Overview
Lets an AI assistant build, test, install, and drive Android apps on emulators or connected devices.
- What you can do
- An Android development MCP server that builds APKs and bundles, runs unit and instrumented tests, and manages emulators (create, start, stop, wipe, snapshots). It installs, launches, and clears app data, filters logcat output, and performs accessibility-first UI automation such as finding elements by text, tapping, typing, and taking screenshots. It also reports environment health and uses progressive disclosure to keep token usage low.
- When to use it
- Useful when an assistant should work inside an Android project: compiling and testing builds, reproducing UI flows on an emulator or device, reading filtered logs, and debugging crashes without copy-pasting command output. Best for developers who already have an Android toolchain set up.
- Requirements
- Runs locally via npx, so Node.js 18+ is needed. Requires the Android SDK with adb and emulator on PATH, or ANDROID_HOME set; build tools need a project with gradlew. Optional environment variables REPLICANT_CONFIG, REPLICANT_LOG_LEVEL, and REPLICANT_LOG_FORMAT control configuration and logging. Desktop only.
Installation
In SourceWeft
- Open replicant-mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Source: README.md at commit 9d24a45
Tools
0Version history
1- v1.6.7LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts