shapeyourphone
Enables AI agents to manage and customize an Android phone over adb, including scanning and debloating apps, tightening privacy and settings, installing/configuring a custom launcher, applying app time rules and pause screens, and undoing or restoring every change.
Click on "Deploy 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., "@shapeyourphone scan my phone for bloat and show me what's safe to remove"
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.
shapeyourphone
Your Android phone, shaped by an AI agent. Not a custom ROM, and no root needed. It runs on the Android you already have, over adb, and every change can be undone.
You tell your agent (Claude Code, Claude Desktop, Codex, Gemini CLI…) how you want your phone. It cleans out bloat, tightens privacy, tunes settings, and designs your home screen. It remembers what you asked for, so the next request builds on the last one instead of starting over.
Status: v0.1. Every CI run drives the real CLI over adb against Android 8, 11, 14 and 16 emulators: debloat, undo, install the launcher, time rules, the pause screen, full restore. It has not been tested on physical phones yet, and phone makers' Android versions differ, so device reports are very welcome.
Default | Minimal text | Wallpaper + evening rule | Drawer |
|
|
|
|
Get started
1. Turn on USB debugging. Settings → About phone → tap Build number 7
times → Developer options → USB debugging. Plug the phone in and tap Allow.
You also need adb (brew install android-platform-tools,
winget install Google.PlatformTools, or apt install adb) and Python 3.9+.
2. Pick how you want to talk to it.
You use | Do this |
Claude Code, Codex, Gemini CLI |
|
Claude Desktop or another MCP app |
|
Just a terminal |
|
MCP config (Claude Desktop → Settings → Developer → Edit Config):
{"mcpServers": {"shapeyourphone": {"command": "shape-mcp"}}}Every tool that changes the phone returns a preview first, and only acts when
called again with owner_approved: true.
The Shape launcher installs itself when you ask for it (shape launcher install
downloads the signed APK from Releases
and checks it). You can also grab
shape-launcher.apk directly.
Related MCP server: mcp-android
What a session looks like
you: my phone is full of junk and I waste too much time on Instagram
agent: shape scan → 14 preinstalled apps you can switch off (Meta App Manager,
Samsung TV Plus, …), nothing you use. Here's the plan. OK?
you: yes, but keep Samsung Notes
agent: shape keep com.samsung.android.app.notes · shape apply … --yes ✓ 13 done
Want a calmer home screen? I can hide Instagram on weekdays 9–18 and
show a 10-second pause before it opens the rest of the time.
you: do it
agent: shape launcher hide Instagram --days weekdays --from 09:00 --to 18:00 --yes
shape launcher pause Instagram --seconds 10 --yes ✓
(noted in your preferences, so next time I remember)What it does
Cleanup and privacy
initsaves a full backup before anything changes.scanandplanuse tiered bloat lists (safe / recommended / optional) for Google, Meta, Samsung, Xiaomi, OPPO/OnePlus/realme, vivo, Motorola and carriers. Each entry says in plain words what you'd lose.privacyshows who can use your camera, mic, location and contacts, plus accessibility services, notification readers and device admins.tweakcovers animations, dark mode, font size, screen timeout, ad-blocking Private DNS, per-app notifications and background limits.
A home screen that rebuilds itself to your taste (config reference)
A tiny launcher with no dependencies. Everything about it comes from one JSON config: theme, widgets (clock, apps, search, next calendar event), dock, drawer and gestures.
Changes by name, live, with no reinstall:
shape launcher hide Instagram --from 22:00 --to 07:00,shape launcher dock Phone WhatsApp Camera,shape launcher theme --icons mono. Every version is kept, solauncher rollbackalways works.Time rules ("work mode 9–18"), search-only apps, and a pause screen before distracting apps that never opens them by itself.
The launcher only accepts commands from adb, so other apps on the phone can't change it.
Memory, safety and new phones
preferences.mdper phone is your wishes in plain words. The agent reads it before every session and keeps it current. It stays on your computer and is never committed.It never touches core Android, telephony, the stock launcher (which also provides recents and gestures), or packages known to bootloop. It also protects whatever this phone depends on: its keyboard, WebView provider, camera, dialer and SMS apps, accessibility tools, device admins, and anything you said to keep.
Every change is checked on the phone and logged with its undo. Use
undo <id>,restorefor everything, or the generatedrestore.sh/restore.ps1, which need no Python.driftandreapplycatch changes a system update quietly reverted.clone --from <old phone>sets a new phone up the same way.suggestreads real usage, with your permission, and proposes what to put in reach, pause or hide. It only suggests.
What it can't do (without root)
It can't change the status bar, quick settings or lock screen, and it can't remove Google Play services. On Fire OS and some phone makers' Android versions, a third-party launcher can't become the home screen.
Layout
shape/ Python toolkit + MCP server (stdlib only) PROMPT.md the agent's playbook
shape/data/ bloat lists, protected packages docs/ launcher config reference
launcher/ Android launcher (Kotlin, no deps) config/ default + example home screens
tests/ fake-phone tests, emulator e2e, vectors scripts/ release signing setupDeveloping
Python:
python3 -m unittest discover -s tests -t testsLauncher:
cd launcher && ./gradlew testDebugUnitTest assembleDebug(JDK 17+ and the Android SDK)Releases: run
scripts/make-release-key.shonce, thengit tag v0.1.0 && git push origin v0.1.0. CI builds a signedshape-launcher.apk, andshape launcher installdownloads it.
See CONTRIBUTING · SECURITY · CHANGELOG. Inspired by cleanyourtv. MIT licensed.
Available Tools
33 toolsapply_planA
Apply a plan file (from plan_debloat or clone). Every change is logged with its undo.
Inputs: plan_path (required), device, owner_approved.
change_packagesBDestructive
Disable, remove (for this user, reversible) or re-enable specific packages.
Inputs: action (required), packages (required), device, owner_approved.
change_permissionC
Grant or revoke one app permission (e.g. android.permission.CAMERA).
Inputs: action (required), package (required), permission (required), device, +1 more.
cloneB
Set this phone up like another saved phone (see phones): same changes, notes, keep list and home screen.
Inputs: from (required), device, owner_approved.
doctorBRead-only
Check adb, the connected phone and the Shape launcher.
Inputs: device.
driftCRead-only
Changes the phone has reverted on its own, e.g. after a system update.
Inputs: device.
initA
First step with a new phone: save its profile and a full backup, create its preferences file.
Inputs: device.
keep_packagesB
Record packages the owner never wants touched (or remove them from that list).
Inputs: packages (required), device, remove.
launcher_appsCRead-only
Installed apps: name → package.
Inputs: device.
launcher_editB
Small home-screen edits by app name. command + args mirror the CLI, e.g. hide ['Instagram','--days','weekdays','--from','09:00','--to','18:00'] · unhide ['Instagram'] · search-only ['TikTok'] · dock ['WhatsApp','Spotify'] · home-apps ['Maps','--style','grid'] · theme ['--icons','grayscale','--background','wallpaper'] · gesture ['doubleTap','Spotify'] · rename ['WhatsApp','Chats'] · pause ['Instagram','--seconds','10'] · rule-remove ['Night'] · usage-access [].
Inputs: command (required), args, device, owner_approved.
launcher_get_configBRead-only
The home-screen config currently on the phone (JSON). Format: docs/launcher-config.md.
Inputs: device.
launcher_historyCRead-only
Every home-screen config pushed to this phone.
Inputs: device.
launcher_installB
Install the Shape launcher and make it the home screen (the old launcher stays installed).
Inputs: device, owner_approved.
launcher_previewARead-only
What a config would look like at a given time, e.g. at='fri 22:30'. Changes nothing.
Inputs: config (required), at, device.
launcher_rollbackC
Go back to an earlier home screen (default: the previous one).
Inputs: to, device, owner_approved.
launcher_rulesCRead-only
Time rules on the home screen (● = active now).
Inputs: device.
launcher_set_configB
Replace the whole home-screen config (validated first; preview shows a summary).
Inputs: config (required), device, owner_approved.
launcher_statusCRead-only
Launcher version, whether it's the home screen, active rules.
Inputs: device.
launcher_uninstallBDestructive
Give the home screen back to the previous launcher and remove Shape.
Inputs: device, owner_approved.
list_changesBRead-only
Every change made to this phone, with ids for undo.
Inputs: device, include_undone.
phonesCRead-only
Phones already set up on this computer.
Inputs: device.
plan_debloatA
Write a reviewable debloat plan file. Show it to the owner, then apply_plan.
Inputs: tier, device, method, exclude, +1 more.
playbookARead-only
Read this first: how to run a session with the phone's owner, and the safety rules.
Inputs: device.
preferences_readARead-only
The owner's preferences file (their wishes in plain words). Read it at the start of every session.
Inputs: device.
preferences_writeA
Replace the owner's preferences file with updated markdown. Keep their words; add, don't erase.
Inputs: content (required), device.
privacyCRead-only
Which apps can use location, camera, mic, contacts; accessibility services, device admins.
Inputs: device, include_system.
reapplyC
Re-apply drifted changes.
Inputs: device, owner_approved.
reportCRead-only
Before/after summary. share=true gives anonymous markdown for a GitHub device report.
Inputs: share, device.
restore_everythingADestructive
Undo every change, newest first (also hands the home screen back and removes Shape).
Inputs: device, owner_approved.
scanBRead-only
Find bloat (tiered safe/recommended/optional, with what each loses) and unknown preinstalled apps.
Inputs: device.
suggestCRead-only
Suggestions from real usage (most-used apps not in reach, heavy use, unused apps). Changes nothing.
Inputs: days, device.
tweakA
Named reversible tweak: animations , dark-mode yes|no|auto, font-scale , screen-timeout , private-dns adguard|mullvad|cloudflare|cloudflare-family|quad9||off, restrict-background , notifications-off , notifications-on .
Inputs: name (required), args, device, owner_approved.
undoB
Undo specific changes by id, or the last N.
Inputs: ids, last, device, owner_approved.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 33 tools
Most tools target clear, distinct operations (scan, privacy, change_permission, undo, launcher_install). A few boundaries blur: plan_debloat/apply_plan vs change_packages, and tweak's notifications-off/restrict-background vs change_packages disabling; undo/restore_everything/reapply also require reading descriptions to separate. Still, the descriptions generally make the intended choice clear.
The launcher_* family is consistent, as are preferences_read/write and plan_debloat/apply_plan. But bare nouns (playbook, doctor, phones, scan, privacy, drift, report) mix with verb_noun (change_permission, keep_packages, restore_everything) and inverted forms (preferences_read), so the set has mixed conventions while remaining readable.
33 tools is heavy for a single server, even one covering phone debloating plus launcher management. Several tools could be consolidated (e.g. change_packages/tweak, undo/restore_everything/reapply) without losing capability, so the surface feels over-expanded.
The lifecycle is well covered: setup/init, scanning, reviewable plans, applying changes, undo/restore, drift detection and reapply, preferences, and full launcher install/config/history/rollback/uninstall. Minor gaps exist around a standalone full-backup restore and richer privacy remediation, but core workflows have no dead ends.
Maintenance
Related MCP Connectors
Let Claude, ChatGPT and other agents use your Android phone: see the screen, tap, type, open apps.
1AI agents on your own iPhone or Android: run tasks in real apps, read the screen, tap and type.
Cloud Android devices for AI agents: install an APK, read the screen, tap, type, read logcat.
2111Cloud Android phones for AI agents: create a phone, read the screen, tap, type, install APKs, park.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables AI agents to control Android devices via ADB, supporting gestures, input, screenshots, UI analysis, and app management.191-
- FlicenseBqualityBmaintenanceEnables an AI agent to control an Android phone over a private Tailscale network via accessibility UI automation, screenshots, gestures, notifications, clipboard, intents, SAF file access, and optional Termux/Shizuku shells without root or ADB.65-
- AlicenseAqualityBmaintenanceEnables AI agents to see and drive a real Android phone over plain ADB: screenshots and numbered UI trees, gestures, typing with accents and emoji, SMS/RCS reading and prepared replies, notifications, files, and settings, with no root and no app installed on the phone. Safeguards mask security codes and require explicit confirmation before sending, paying, deleting or confirming anything.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



