replicant-mcp

v1.6.7
io.github.thecombatwombat/replicant-mcp Checked 2 days ago Published 7 months ago

Android 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.

ParameterTypeDescription
operation *string
configobject
keystringKey to clear (optional)

rtfm

Get documentation. Pass category ('build'|'adb'|'emulator'|'ui'|'cache'|'index') or tool (tool name like 'ui-query').

ParameterTypeDescription
categorystringCategory: build, adb, emulator, ui, cache, index
toolstringTool name (e.g., 'ui-query') for tool-specific docs

adb-device

Manage device connections.

ParameterTypeDescription
operation *string
deviceIdstring

adb-app

Manage applications.

ParameterTypeDescription
operation *string
apkPathstringAPK path
filterstringFilter by name (case-insensitive)
limitnumberDefault: 20, max: 100
offsetnumberPagination offset
packageNamestring

adb-logcat

Read device logs. Returns summary with logId.

ParameterTypeDescription
lines *numberDefault: 100
levelstring
packagestring
rawFilterstring
sincestringe.g., '01-20 15:30:00.000'
tagsarray

adb-shell

Execute shell commands with safety guards.

ParameterTypeDescription
command *string
maxCharsnumberTruncate output to N chars
previewCharsnumberPreview length (default: 200)
summaryOnlybooleanCompact preview only
timeoutnumberms, default: 30000, max: 120000

emulator-device

Manage Android emulators.

ParameterTypeDescription
operation *string
avdNamestring
devicestringe.g., 'pixel_7'
emulatorIdstring
snapshotNamestring
systemImagestring

gradle-build

Build. Returns summary with buildId.

ParameterTypeDescription
operation *string
flavorstring
modulestringe.g., ':app'

gradle-test

Run tests. Returns summary with testId. With baseline, auto-detects regressions.

ParameterTypeDescription
operation *string
filterstringe.g., '*LoginTest*'
modulestring
taskNamestringTask name for baseline operations. Defaults to operation name.

gradle-list

Introspect project structure.

ParameterTypeDescription
operation *string
modulestringe.g., ':app'

gradle-get-details

Fetch full output for a previous build/test by ID.

ParameterTypeDescription
detailType *string
id *string
maxCharsnumberTruncate to N chars
previewCharsnumberFor summaryOnly with detailType logs/all: preview length in characters (default: 400)
summaryOnlybooleanReturn compact summary payload for logs/tasks/all detail types (ignored for errors)

ui-query

Query app UI. Accessibility-first.

ParameterTypeDescription
operation *string
compactbooleanPaginated flat list (default: true). false for full tree.
debugboolean
gridCellnumber
gridPositionnumber
limitnumberDefault: 20
maxTiernumberMax fallback tier (1-5). Use 3 to stop before visual/grid payloads.
offsetnumber
selectorobject

ui-action

Interact with app UI: tap, input, scroll. Use selector or coords.

ParameterTypeDescription
operation *string
amountnumberScroll fraction (0-1, default: 0.5)
deviceSpacebooleanx/y in device-space (default true). Set false only for image-space coords.
directionstring
elementIndexnumber
selectorobject
textstring
xnumber
ynumber

ui-capture

Capture screenshots or visual snapshots.

ParameterTypeDescription
operation *string
inlineboolean
localPathstring
maxDimensionnumberMax image dimension in pixels (default: 800). Higher = better quality, more tokens.
rawbooleanSkip scaling, full device resolution.