Devilge
What it does
Android/KMM MCP server: logcat, ADB device control, Compose previews, network, Maestro flows.
- Connects 내 컴퓨터에서 실행
- Account or key Needs DEVILGE_ANDROID_PROJECT_ROOT
- Category 개발자 도구
설치
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
검사 2/3 통과 · 내 컴퓨터에서 실행돼요
먼저: 어떤 AI를 쓰시나요?
쓰는 앱을 고르면 아래에 단계가 나옵니다.
Claude에 연결할 수 있지만 먼저 준비가 필요해요
Devilge 키가 필요해요 (제작자 사이트에서 만들기) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
Devilge에 가입하고 키 만들기
제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.
키 받는 방법은 아래 제작자 README에 있어요
컴퓨터용 Claude 앱 설정 파일 열기
SettingsDeveloperEdit Config
이 설정을 붙여 넣고 저장
{ "mcpServers": { "devilge": { "command": "npx", "args": [ "-y", "devilge" ], "env": { "DEVILGE_ANDROID_PROJECT_ROOT": "your-value", "DEVILGE_OUTPUTS_ROOT": "your-value", "DEVILGE_DEFAULT_DEVICE_SERIAL": "your-value", "DEVILGE_FLOWS_ROOT": "your-value", "DEVILGE_MAESTRO_BIN_PATH": "your-value", "DEVILGE_ALLOW_FLOW_SCRIPTS": "your-value", "DEVILGE_HTTP_LOG_TAGS": "your-value", "DEVILGE_HTTP_LOG_FORMAT": "your-value" } } } }키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요
Claude를 끄고 다시 열기
해 보기
Devilge을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude가 Devilge을 쓰고 있다고 하거나 답에 Devilge 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
ChatGPT는 아직 Devilge에 연결할 수 없어요
Devilge는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요
대신 이렇게 할 수 있어요
A · Devilge에 연결되는 앱 쓰기
- Devilge 키가 필요해요 (제작자 사이트에서 만들기) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
- Devilge 키가 필요해요 (제작자 사이트에서 만들기) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
- Devilge 키가 필요해요 (제작자 사이트에서 만들기) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
- Devilge 키가 필요해요 (제작자 사이트에서 만들기) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
B · 개발자 도구에서 ChatGPT에 연결되는 다른 서버
같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code에 연결할 수 있지만 먼저 준비가 필요해요
Devilge 키가 필요해요 (제작자 사이트에서 만들기) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
Devilge에 가입하고 키 만들기
제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.
키 받는 방법은 아래 제작자 README에 있어요
터미널 열기
Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기
이 명령을 붙여 넣고 Enter
claude mcp add --scope user devilge --env DEVILGE_ANDROID_PROJECT_ROOT=your-value --env DEVILGE_OUTPUTS_ROOT=your-value --env DEVILGE_DEFAULT_DEVICE_SERIAL=your-value --env DEVILGE_FLOWS_ROOT=your-value --env DEVILGE_MAESTRO_BIN_PATH=your-value --env DEVILGE_ALLOW_FLOW_SCRIPTS=your-value --env DEVILGE_HTTP_LOG_TAGS=your-value --env DEVILGE_HTTP_LOG_FORMAT=your-value -- npx -y devilgeEnter 전에 “your-value”를 내 키로 바꾸세요
키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요
Claude Code에서 /mcp 입력
Devilge이 목록에 있고 연결됨으로 보이면 돼요
해 보기
Devilge을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude Code가 Devilge을 쓰고 있다고 하거나 답에 Devilge 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Cursor에 연결할 수 있지만 먼저 준비가 필요해요
Devilge 키가 필요해요 (제작자 사이트에서 만들기) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
Devilge에 가입하고 키 만들기
제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.
키 받는 방법은 아래 제작자 README에 있어요
키 입력
Devilge 설정에서 DEVILGE_ANDROID_PROJECT_ROOT, DEVILGE_OUTPUTS_ROOT, DEVILGE_DEFAULT_DEVICE_SERIAL, DEVILGE_FLOWS_ROOT, DEVILGE_MAESTRO_BIN_PATH, DEVILGE_ALLOW_FLOW_SCRIPTS, DEVILGE_HTTP_LOG_TAGS, DEVILGE_HTTP_LOG_FORMAT가 비어 있어요. 내 키를 넣고 저장하세요
키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요
Cursor에서 AI 채팅을 Agent 모드로 열기
해 보기
Devilge을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Cursor가 Devilge을 쓰고 있다고 하거나 답에 Devilge 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
VS Code에 연결할 수 있지만 먼저 준비가 필요해요
Devilge 키가 필요해요 (제작자 사이트에서 만들기) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
Devilge에 가입하고 키 만들기
제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.
키 받는 방법은 아래 제작자 README에 있어요
키 입력
Devilge 설정에서 DEVILGE_ANDROID_PROJECT_ROOT, DEVILGE_OUTPUTS_ROOT, DEVILGE_DEFAULT_DEVICE_SERIAL, DEVILGE_FLOWS_ROOT, DEVILGE_MAESTRO_BIN_PATH, DEVILGE_ALLOW_FLOW_SCRIPTS, DEVILGE_HTTP_LOG_TAGS, DEVILGE_HTTP_LOG_FORMAT가 비어 있어요. 내 키를 넣고 저장하세요
키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요
VS Code에서 AI 채팅을 Agent 모드로 열기
해 보기
Devilge을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ VS Code가 Devilge을 쓰고 있다고 하거나 답에 Devilge 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요
JSON 설정은 아래 “개발자용”에 있어요
개발자용: 터미널 명령과 JSON 설정
컴퓨터에 설치
Claude Code
claude mcp add --scope user devilge --env DEVILGE_ANDROID_PROJECT_ROOT=your-value --env DEVILGE_OUTPUTS_ROOT=your-value --env DEVILGE_DEFAULT_DEVICE_SERIAL=your-value --env DEVILGE_FLOWS_ROOT=your-value --env DEVILGE_MAESTRO_BIN_PATH=your-value --env DEVILGE_ALLOW_FLOW_SCRIPTS=your-value --env DEVILGE_HTTP_LOG_TAGS=your-value --env DEVILGE_HTTP_LOG_FORMAT=your-value -- npx -y devilgeClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"devilge": {
"command": "npx",
"args": [
"-y",
"devilge"
],
"env": {
"DEVILGE_ANDROID_PROJECT_ROOT": "your-value",
"DEVILGE_OUTPUTS_ROOT": "your-value",
"DEVILGE_DEFAULT_DEVICE_SERIAL": "your-value",
"DEVILGE_FLOWS_ROOT": "your-value",
"DEVILGE_MAESTRO_BIN_PATH": "your-value",
"DEVILGE_ALLOW_FLOW_SCRIPTS": "your-value",
"DEVILGE_HTTP_LOG_TAGS": "your-value",
"DEVILGE_HTTP_LOG_FORMAT": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"devilge": {
"command": "npx",
"args": [
"-y",
"devilge"
],
"env": {
"DEVILGE_ANDROID_PROJECT_ROOT": "your-value",
"DEVILGE_OUTPUTS_ROOT": "your-value",
"DEVILGE_DEFAULT_DEVICE_SERIAL": "your-value",
"DEVILGE_FLOWS_ROOT": "your-value",
"DEVILGE_MAESTRO_BIN_PATH": "your-value",
"DEVILGE_ALLOW_FLOW_SCRIPTS": "your-value",
"DEVILGE_HTTP_LOG_TAGS": "your-value",
"DEVILGE_HTTP_LOG_FORMAT": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"devilge": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"devilge"
],
"env": {
"DEVILGE_ANDROID_PROJECT_ROOT": "your-value",
"DEVILGE_OUTPUTS_ROOT": "your-value",
"DEVILGE_DEFAULT_DEVICE_SERIAL": "your-value",
"DEVILGE_FLOWS_ROOT": "your-value",
"DEVILGE_MAESTRO_BIN_PATH": "your-value",
"DEVILGE_ALLOW_FLOW_SCRIPTS": "your-value",
"DEVILGE_HTTP_LOG_TAGS": "your-value",
"DEVILGE_HTTP_LOG_FORMAT": "your-value"
}
}
}
}직접 입력할 값
DEVILGE_ANDROID_PROJECT_ROOT필수 envAbsolute path to the Android/KMM project root that devilge inspects (Gradle modules, source files, build outputs).DEVILGE_OUTPUTS_ROOTenvDirectory where devilge writes screenshots and UI dumps. Defaults to /.devilge-outputs/.DEVILGE_DEFAULT_DEVICE_SERIALenvDefault ADB serial used when a tool does not specify one. Useful when several devices/emulators are attached.DEVILGE_FLOWS_ROOTenvDirectory containing Maestro YAML flows. Defaults to /devilge-flows/.DEVILGE_MAESTRO_BIN_PATHenvAbsolute path to the Maestro binary. If unset, devilge resolves it from PATH; if absent, Maestro tools degrade gracefully.DEVILGE_ALLOW_FLOW_SCRIPTSenvSet to 'true' to allow Maestro flows containing 'runScript:' blocks. Default is false; flows with scripts are rejected.DEVILGE_HTTP_LOG_TAGSenvComma-separated logcat tags scanned for HTTP traffic. Defaults to 'HttpClient,OkHttp' (covers Ktor + OkHttp/Retrofit).DEVILGE_HTTP_LOG_FORMATenvHTTP log parser to use: 'auto' (default), 'ktor', or 'okhttp'.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
한눈에 보기
어떤 앱에서 쓸 수 있나요
이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
할 수 있는 일
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
기본 점검i
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 12일 점검
- ✓ 통과
제작자와 저장소 일치
레지스트리 이름이 GitHub 계정 Yercko 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
- ! 주의
계속 관리되고 있음
코드 마지막 변경: 6개월 전, 6개월 넘게 지났어요
- ✓ 통과
라이선스 있음
MIT 사용
- – 해당 없음
엔드포인트 응답
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
- – 해당 없음
OAuth로 로그인
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
- … 아직 점검 안 함
도구 설명에 숨겨진 지시 없음
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
토론
질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.
사용자 리뷰
아직 리뷰가 없어요
개발자 도구 카테고리의 다른 서버와 비교i
- 이 카테고리의 다른 서버 5788개 중 0%보다 스타가 많아요
- 이 카테고리의 다른 서버 5788개 중 11%보다 최근에 레지스트리에 공개됐어요
- 기본 점검 결과가 이 카테고리의 다른 서버 5788개 중 36%와 같거나 더 좋아요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
자주 묻는 질문
Devilge, 안전한가요?
해당하는 기본 점검 3개 중 2개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
어떤 키나 코드가 필요한가요?
입력해야 할 값: DEVILGE_ANDROID_PROJECT_ROOT
내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
아직 관리되고 있나요?
GitHub 저장소는 마지막으로 6개월 전 변경됐고, 최신 버전(0.2.3)은 6개월 전 레지스트리에 올라왔어요.
어떤 앱에서 쓸 수 있나요?
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리의 다른 것
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
제작자의 README
README 열기
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
devilge
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.
What's inside
| 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).
Batching for fewer permission prompts
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.
Architecture
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.
Security model
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.
- Project sandbox. All filesystem reads/writes resolve, after symlink resolution, to paths inside
DEVILGE_ANDROID_PROJECT_ROOTor the configured outputs / flows roots. Any escape throwsSecurityError. - No shell. Every external process (
adb,gradlew,maestro) is spawned withshell: falseand an argv array. Arguments are never concatenated into strings. - Strict argument allowlists. Device serials, logcat tags, package names, activity names, deep links, Gradle tasks, Maestro flow names and env-var keys all pass through
CommandSanitizerregex allowlists before reaching argv. - Resource caps. Logcat capped (5000 line ceiling), ADB stdout cap 8 MiB, Gradle output cap 256 KiB ring buffer, file scans bounded, screenshot timeout 15 s, instrumented-test timeout 30 min default cap.
- Symlinks ignored. Walkers never follow symlinks.
- Logs go to stderr only. Stdout is reserved for the MCP JSON-RPC transport.
- Errors are sanitized. Only
DevilgeErrorsubclasses surface their messages. Unexpected exceptions become an opaqueINTERNAL_ERROR. - Header redaction.
Authorization,Cookie,Set-Cookie,X-API-Keyand other well-known sensitive headers are redacted fromget_network_callsoutput. - Maestro `runScript:` denied by default. YAML flows containing
runScript:blocks (which execute JS) are rejected unless the operator explicitly setsDEVILGE_ALLOW_FLOW_SCRIPTS=true. - No frontmost-app check. devilge does NOT verify that the targeted package matches the device's foreground app. That check is a deployment concern — keep your dev device clean.
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.
Setup
cd devilge
npm install cp .env.example .env
edit .env with your project's absolute path
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
Connecting to Claude Desktop
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.
Local smoke test (MCP Inspector)
DEVILGE_ANDROID_PROJECT_ROOT=/absolute/path/to/your/android/project \
DEVILGE_KTOR_LOG_TAG=HttpClient \ npx --yes @modelcontextprotocol/inspector \ node dist/index.js
Configuration reference
| 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. |
Optional integrations
Maestro (flows)
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
or
curl -Ls "https://get.maestro.mobile.dev" | bash
Restart the inspector. Flows go in /devilge-flows/ .yaml. Example:
appId: com.example.your.app
- launchApp: clearState: true
- tapOn: "Email"
- inputText: ${EMAIL}
- tapOn: "Password"
- inputText: ${PASSWORD}
- tapOn: "Sign in"
- assertVisible: "Home"
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.
Headless Compose preview rendering (recipe, no devilge tool)
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.
Recommended inner-loop workflow
1. run_gradle_task ":composeApp:assembleDebug" # build once at start
- install_apk { "module": ":composeApp" } # ~5-8 s vs Gradle's 30-60 s
- launch_app { "packageName": "...", "clean": true }
- tap_text / set_text / wait_for_text # navigate to the screen
- take_screenshot # confirm visual state
- get_app_errors { "followMs": 10000 } # capture errors as they happen
- get_network_calls # verify HTTP requests
- on bug → edit code → back to step 1 (Gradle is incremental, fast)
For recurring navigation paths (login, search, etc.), capture once as a Maestro flow and replay with one tool call.
Backlog (not committed, lowest priority)
- Compose Live Edit MCP — true HMR for Android Compose. Major project (~2-3 months MVP, JVMTI agent + bytecode transformation + protocol). Waiting for JetBrains' Compose Hot Reload to land for Android first; the wrapper would be ~1-2 weeks.
- `pull_room_database` — pull Room SQLite fr