# devilge [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/Yercko/devilge  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/devilge

## Description
Android/KMM MCP server: logcat, ADB device control, Compose previews, network, Maestro flows.

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## What devilge MCP server does

The devilge MCP server exposes 33 MCP tools for working with an Android or Kotlin Multiplatform project and a connected Android device. Its tools cover project inspection, Gradle execution, device observation, application lifecycle management, UI input, test execution, and optional Maestro flows.

Read-oriented tools can list devices, retrieve logcat, inspect installed packages, collect app errors, inspect network calls, and read Compose preview information. Project tools return the project structure, scan Compose previews, and run Gradle tasks. Build output is processed for compiler, KSP, JUnit, and Lint results.

Device-driving tools can take screenshots, dump the UI hierarchy, send taps, text, keys, and swipes, and enable input visualization. Semantic locators such as text and resource IDs provide an alternative to coordinate-based interaction. Lifecycle tools install APKs, launch or stop packages, clear app data, and run instrumented tests.

## How it works

The devilge MCP server runs on the developer’s machine and shells out to ADB, Gradle, and, when configured, Maestro. A local MCP client starts the compiled Node.js entry point, while the server wires its adapters and tool handlers together. Filesystem access is restricted to the configured project, output, and flow roots after symlink resolution.

The `batch` tool can chain up to 20 non-nested actions into one MCP request. It stops when an action fails and reports the failed step. Destructive operations such as clearing app data and installing an APK cannot be included in a batch. Tool annotations identify read-only, idempotent, destructive, and open-world behavior for hosts that use those hints.

## Setup and configuration

Install dependencies, copy `.env.example` to `.env`, set an absolute Android project path, and run the build. The required variable is `DEVILGE_ANDROID_PROJECT_ROOT`. `DEVILGE_ADB_PATH` can pin the ADB executable, and `DEVILGE_DEFAULT_DEVICE_SERIAL` selects a default device when several are connected.

`DEVILGE_KTOR_LOG_TAG` and `DEVILGE_HTTP_LOG_FORMAT` configure network-log parsing. Screenshots and UI dumps default to a project-local outputs directory, while Maestro YAML files use a project-local flows directory. Maestro is optional; its tools report that the dependency is unavailable when no executable is found. Flow scripts remain disabled unless `DEVILGE_ALLOW_FLOW_SCRIPTS=true` is set.

The compiled server can be registered with Claude Desktop using a Node command and the path to `dist/index.js`. The repository also documents a local MCP Inspector command for smoke testing.

## Tools and capabilities

The devilge MCP server groups its tools into these areas:

- Device reads: devices, logcat, app errors, packages, network calls, and Compose previews.
- Project operations: structure inspection, preview scanning, and Gradle tasks.
- UI control: screenshots, UI dumps, input events, semantic locators, and waits.
- Lifecycle and tests: launch, stop, data clearing, APK installation, and instrumented tests.
- Maestro: list, validate, and run reusable YAML flows when installed.
- Composition: batch multiple supported calls into one request.

## Limitations and notes

Use the server only with a development emulator or wiped test device. It exposes operations that can alter device state, including input automation, installation, force-stop, and data deletion, and does not verify that the target package is the foreground application.

External commands are launched without a shell, arguments pass through allowlists, and output has size or time limits. Network inspection redacts common sensitive headers. Log messages go to stderr so stdout remains available for MCP JSON-RPC traffic. Maestro `runScript:` blocks are rejected by default because they can execute JavaScript.

_Full upstream README: https://allmcps.com/mcp/devilge/readme_

