mobile-debug-mcp
Allows building, installing, and inspecting Android apps via ADB, enabling AI-assisted mobile development and debugging.
Provides support for Flutter mobile development, though not fully tested, enabling AI-assisted development and debugging.
Allows building, installing, and inspecting iOS apps via Xcode and idb, enabling AI-assisted mobile development and debugging.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mobile-debug-mcpDiagnose the latest crash from the app"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Mobile Debug Tools
A minimal, secure MCP server for AI-assisted mobile development. Build, install, interact and inspect Android/iOS apps from an MCP-compatible client.
Support:
KMP
Android
iOS
Flutter - not tested
React native - not tested
Requirements
Node.js >= 18
Android SDK (adb) for Android support
Xcode command-line tools for iOS support
idb for iOS device support
Related MCP server: xcforge
Environment Setup
The server discovers Android and iOS tools automatically from standard locations by default. Manual environment setup is still supported, but it should be treated as the fallback for non-standard installs, overrides, or reproducible pinned toolchains.
Use explicit paths when:
you have multiple SDKs installed
the tools live outside standard locations
you want deterministic setup across machines
automatic discovery does not find the expected binary
Leave the variables unset when:
the tools are already on
PATHthe standard Android and Xcode locations are enough
Common environment variables:
ADB_PATH: explicit path toadbANDROID_SDK_ROOTorANDROID_HOME: Android SDK rootXCRUN_PATH: explicit path toxcrunMCP_IDB_PATHorIDB_PATH: explicit path toidbGRADLE_JAVA_HOMEorJAVA_HOME: Java home for Gradle-backed operations
For normal use, call get_system_status first. It reports the detected host, Android, and iOS toolchain state so the client can decide whether automatic discovery is sufficient or whether explicit overrides are needed.
Configuration
Recommended when you want Android only, or when you want to make the Android toolchain explicit.
{
"mcpServers": {
"mobile-debug": {
"command": "npx",
"args": ["--yes","mobile-debug-mcp","server"],
"env": {
"ADB_PATH": "/path/to/adb",
"ANDROID_SDK_ROOT": "/path/to/android/sdk",
"GRADLE_JAVA_HOME": "/path/to/jdk"
}
}
}
}For Android-only setups, XCRUN_PATH and IDB_PATH are not required unless you want to pin them explicitly.
Recommended when you want iOS simulator or device support, or when idb lives in a non-standard location.
{
"mcpServers": {
"mobile-debug": {
"command": "npx",
"args": ["--yes","mobile-debug-mcp","server"],
"env": {
"XCRUN_PATH": "/usr/bin/xcrun",
"MCP_IDB_PATH": "/path/to/idb",
"IDB_PATH": "/path/to/idb"
}
}
}
}For iOS-only setups, ADB_PATH and ANDROID_SDK_ROOT are not required unless you want to pin them explicitly.
Use STDIO
command: npx
args:
--yes
mobile-debug-mcp
environment variables:
ADB_PATH: /path/to/adb
XCRUN_PATH: /usr/bin/xcrun
IDB_PATH: /path/to/idb
MCP_IDB_PATH: /path/to/idb
ANDROID_SDK_ROOT: /path/to/android/sdk
GRADLE_JAVA_HOME: /path/to/jdk
JAVA_HOME: /path/to/jdk
If you are unsure whether the environment is configured correctly, run get_system_status first. It reports the detected host, Android, and iOS toolchain state in a structured form.
Usage
Examples:
Crash fixing:
I have a crash on the app, can you diagnose it, fix and validate using the mcp tools available
Feature building:
Add a button, hook into the repository and confirm API request successful
Docs
Tools: Tools — full input/response examples
Changelog: Changelog
Agents: AGENTS.md — cold-start guidance for autonomous agents entering the public repo
Skills: skills/README.md — portable Markdown skill packages for agents such as Copilot, Codex, Claude, or custom systems
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityBmaintenanceAn MCP server that enables AI assistants to build, test, and debug Android applications by interacting directly with the Android development environment. It provides tools for managing emulators, executing Gradle tasks, running ADB commands, and performing UI automation via accessibility trees.Last updated1410616MIT
- Alicense-qualityBmaintenanceMCP server and CLI for iOS development — build, test, automate, and diagnose from any AI agent or terminal.Last updated1MIT
- Flicense-qualityDmaintenanceAn MCP server designed for Android development, enabling AI assistants to directly control Android devices for screenshots, UI analysis, app management, and more.Last updated
- AlicenseAqualityCmaintenanceAn MCP server that gives AI agents full control of Android devices and emulators through plain ADB — no companion APK, no extra daemon, no telemetry.Last updated2633MIT
Related MCP Connectors
MCP server for Appcircle mobile CI/CD platform.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/clivejefferies/mobile-debug-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server