replicant-mcp
v1.6.7Android MCP server for AI-assisted development.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cache
Manage the cache. See rtfm for details.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
config | object | |
key | string | Key to clear (optional) |
rtfm
Get documentation. Pass category ('build'|'adb'|'emulator'|'ui'|'cache'|'index') or tool (tool name like 'ui-query').
| Parameter | Type | Description |
|---|---|---|
category | string | Category: build, adb, emulator, ui, cache, index |
tool | string | Tool name (e.g., 'ui-query') for tool-specific docs |
adb-device
Manage device connections.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
deviceId | string |
adb-app
Manage applications.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
apkPath | string | APK path |
filter | string | Filter by name (case-insensitive) |
limit | number | Default: 20, max: 100 |
offset | number | Pagination offset |
packageName | string |
adb-logcat
Read device logs. Returns summary with logId.
| Parameter | Type | Description |
|---|---|---|
lines * | number | Default: 100 |
level | string | |
package | string | |
rawFilter | string | |
since | string | e.g., '01-20 15:30:00.000' |
tags | array |
adb-shell
Execute shell commands with safety guards.
| Parameter | Type | Description |
|---|---|---|
command * | string | |
maxChars | number | Truncate output to N chars |
previewChars | number | Preview length (default: 200) |
summaryOnly | boolean | Compact preview only |
timeout | number | ms, default: 30000, max: 120000 |
emulator-device
Manage Android emulators.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
avdName | string | |
device | string | e.g., 'pixel_7' |
emulatorId | string | |
snapshotName | string | |
systemImage | string |
gradle-build
Build. Returns summary with buildId.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
flavor | string | |
module | string | e.g., ':app' |
gradle-test
Run tests. Returns summary with testId. With baseline, auto-detects regressions.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
filter | string | e.g., '*LoginTest*' |
module | string | |
taskName | string | Task name for baseline operations. Defaults to operation name. |
gradle-list
Introspect project structure.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
module | string | e.g., ':app' |
gradle-get-details
Fetch full output for a previous build/test by ID.
| Parameter | Type | Description |
|---|---|---|
detailType * | string | |
id * | string | |
maxChars | number | Truncate to N chars |
previewChars | number | For summaryOnly with detailType logs/all: preview length in characters (default: 400) |
summaryOnly | boolean | Return compact summary payload for logs/tasks/all detail types (ignored for errors) |
ui-query
Query app UI. Accessibility-first.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
compact | boolean | Paginated flat list (default: true). false for full tree. |
debug | boolean | |
gridCell | number | |
gridPosition | number | |
limit | number | Default: 20 |
maxTier | number | Max fallback tier (1-5). Use 3 to stop before visual/grid payloads. |
offset | number | |
selector | object |
ui-action
Interact with app UI: tap, input, scroll. Use selector or coords.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
amount | number | Scroll fraction (0-1, default: 0.5) |
deviceSpace | boolean | x/y in device-space (default true). Set false only for image-space coords. |
direction | string | |
elementIndex | number | |
selector | object | |
text | string | |
x | number | |
y | number |
ui-capture
Capture screenshots or visual snapshots.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
inline | boolean | |
localPath | string | |
maxDimension | number | Max image dimension in pixels (default: 800). Higher = better quality, more tokens. |
raw | boolean | Skip scaling, full device resolution. |