Universal Android Debloater MCP Plus
Provides tools to discover Android devices over USB or Wireless ADB, inspect device profiles and packages, audit permissions and resource usage, classify OEM apps, and create/execute safe package removal and restore plans.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Universal Android Debloater MCP Plus
An open-source Model Context Protocol (MCP) server for Android debloating and device management. Connect AI assistants to Android devices through Android Debug Bridge (ADB) over USB or Wi-Fi. Inspect installed packages, analyze OEM-specific apps, review permissions, create auditable removal plans, back up APKs, and restore packages with explicit human approval.
Designed for Android 8.0+ and AI development clients such as Claude Desktop, Claude Code, Cursor, and other MCP-compatible clients.
Table of Contents
Related MCP server: droidmcp
1. Overview
The Universal Android Debloater MCP Server bridges Model Context Protocol clients with the Android Debug Bridge (adb). It exposes 23 rigorous tools and resources that allow your AI assistant to:
Discover connected USB and Wireless ADB devices.
Analyze OEM device profiles (Samsung OneUI, Xiaomi HyperOS, Vivo OriginOS/FuntouchOS, etc.).
Audit runtime permissions and resource usage (RAM and storage).
Classify installed apps using community-backed safety engines (UAD-NG, AppManager, Canta, CleanYourTV).
Build immutable, SHA-256 hashed removal plans with out-of-band human terminal approval.
Execute safe
--user 0package removals with automated APK backups and instant restoration scripts.
2. Features
Device discovery: detect Android devices connected over USB or Wireless ADB.
Device intelligence: inspect manufacturer, model, Android version, OEM skin, and device resources.
Package inventory: list installed apps and inspect package metadata and permissions.
OEM-aware classification: use curated safety data and supported community list sources to help classify packages.
Removal planning: generate reviewable plans with SHA-256 integrity hashes.
Human approval: require a separate, explicit terminal approval step before destructive operations.
APK backup and restore: back up supported APK artifacts and provide recovery workflows.
Auditability: maintain structured audit records for important operations.
MCP integration: expose Android management capabilities to compatible AI assistants.
3. Prerequisites
Before setting up the server, ensure your environment meets the following requirements and verify them using the provided commands:
Node.js: Version 20.0.0 or newer.
node --versionAndroid Platform-Tools (
adb): Installed and added to your system PATH.adb --versionTarget Android Device: Android 8.0+ (API 26+) with Developer Options and USB Debugging enabled. Verify your device connection:
adb devices -l
4. Installation & Build
Follow these step-by-step instructions to download, build, and package the server:
Clone the repository:
git clone https://github.com/Murlikumar99/Universal-Android-Debloater-MCP-Plus..git cd Universal-Android-Debloater-MCP-Plus.Install dependencies:
npm installRun TypeScript typechecking and unit/integration tests:
npm run typecheck npm testBuild the production bundle:
npm run buildThis compiles the single-file server binary at
/path/to/repo/dist/index.js(replace/path/to/repowith your actual absolute path).
5. MCP Integration
Configure your MCP client to launch the compiled server binary via Node.js. Replace /path/to/repo/dist/index.js with your actual absolute path.
Claude Desktop Configuration (claude_desktop_config.json)
{
"mcpServers": {
"android-debloater": {
"command": "node",
"args": ["/path/to/repo/dist/index.js"]
}
}
}Cursor IDE Configuration (~/.cursor/mcp.json)
{
"mcpServers": {
"android-debloater": {
"command": "node",
"args": ["/path/to/repo/dist/index.js"]
}
}
}6. Verification Steps
To verify that the MCP tools are successfully loaded and communicating with your device in your IDE:
Restart your MCP client (Claude Desktop, Cursor, etc.).
Open a chat and ask your AI assistant to run the connection check:
"Run
list_devicesto check if my Android device is connected."Ask your assistant to retrieve device telemetry:
"Run
get_device_profileto inspect my device manufacturer, model, and OEM skin."Expected Result: Your assistant will execute the tools and display your connected device's serial number, model, and system profile.
7. Safety & Debloat Workflow
The server implements a strict defense-in-depth safety architecture:
Non-Destructive Operations: Never touches system partitions or uses root (
su). It exclusively runs user-0 commands (pm uninstall -k --user 0orpm disable-user --user 0), allowing instant package restoration.Automated Backups: Before removing any package, the server pulls the base and split APK files to local storage and validates SHA-256 checksums.
Out-of-Band Human Approval Gate: AI assistants cannot self-approve removal plans. Every mutating plan returns a plan ID and SHA-256 hash. To approve, the human operator must run:
node /path/to/repo/dist/index.js approve <plan-id>in an interactive terminal (TTY), enter the generated 6-digit one-time verification code, and supply the resulting single-use token back to the AI assistant for execution.
Emergency Restoration: Any removed package can be restored at any time via
execute_restore, auto-generated recovery scripts (bash restore-<planId>.sh), or manual ADB commands (adb shell cmd package install-existing --user 0 <package>).
Repository Topics and Keywords
Suggested GitHub repository topics:
android · android-debloater · android-debloat · android-debug-bridge · adb · wireless-adb · mcp · model-context-protocol · mcp-server · typescript · nodejs · ai-tools · claude · cursor · android-automation · android-tools · app-manager · open-source
Search keywords: Android debloater, Universal Android Debloater, Android bloatware removal, ADB debloat tool, Android package manager, Wireless ADB, MCP server, Model Context Protocol, AI Android assistant, Android app removal, APK backup, Android app restore, OEM debloat, Samsung debloat, Xiaomi debloat, Vivo debloat, TypeScript MCP.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Let Claude, ChatGPT and other agents use your Android phone: see the screen, tap, type, open apps.
Cloud Android devices for AI agents: install an APK, read the screen, tap, type, read logcat.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with Android devices and emulators via ADB, providing tools for screenshots, UI inspection, touch and text input, app management, and device control.42143 npm23MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to read and control a connected Android device over adb or a local root shell, with tools for screen inspection, tapping, typing, swiping, launching apps, and system commands.182MIT
- AlicenseAqualityBmaintenanceLets an AI assistant look after Android TV boxes, phones and watches over ADB: find devices on the network, see the screen, tap and type, install apps. Package changes are dry-run first, with a protected set read off the device and one-call rollback.1867 npmMIT
- AlicenseBqualityBmaintenanceEnables AI agents to debloat, harden privacy, tune settings, and rebuild the home screen of a non-rooted Android phone over adb, using tiered bloat lists, plain-language preferences and time rules. Every change is previewed, requires explicit owner approval, and is undoable with full restore.33MIT