Give Agent Code live knowledge of your running Android app — MCP server embedded in debug APK
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"androidclaudio": {
"args": [
"-y",
"androplaudio-setup"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Give Claude/Codex/Cursor Code instant live knowledge of your running Android app — no source files read, no credentials exposed, zero production overhead.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'androplaudio-setup' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked androplaudio-setup against OSV.dev.
Click any tool to inspect its schema.
tools_listHTTP endpoint that returns all registered groups and their callable functions
http://localhost:5173/tools/list
tools_callHTTP endpoint that calls functions on registered class instances
http://localhost:5173/tools/call
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Pi Coding Agent extension (CLI-first) — routes bash/read/grep/find/ls through lean-ctx CLI for strong token savings. Optional MCP bridge can register advanced tools.
Autonomous spec-to-product coding-agent CLI with an MCP server exposing 34 tools over stdio.
97% token reduction for AI coding sessions — zero deps, 21 languages, MCP server
App framework, testing framework, and inspector for MCP Apps.
MCP Security Weekly
Get CVE alerts and security updates for Androidclaudio and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.

Give Claude/Codex/Cursor Code instant live knowledge of your running Android app — no source files read, no credentials exposed, zero production overhead.
Claude Code connects to an MCP server embedded in your debug APK. It discovers your app's classes and public functions, calls them live on the emulator, and verifies full feature flows using intelligent mock responses. When you're ready, flip individual groups to live mode for real API testing.
Your project AndroClaudio
──────────────── ──────────────────────────────────────────
groups.json ──KSP──▶ Generated_*Registry.kt (compile time)
Application.onCreate ──────▶ MCP server starts on port 5173 (runtime)
adb forward tcp:5173 ──────▶ Claude Code calls /tools/list + /tools/call
Three components, zero production impact:
| Component | What it does | When it runs |
|---|---|---|
androplaudio-setup CLI | Scans project, writes groups.json | Once per project setup |
androplaudio-ksp | Reads groups.json, generates type-safe call registries | Compile time (KSP) |
androplaudio-core AAR | Embeds MCP server in debug APK | Debug runtime only |
debugImplementation means the AAR is completely absent from release builds — no code, no size, no overhead.
minSdk 21+1.9+1.9.23-1.0.20 or newer18+ (setup CLI, one time only)# 1. Scan your project
npx androplaudio-setup --project-dir . --output androplaudio-groups.json
# 2. Add files, configure Gradle, add one line to Application (see below)
# 3. Build
./gradlew assembleDebug
# 4. Forward port
adb forward tcp:5173 tcp:5173
# 5. Verify
curl http://localhost:5173/tools/list | jq .
Download from releases/1.0.0/ and place in your app module:
your-app/
└── app/
└── libs/
├── androplaudio-core-1.0.0.aar ← runtime MCP server (debug only)
└── androplaudio-ksp-1.0.0.jar ← KSP code generator (build time only)
app/build.gradle.kts
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("com.google.devtools.ksp") version "1.9.23-1.0.20" // add if not present
}
ksp {
// path to the groups.json you generated in the previous step
arg("androplaudio.groupsJson", "${rootDir}/androplaudio-groups.json")
}
dependencies {
// KSP processor — runs at build time only, generates call registries
ksp(files("libs/androplaudio-ksp-1.0.0.jar"))
// Runtime MCP server — debug builds only, completely absent from release
debugImplementation(files("libs/androplaudio-core-1.0.0.aar"))
}
If you already have the KSP plugin, just add the two dependency lines and the
ksp { }block.
npx androplaudio-setup --project-dir /path/to/your/app --output androplaudio-groups.json
This scans your project and writes androplaudio-groups.json. It detects your DI framework automatically (Koin, Hilt, Dagger, or manual) and finds every registered class.
Example output:
{
"version": "1",
"platform": "android",
"framework": "koin",
"groups": [
{ "id": "payment.repository", "layer": "shared", "class": "com.myapp.data.PaymentRepository" },
{ "id": "order.use.case", "layer": "shared", "class": "com.myapp.domain.OrderUseCase" },
{ "id": "cart.manager", "layer": "shared", "class": "com.myapp.domain.CartManager" }
]
}
Re-run whenever you add a new class. The file is plain JSON — you can also edit it manually.
class MyApp : Application() {
override fun onCreate() {
super.onCreate()
// your existing DI setup — co
... [View full README on GitHub](https://github.com/Atul206/androidclaudio#readme)