GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Android/KMM MCP server: logcat, ADB device control, Compose previews, network, Maestro flows.
Pick the AI app you use, then copy the settings.
Passed 2/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
1 setting(s) to fill in (DEVILGE_ANDROID_PROJECT_ROOT) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Devilge for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "devilge": { "command": "npx", "args": [ "-y", "devilge" ], "env": { "DEVILGE_ANDROID_PROJECT_ROOT": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DEVILGE_ANDROID_PROJECT_ROOT, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Devilge tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
DEVILGE_ANDROID_PROJECT_ROOT Absolute path to the Android/KMM project root that devilge inspects (Gradle modules, source files, build outputs).Descriptions are as written by the maker.
SettingsDeveloperEdit Config
{
"mcpServers": {
"devilge": {
"command": "npx",
"args": [
"-y",
"devilge"
],
"env": {
"DEVILGE_ANDROID_PROJECT_ROOT": "your-value"
}
}
}
}Use Devilge and tell me what you can do for me, then show me one thing✓ If Claude says it is using Devilge or shows a Devilge tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
DEVILGE_OUTPUTS_ROOT Directory where devilge writes screenshots and UI dumps. Defaults to /.devilge-outputs/.DEVILGE_DEFAULT_DEVICE_SERIAL Default ADB serial used when a tool does not specify one. Useful when several devices/emulators are attached.DEVILGE_FLOWS_ROOT Directory containing Maestro YAML flows. Defaults to /devilge-flows/.DEVILGE_MAESTRO_BIN_PATH Absolute path to the Maestro binary. If unset, devilge resolves it from PATH; if absent, Maestro tools degrade gracefully.DEVILGE_ALLOW_FLOW_SCRIPTS Set to 'true' to allow Maestro flows containing 'runScript:' blocks. Default is false; flows with scripts are rejected.DEVILGE_HTTP_LOG_TAGS Comma-separated logcat tags scanned for HTTP traffic. Defaults to 'HttpClient,OkHttp' (covers Ktor + OkHttp/Retrofit).DEVILGE_HTTP_LOG_FORMAT HTTP log parser to use: 'auto' (default), 'ktor', or 'okhttp'.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Devilge yet
Devilge runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Devilge
B · Others in Developer tools that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
1 setting(s) to fill in (DEVILGE_ANDROID_PROJECT_ROOT) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Devilge for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user devilge --env DEVILGE_ANDROID_PROJECT_ROOT=your-value -- npx -y devilge 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DEVILGE_ANDROID_PROJECT_ROOT, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Devilge tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
DEVILGE_ANDROID_PROJECT_ROOT Absolute path to the Android/KMM project root that devilge inspects (Gradle modules, source files, build outputs).Descriptions are as written by the maker.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user devilge --env DEVILGE_ANDROID_PROJECT_ROOT=your-value -- npx -y devilgeYou should see Devilge listed as connected
Use Devilge and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Devilge or shows a Devilge tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
DEVILGE_OUTPUTS_ROOT Directory where devilge writes screenshots and UI dumps. Defaults to /.devilge-outputs/.DEVILGE_DEFAULT_DEVICE_SERIAL Default ADB serial used when a tool does not specify one. Useful when several devices/emulators are attached.DEVILGE_FLOWS_ROOT Directory containing Maestro YAML flows. Defaults to /devilge-flows/.DEVILGE_MAESTRO_BIN_PATH Absolute path to the Maestro binary. If unset, devilge resolves it from PATH; if absent, Maestro tools degrade gracefully.DEVILGE_ALLOW_FLOW_SCRIPTS Set to 'true' to allow Maestro flows containing 'runScript:' blocks. Default is false; flows with scripts are rejected.DEVILGE_HTTP_LOG_TAGS Comma-separated logcat tags scanned for HTTP traffic. Defaults to 'HttpClient,OkHttp' (covers Ktor + OkHttp/Retrofit).DEVILGE_HTTP_LOG_FORMAT HTTP log parser to use: 'auto' (default), 'ktor', or 'okhttp'.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
1 setting(s) to fill in (DEVILGE_ANDROID_PROJECT_ROOT) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Devilge for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "devilge": { "command": "npx", "args": [ "-y", "devilge" ], "env": { "DEVILGE_ANDROID_PROJECT_ROOT": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DEVILGE_ANDROID_PROJECT_ROOT, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Devilge tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
DEVILGE_ANDROID_PROJECT_ROOT Absolute path to the Android/KMM project root that devilge inspects (Gradle modules, source files, build outputs).Descriptions are as written by the maker.
In the Devilge settings, DEVILGE_ANDROID_PROJECT_ROOT is empty; add your key and save
Use Devilge and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Devilge or shows a Devilge tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
DEVILGE_OUTPUTS_ROOT Directory where devilge writes screenshots and UI dumps. Defaults to /.devilge-outputs/.DEVILGE_DEFAULT_DEVICE_SERIAL Default ADB serial used when a tool does not specify one. Useful when several devices/emulators are attached.DEVILGE_FLOWS_ROOT Directory containing Maestro YAML flows. Defaults to /devilge-flows/.DEVILGE_MAESTRO_BIN_PATH Absolute path to the Maestro binary. If unset, devilge resolves it from PATH; if absent, Maestro tools degrade gracefully.DEVILGE_ALLOW_FLOW_SCRIPTS Set to 'true' to allow Maestro flows containing 'runScript:' blocks. Default is false; flows with scripts are rejected.DEVILGE_HTTP_LOG_TAGS Comma-separated logcat tags scanned for HTTP traffic. Defaults to 'HttpClient,OkHttp' (covers Ktor + OkHttp/Retrofit).DEVILGE_HTTP_LOG_FORMAT HTTP log parser to use: 'auto' (default), 'ktor', or 'okhttp'.Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
1 setting(s) to fill in (DEVILGE_ANDROID_PROJECT_ROOT) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Devilge for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "devilge": { "type": "stdio", "command": "npx", "args": [ "-y", "devilge" ], "env": { "DEVILGE_ANDROID_PROJECT_ROOT": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DEVILGE_ANDROID_PROJECT_ROOT, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Devilge tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
DEVILGE_ANDROID_PROJECT_ROOT Absolute path to the Android/KMM project root that devilge inspects (Gradle modules, source files, build outputs).Descriptions are as written by the maker.
In the Devilge settings, DEVILGE_ANDROID_PROJECT_ROOT is empty; add your key and save
Use Devilge and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Devilge or shows a Devilge tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
DEVILGE_OUTPUTS_ROOT Directory where devilge writes screenshots and UI dumps. Defaults to /.devilge-outputs/.DEVILGE_DEFAULT_DEVICE_SERIAL Default ADB serial used when a tool does not specify one. Useful when several devices/emulators are attached.DEVILGE_FLOWS_ROOT Directory containing Maestro YAML flows. Defaults to /devilge-flows/.DEVILGE_MAESTRO_BIN_PATH Absolute path to the Maestro binary. If unset, devilge resolves it from PATH; if absent, Maestro tools degrade gracefully.DEVILGE_ALLOW_FLOW_SCRIPTS Set to 'true' to allow Maestro flows containing 'runScript:' blocks. Default is false; flows with scripts are rejected.DEVILGE_HTTP_LOG_TAGS Comma-separated logcat tags scanned for HTTP traffic. Defaults to 'HttpClient,OkHttp' (covers Ktor + OkHttp/Retrofit).DEVILGE_HTTP_LOG_FORMAT HTTP log parser to use: 'auto' (default), 'ktor', or 'okhttp'.Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user devilge --env DEVILGE_ANDROID_PROJECT_ROOT=your-value -- npx -y devilgeClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"devilge": {
"command": "npx",
"args": [
"-y",
"devilge"
],
"env": {
"DEVILGE_ANDROID_PROJECT_ROOT": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"devilge": {
"command": "npx",
"args": [
"-y",
"devilge"
],
"env": {
"DEVILGE_ANDROID_PROJECT_ROOT": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"devilge": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"devilge"
],
"env": {
"DEVILGE_ANDROID_PROJECT_ROOT": "your-value"
}
}
}
}DEVILGE_ANDROID_PROJECT_ROOT required envDEVILGE_OUTPUTS_ROOT envDEVILGE_DEFAULT_DEVICE_SERIAL envDEVILGE_FLOWS_ROOT envDEVILGE_MAESTRO_BIN_PATH envDEVILGE_ALLOW_FLOW_SCRIPTS envDEVILGE_HTTP_LOG_TAGS envDEVILGE_HTTP_LOG_FORMAT envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 15, 2026
The registry name was verified with the GitHub account Yercko, which owns the repo
Code last changed 6 months ago, more than 6 months ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Not checked yet
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 6 months ago, and the latest version (0.2.3) reached the registry 6 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Cloudflare MCP servers
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Model Context Protocol (MCP) server that lets an AI assistant — typically Claude — develop, drive, and observe an Android / KMM app end-to-end.
devilge exposes 33 tools that cover the full inner loop: read the project, build it, install it, launch it, drive its UI, capture errors and network traffic, run tests. Anything an LLM coding agent would otherwise have to ask the user to do manually.
| Category | Tools | Purpose |
|---|---|---|
| Device read (8) | list_devices, get_logcat, get_app_errors, inspect_packages, resize_logcat_buffer, get_network_calls, get_compose_preview_source, list_compose_previews | Observe device + project state |
| Project static (3) | get_project_structure, get_compose_previews_tree, run_gradle_task (the latter wraps build-result parsers for kotlinc/javac/ksp errors, JUnit XML, Lint XML) | Inspect Gradle/KMM project + run any Gradle task |
| Device drive (7) | take_screenshot, dump_ui, input_tap, input_text, input_key, input_swipe, set_input_visualization | Manipulate the running app |
| Locators + waits (6) | tap_text, tap_resource_id, set_text, wait_for_text, wait_for_resource_id, wait_for_idle | Semantic UI navigation, no coordinate magic |
| Lifecycle (5) | launch_app, force_stop_app, clear_app_data, install_apk, run_instrumented_tests | Cold-start app, run Espresso tests, fast install |
| Maestro flows (optional) (3) | run_maestro_flow, list_maestro_flows, validate_maestro_flow | Reusable YAML flows for recurring navigation |
| Composition (1) | batch | Chain multiple devilge tools in one round trip |
215 unit tests in Vitest, all green. Strict TypeScript (strict, noUncheckedIndexedAccess).
Hosts that confirm every tool call (Claude Desktop, Cowork) can become noisy when the agent walks through multi-step UI flows. devilge_batch collapses a sequence into a single MCP call so the user approves once for the whole sequence.
// Tap "Settings", wait, screenshot, tap a row, screenshot — one approval.
{ "actions": [ { "name": "devilge_tap_text", "input": { "text": "Settings" } }, { "name": "devilge_wait_for_idle", "input": { "timeoutMs": 5000 } }, { "name": "devilge_take_screenshot" }, { "name": "devilge_tap_text", "input": { "text": "Wallpaper & style" } }, { "name": "devilge_take_screenshot" } ] }
Rules: capped at 20 actions per call; cannot be nested; cannot include destructive tools (devilge_clear_app_data, devilge_install_apk) — those always require their own dedicated prompt; stops on the first error and reports which step failed.
All tools also expose MCP annotations (readOnlyHint, idempotentHint, destructiveHint, openWorldHint). Hosts that respect annotations can auto-approve safe reads and prompt only on state-changing tools.
Clean / hexagonal layering, every concern replaceable in isolation:
src/
├── config/ # Config loading, structured logger, typed errors ├── domain/ │ ├── entities/ # Pure data types │ └── ports/ # Interfaces the application talks to ├── application/ # Use cases — orchestrate ports, no IO of their own ├── infrastructure/ │ ├── adb/ # AdbAdapter, AdbAppController, runners, parsers │ ├── build/ # Gradle adapter + parsers (compile errors, JUnit, Lint) │ ├── maestro/ # Optional Maestro adapter + YAML validator │ ├── network/ # Ktor logcat parser + header sanitizer │ ├── scanners/ # ComposePreviewScanner, ProjectScanner, FileWalker │ └── security/ # PathValidator, CommandSanitizer └── presentation/ └── tools/ # MCP tool definitions (Zod schemas + handlers)
src/server.ts is the *composition root*: it constructs every concrete dependency and wires them into an McpServer. Nothing else in the codebase performs construction.
devilge runs on a developer's machine, exposes mutating tools to an LLM, and shells out to ADB and (optionally) Gradle / Maestro. It assumes the operator connects only to a dev emulator or wiped test device, never a personal device with logged-in apps.
DEVILGE_ANDROID_PROJECT_ROOT or the configured outputs / flows roots. Any escape throws SecurityError.adb, gradlew, maestro) is spawned with shell: false and an argv array. Arguments are never concatenated into strings.CommandSanitizer regex allowlists before reaching argv.DevilgeError subclasses surface their messages. Unexpected exceptions become an opaque INTERNAL_ERROR.Authorization, Cookie, Set-Cookie, X-API-Key and other well-known sensitive headers are redacted from get_network_calls output.runScript: blocks (which execute JS) are rejected unless the operator explicitly sets DEVILGE_ALLOW_FLOW_SCRIPTS=true.The MVP does include write tools (input automation, app install, data wipe, force-stop). These are gated to a dev-only device by operator policy, not by server logic.
cd devilge
npm install cp .env.example .env
npm run build
Run the tests:
npm test
Verify the build:
npm run typecheck # static type-check (no emit)
npm run build # emit dist/ npm run lint # eslint
Add an entry to your claude_desktop_config.json (path varies by OS):
{
"mcpServers": { "devilge": { "command": "node", "args": ["/absolute/path/to/devilge/dist/index.js"], "env": { "DEVILGE_ANDROID_PROJECT_ROOT": "/absolute/path/to/your/android/project", "DEVILGE_KTOR_LOG_TAG": "HttpClient" } } } }
Restart Claude Desktop. The 33 tools should appear in the tool picker.
DEVILGE_ANDROID_PROJECT_ROOT=/absolute/path/to/your/android/project \
DEVILGE_KTOR_LOG_TAG=HttpClient \ npx --yes @modelcontextprotocol/inspector \ node dist/index.js
| Variable | Required | Default | Description |
|---|---|---|---|
DEVILGE_ANDROID_PROJECT_ROOT | ✅ | — | Absolute path to the Android/KMM project. All file reads are sandboxed under this directory. |
DEVILGE_ADB_PATH | adb (from PATH) | Absolute path to the adb binary. Pinning is recommended. | |
DEVILGE_DEFAULT_DEVICE_SERIAL | — | Default serial used when a tool call omits it. Useful when several devices are attached. | |
DEVILGE_LOGCAT_MAX_LINES | 500 | Default cap for get_logcat. Hard upper bound: 5000. | |
DEVILGE_LOG_LEVEL | info | One of error, warn, info, debug. | |
DEVILGE_KTOR_LOG_TAG | HttpClient | Logcat tag the HTTP-client logger writes under. Use HttpClient for Ktor (default), OkHttp for Retrofit/OkHttp, or whatever your custom logger uses. | |
DEVILGE_HTTP_LOG_FORMAT | auto | Which parser(s) to apply. ktor, okhttp, or auto (tries both). | |
DEVILGE_OUTPUTS_ROOT | /.devilge-outputs/ | Where screenshots / UI dumps land. Add to .gitignore. | |
DEVILGE_FLOWS_ROOT | /devilge-flows/ | Where Maestro YAML flows live. | |
DEVILGE_MAESTRO_BIN_PATH | auto-detected from PATH | Absolute path to the maestro binary. Optional — Maestro tools degrade gracefully when missing. | |
DEVILGE_ALLOW_FLOW_SCRIPTS | false | Set to true to allow runScript: blocks inside Maestro YAML. Off for safety. |
Maestro is optional. Without it installed, every other devilge tool keeps working. The three flow tools (run_maestro_flow, list_maestro_flows, validate_maestro_flow) register unconditionally and return MAESTRO_NOT_INSTALLED when the binary isn't found.
To enable:
brew tap mobile-dev-inc/tap
brew install maestro
curl -Ls "https://get.maestro.mobile.dev" | bash
Restart the inspector. Flows go in /devilge-flows/ .yaml. Example:
appId: com.example.your.app
Then:
{
"name": "login_flow", "params": { "EMAIL": "user@example.com", "PASSWORD": "..." } }
MAESTRO_DISABLE_ANALYTICS=true is injected automatically. runScript: blocks are denied unless you opt in.
You can render @Preview Composables to PNG without launching the full app. devilge does NOT add a dedicated tool for this — the existing run_gradle_task plus the official Google plugin cover it cleanly, and adding a wrapper would make us depend on Gradle conventions that vary by project.
This is completely optional: if you don't add the plugin, devilge runs unchanged. You only lose this specific workflow.
To enable in your project, add to your Compose module's build.gradle.kts:
plugins {
// existing plugins... id("com.android.compose.screenshot") version "0.0.1-alpha10" }
android { experimentalProperties["android.experimental.enableScreenshotTest"] = true }
And in gradle/libs.versions.toml:
[plugins]
composeScreenshot = { id = "com.android.compose.screenshot", version = "0.0.1-alpha10" }
Once the plugin is in place, render previews from the LLM via the existing tool:
devilge_run_gradle_task {
"task": ":composeApp:validateDebugScreenshotTest" }
The PNGs land under composeApp/build/outputs/screenshotTest/.... Claude can then read them via its Read tool to verify visual output without installing the app.
1. run_gradle_task ":composeApp:assembleDebug" # build once at start
For recurring navigation paths (login, search, etc.), capture once as a Maestro flow and replay with one tool call.