MobiLoop
v0.1.0-alpha.15Guarded AI mobile Appium testing, security scanning, verification, and fix-retest MCP tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
code.read_file
Read a non-secret file inside workspaceRoot.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
maxBytes | number |
code.search_code
Search workspaceRoot. Uses ripgrep when available and falls back to a built-in scanner.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
glob | string | |
maxResults | number |
code.apply_patch
[approval required][workspace write][risk:dangerous] Apply a unified diff after validating all touched paths stay inside workspaceRoot and are not forbidden.
| Parameter | Type | Description |
|---|---|---|
patch * | string |
code.git_diff
Return git diff for workspaceRoot.
| Parameter | Type | Description |
|---|---|---|
staged | boolean |
code.create_branch
[approval required][workspace write][risk:dangerous] Create and checkout a guarded feature branch. Branch must match allowedBranchPattern.
| Parameter | Type | Description |
|---|---|---|
branchName * | string |
code.commit_changes
[approval required][workspace write][risk:dangerous] Commit changes only while on an allowed feature/ai branch. Optionally stage specific non-secret paths.
| Parameter | Type | Description |
|---|---|---|
message * | string | |
paths | array |
code.open_pr
[approval required][workspace write][risk:dangerous] Open a pull request with GitHub CLI from the current allowed feature branch.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
title * | string | |
base | string | |
draft | boolean |
env.preflight
Check host/project readiness for Android, iOS, Flutter, React Native, CI, or all environments.
| Parameter | Type | Description |
|---|---|---|
target | string |
env.compatibility_matrix
Return supported host/platform requirements for this MCP package.
env.ensure_appium
[approval required][workspace write][network][risk:network] Check Appium readiness, optionally install a driver and start a detached Appium server.
| Parameter | Type | Description |
|---|---|---|
address | string | |
appiumCommand | string | |
appiumHome | string | |
driverName | string | |
installDriver | boolean | |
port | number | |
serverUrl | string | |
startServer | boolean | |
timeoutMs | number | |
useNpx | boolean |
build.detect_project
Detect Flutter, React Native, or native Android project type.
build.install_dependencies
[approval required][workspace write][network][risk:dangerous] Install dependencies for the detected or specified mobile project type.
| Parameter | Type | Description |
|---|---|---|
kind | string |
build.run_lint
[approval required][workspace write][network][risk:dangerous] Run lint/static analysis for Flutter, React Native, or Android.
| Parameter | Type | Description |
|---|---|---|
kind | string |
build.run_unit_tests
[approval required][workspace write][network][risk:dangerous] Run unit tests for Flutter, React Native, or Android.
| Parameter | Type | Description |
|---|---|---|
kind | string |
build.build_debug_apk
[approval required][workspace write][network][risk:dangerous] Build a debug APK and return discovered APK artifact paths.
| Parameter | Type | Description |
|---|---|---|
kind | string |
build.build_release_candidate
[approval required][workspace write][network][risk:dangerous] Build a release candidate APK. Release signing requirements are delegated to the target project.
| Parameter | Type | Description |
|---|---|---|
kind | string |
build.collect_build_logs
List build log artifacts emitted by this MCP server.
device.list_devices
List Android devices via adb devices -l.
device.start_emulator
[approval required][device mutation][risk:dangerous] Start an Android emulator by AVD name. Returns after launching or optional boot wait.
| Parameter | Type | Description |
|---|---|---|
avdName * | string | |
timeoutMs | number | |
waitForBoot | boolean |
device.stop_emulator
[approval required][device mutation][risk:dangerous] Stop an Android emulator through adb emu kill.
| Parameter | Type | Description |
|---|---|---|
serial | string |
device.install_app
[approval required][device mutation][risk:dangerous] Install or replace an APK on an Android device.
| Parameter | Type | Description |
|---|---|---|
apkPath * | string | |
serial | string |
device.uninstall_app
[approval required][device mutation][risk:dangerous] Uninstall an Android package from a device.
| Parameter | Type | Description |
|---|---|---|
packageName * | string | |
serial | string |
device.clear_app_data
[approval required][device mutation][risk:dangerous] Clear app data for an Android package.
| Parameter | Type | Description |
|---|---|---|
packageName * | string | |
serial | string |
device.grant_permissions
[approval required][device mutation][risk:dangerous] Grant one or more Android runtime permissions to a package.
| Parameter | Type | Description |
|---|---|---|
packageName * | string | |
permissions * | array | |
serial | string |
device.capture_screenshot
Capture a PNG screenshot from an Android device into artifacts.
| Parameter | Type | Description |
|---|---|---|
prefix | string | |
serial | string |
device.pull_logs
Pull Android logcat into artifacts. Optionally filter by package pid when available.
| Parameter | Type | Description |
|---|---|---|
clearAfter | boolean | |
outputPath | string | |
packageName | string | |
serial | string |
ios.list_simulators
List available iOS simulators via xcrun simctl.
ios.boot_simulator
[approval required][device mutation][risk:dangerous] Boot an iOS simulator and optionally wait until boot completes.
| Parameter | Type | Description |
|---|---|---|
device * | string | |
timeoutMs | number | |
waitForBoot | boolean |
ios.shutdown_simulator
[approval required][device mutation][risk:dangerous] Shutdown an iOS simulator.
| Parameter | Type | Description |
|---|---|---|
device * | string |
ios.build_app
[device mutation][risk:device] Build an iOS simulator app with xcodebuild into MCP artifacts.
| Parameter | Type | Description |
|---|---|---|
scheme * | string | |
buildSettings | object | |
configuration | string | |
derivedDataPath | string | |
destination | string | |
project | string | |
sdk | string | |
workspace | string | |
xcodebuildArgs | array |
ios.install_app
[approval required][device mutation][risk:dangerous] Install an .app bundle on an iOS simulator.
| Parameter | Type | Description |
|---|---|---|
appPath * | string | |
device | string |
ios.launch_app
[approval required][device mutation][risk:dangerous] Launch an installed iOS simulator app by bundle id.
| Parameter | Type | Description |
|---|---|---|
bundleId * | string | |
device | string | |
terminateRunning | boolean |
ios.capture_screenshot
Capture an iOS simulator screenshot into artifacts.
| Parameter | Type | Description |
|---|---|---|
device | string | |
prefix | string |
ios.collect_logs
Collect recent simulator logs into artifacts.
| Parameter | Type | Description |
|---|---|---|
device | string | |
last | string | |
predicate | string | |
prefix | string |
appium.create_session
[approval required][device mutation][risk:dangerous] Create an Appium session. Pass W3C capabilities or raw capabilities object.
| Parameter | Type | Description |
|---|---|---|
capabilities * | object | |
serverUrl | string |
appium.delete_session
[approval required][device mutation][risk:dangerous] Delete an Appium session.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | |
serverUrl | string |
appium.observe_screen
Capture screenshot and page source for the current Appium session, optionally waiting for app UI readiness.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | |
minWaitMs | number | |
prefix | string | |
serverUrl | string | |
stableMs | number | |
timeoutMs | number | |
waitForAnyText | array | |
waitForPackageIdle | boolean |
appium.get_page_source
Return raw Appium page source XML.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | |
serverUrl | string |
appium.get_accessibility_tree
Return a compact accessibility summary parsed from page source.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | |
serverUrl | string |
appium.tap_by_text
[approval required][device mutation][risk:dangerous] Tap a visible element by text with exact-first matching before contains fallback.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | |
text * | string | |
matchMode | string | |
serverUrl | string | |
timeoutMs | number |
appium.tap_by_accessibility_id
[approval required][device mutation][risk:dangerous] Tap by accessibility id.
| Parameter | Type | Description |
|---|---|---|
accessibilityId * | string | |
sessionId * | string | |
serverUrl | string |
appium.tap_by_resource_id
[approval required][device mutation][risk:dangerous] Tap by Android resource id or Appium id locator.
| Parameter | Type | Description |
|---|---|---|
resourceId * | string | |
sessionId * | string | |
serverUrl | string |
appium.tap_coordinates
[approval required][device mutation][risk:dangerous] Tap screen coordinates. Use only when semantic locators are unavailable.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | |
x * | number | |
y * | number | |
serverUrl | string |
appium.hide_keyboard
[approval required][device mutation][risk:dangerous] Hide a visible software keyboard and verify it is hidden; never sends a generic back action.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | |
serverUrl | string |
appium.type_text
[approval required][device mutation][risk:dangerous] Type text into an element located by accessibility id, id, xpath, text, or native selector.
| Parameter | Type | Description |
|---|---|---|
locator * | object | |
sessionId * | string | |
text * | string | |
clearFirst | boolean | |
mode | string | |
serverUrl | string |
appium.swipe
[approval required][device mutation][risk:dangerous] Perform a touch swipe by coordinates.
| Parameter | Type | Description |
|---|---|---|
endX * | number | |
endY * | number | |
sessionId * | string | |
startX * | number | |
startY * | number | |
durationMs | number | |
serverUrl | string |
appium.go_back
[approval required][device mutation][risk:dangerous] Send Android/iOS back navigation to the Appium session.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | |
serverUrl | string |
appium.wait_for_visible
Wait until a locator becomes visible.
| Parameter | Type | Description |
|---|---|---|
locator * | object | |
sessionId * | string | |
serverUrl | string | |
timeoutMs | number |
appium.assert_visible
Assert that a locator is visible. Returns passed false instead of throwing when not visible.
| Parameter | Type | Description |
|---|---|---|
locator * | object | |
sessionId * | string | |
serverUrl | string | |
timeoutMs | number |
appium.assert_not_visible
Assert that a locator is not visible within timeout.
| Parameter | Type | Description |
|---|---|---|
locator * | object | |
sessionId * | string | |
serverUrl | string | |
timeoutMs | number |
verify.assert_screen_contains_text
Assert current Appium page source contains expected text.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | |
text * | string | |
serverUrl | string |
verify.assert_no_crash_in_logcat
Assert logcat or a saved log file has no crash signatures.
| Parameter | Type | Description |
|---|---|---|
logPath | string | |
packageName | string | |
serial | string |
verify.assert_appium_session_healthy
Assert the Appium session and page source are reachable, distinguishing automation failures from app crashes.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | |
serverUrl | string |
verify.assert_api_response
[network][risk:network] Call an API and assert status and optional body substrings.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
body | string | |
bodyContains | array | |
expectedStatus | number | |
headers | object | |
method | string | |
timeoutMs | number |
verify.collect_evidence
Collect screenshot, page source, and logcat evidence where available.
| Parameter | Type | Description |
|---|---|---|
packageName | string | |
prefix | string | |
serial | string | |
serverUrl | string | |
sessionId | string |
verify.assert_accessibility_labels
Assert clickable or input-like nodes have a text, label, name, content-desc, or resource-id.
| Parameter | Type | Description |
|---|---|---|
serverUrl | string | |
sessionId | string | |
sourcePath | string |
verify.assert_screenshot_diff
Compare two PNG screenshots and assert the pixel diff ratio is at or below maxDiffRatio.
| Parameter | Type | Description |
|---|---|---|
actualPath * | string | |
baselinePath * | string | |
maxDiffRatio | number | |
threshold | number |
verify.assert_sqlite_query
Run a read-only sqlite query and assert exact output or expected substring.
| Parameter | Type | Description |
|---|---|---|
databasePath * | string | |
query * | string | |
expectedOutput | string | |
outputContains | string |
verify.hash_artifact
Compute SHA-256 for a workspace artifact or evidence file.
| Parameter | Type | Description |
|---|---|---|
path * | string |
flow.analyze_from_code
Infer mobile screens, routes, transitions, and visible text candidates from source code.
| Parameter | Type | Description |
|---|---|---|
includeTests | boolean | |
maxFiles | number |
flow.generate_test_scenarios
Generate candidate mobile E2E scenarios from static source-flow analysis for an AI agent to execute/refine.
| Parameter | Type | Description |
|---|---|---|
goal | string | |
includeNegativeCases | boolean | |
includeTests | boolean | |
maxFiles | number | |
maxScenarios | number |
flow.run_script
[approval required][device mutation][risk:dangerous] Run a high-level JSON flow DSL over an Appium session: waitText, tapText, type, hideKeyboard, assertText, observe, collectEvidence, back, swipe, checkpoint.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | |
steps * | array | |
delayMs | number | |
prefix | string | |
serverUrl | string | |
stopOnFailure | boolean | |
testName | string |
flow.record_checkpoint
[workspace write][risk:write] Record a runtime screen checkpoint from Appium source/session and optional action needed to reach the next checkpoint.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
testName * | string | |
actionToNext | object | |
checkpointId | string | |
order | number | |
prefix | string | |
screenshotPath | string | |
serverUrl | string | |
sessionId | string | |
source | string | |
sourcePath | string |
flow.record_test_run
[workspace write][risk:write] Record the ordered checkpoint ids for a test run. The latest passed run becomes the default replay path.
| Parameter | Type | Description |
|---|---|---|
checkpointIds * | array | |
status * | string | |
testName * | string | |
artifacts | array | |
finishedAt | string | |
runId | string | |
startedAt | string |
flow.plan_replay
Match the current screen against recorded checkpoints and return Appium actions needed to reach a target checkpoint.
| Parameter | Type | Description |
|---|---|---|
minimumScore | number | |
serverUrl | string | |
sessionId | string | |
source | string | |
sourcePath | string | |
targetCheckpointId | string | |
testName | string |
flow.replay_to_checkpoint
[approval required][device mutation][risk:dangerous] Auto-advance an Appium session from a previously seen screen to the latest or requested checkpoint.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | |
delayMs | number | |
dryRun | boolean | |
minimumScore | number | |
serverUrl | string | |
targetCheckpointId | string | |
testName | string |
flow.read_memory
Read recorded flow checkpoints, runs, and code-flow analyses.
flow.clear_memory
[approval required][workspace write][risk:dangerous] Clear flow memory under artifactsDir. This does not modify app source code.
| Parameter | Type | Description |
|---|---|---|
confirm * | string |
loop.record_iteration
[workspace write][risk:write] Append one build-test-verify loop iteration as JSONL evidence.
| Parameter | Type | Description |
|---|---|---|
goal * | string | |
iteration * | number | |
test_result * | string | |
artifacts | array | |
build | string | |
device | string | |
failure | string | |
fix | string | |
retest | string | |
root_cause | string |
loop.generate_report
[workspace write][risk:write] Generate a Markdown report from recorded iterations.
| Parameter | Type | Description |
|---|---|---|
finalStatus | string | |
summary | string | |
title | string |
loop.read_iterations
Read recorded loop iterations.
ci.collect_artifact_manifest
Create a JSON manifest of files under the MCP artifacts directory.
ci.write_github_step_summary
[workspace write][risk:write] Append Markdown to GitHub Actions step summary or a workspace fallback file.
| Parameter | Type | Description |
|---|---|---|
markdown | string | |
sourcePath | string |
ci.comment_pr
[approval required][workspace write][network][risk:dangerous] Create a GitHub PR comment through gh. Uses current PR when prNumber is omitted.
| Parameter | Type | Description |
|---|---|---|
body | string | |
bodyPath | string | |
prNumber | string |
ci.create_github_annotations
[workspace write][risk:write] Emit GitHub Actions warning/error annotations from findings.
| Parameter | Type | Description |
|---|---|---|
findings * | array | |
level | string | |
title | string |
orchestrator.run_android_validation_loop
[approval required][device mutation][risk:dangerous] Run build -> install -> Appium scripted test -> verification -> evidence -> loop record for Android.
| Parameter | Type | Description |
|---|---|---|
goal * | string | |
apiChecks | array | |
apkPath | string | |
appiumCapabilities | object | |
appiumSteps | array | |
avdName | string | |
buildDebugApk | boolean | |
clearAppData | boolean | |
collectEvidence | boolean | |
expectedTexts | array | |
flowReplayBeforeSteps | boolean | |
flowReplayMinimumScore | number | |
flowReplayTargetCheckpointId | string | |
flowReplayTestName | string | |
installDependencies | boolean | |
iterationOffset | number | |
kind | string | |
maxTestIterations | number | |
packageName | string | |
runLint | boolean | |
runUnitTests | boolean | |
serial | string |
orchestrator.run_ios_validation_loop
[approval required][device mutation][risk:dangerous] Run iOS simulator build -> install/launch -> Appium XCUITest scripted test -> verification -> evidence -> loop record.
| Parameter | Type | Description |
|---|---|---|
goal * | string | |
appPath | string | |
appiumCapabilities | object | |
appiumSteps | array | |
bootSimulator | boolean | |
buildIosApp | boolean | |
buildSettings | object | |
bundleId | string | |
captureSimulatorScreenshot | boolean | |
collectEvidence | boolean | |
collectSimulatorLogs | boolean | |
configuration | string | |
derivedDataPath | string | |
destination | string | |
device | string | |
evidenceTimeoutMs | number | |
expectedTexts | array | |
flowReplayBeforeSteps | boolean | |
flowReplayMinimumScore | number | |
flowReplayTargetCheckpointId | string | |
flowReplayTestName | string | |
installApp | boolean | |
installDependencies | boolean | |
iterationOffset | number | |
kind | string | |
launchApp | boolean | |
maxTestIterations | number | |
project | string | |
runLint | boolean | |
runUnitTests | boolean | |
scheme | string | |
sdk | string | |
simulatorDevice | string | |
simulatorLogLast | string | |
simulatorLogPredicate | string | |
workspace | string | |
xcodebuildArgs | array |
security.scan_source
Scan mobile source and platform configuration for deterministic security signals without running target code.
| Parameter | Type | Description |
|---|---|---|
maxFiles | number | |
paths | array |
security.generate_test_plan
Generate a deterministic mobile security test plan from a source-scan report for an AI or engineer to execute.
| Parameter | Type | Description |
|---|---|---|
reportPath * | string |
security.compare_scans
Re-run the deterministic source scan and compare it with a baseline report after fixes.
| Parameter | Type | Description |
|---|---|---|
baselinePath * | string | |
maxFiles | number | |
paths | array |
security.release_gate
Evaluate a source-scan report against a severity threshold before release or merge.
| Parameter | Type | Description |
|---|---|---|
reportPath * | string | |
failAtOrAbove | string |
policy.list_tools
List effective tool policy metadata for MCP clients and approval gates.
| Parameter | Type | Description |
|---|---|---|
includeDescriptions | boolean | |
requiresApproval | boolean | |
riskLevel | string | |
toolName | string |