AOSP Platform Builder MCP
Allows building Android system images by uploading APKs as privileged system apps, creating Android.bp module files, patching product config, lunching a target, and building system.img on a GCP-hosted AOSP build VM.
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.
AOSP Platform Builder MCP
MCP server that connects to a GCP-hosted AOSP build VM via IAP tunnel,
uploads APKs as privileged system apps, and builds system.img.
Project Structure
aosp-platform-builder-mcp/
├── connection.json ← Your GCP/AOSP config (edit this)
├── .env.example
├── pyproject.toml
├── requirements.txt
├── skills.md ← Exhaustive Claude skill definition
├── README.md
└── src/
├── server.py ← MCP server (8 tools)
├── tools/
│ ├── gcp.py ← connect_gcp
│ ├── apk.py ← upload_apk
│ ├── module.py ← create_priv_app_module
│ ├── config.py ← patch_product_config
│ └── build.py ← run_lunch, build_systemimage,
│ stream_build_logs, exec_remote
└── utils/
├── config.py ← Loads connection.json
├── shell.py ← Local command execution
├── ssh.py ← gcloud compute ssh/scp (IAP)
└── validation.py ← Input sanitizationRelated MCP server: Tailscale Compute MCP
Setup
# 1. Install
cd aosp-platform-builder-mcp
pip install -e .
# 2. Authenticate
gcloud auth login
# 3. Edit connection.json with your details (pre-filled for current setup)
# 4. Register with Claude Code — add to ~/.claude/settings.json:{
"mcpServers": {
"aosp-platform-builder": {
"command": "python",
"args": ["-m", "src.server"],
"cwd": "/Users/jai.goyal/aosp-platform-builder-mcp"
}
}
}Current Configuration
Setting | Value |
GCP Project |
|
Zone |
|
VM |
|
SSH User |
|
IAP Tunnel | enabled |
AOSP Root |
|
Lunch Target |
|
Build Command |
|
Output |
|
Usage
User: "connect and upload my apk and add this apk as a priv-app"
Claude:
1. Asks for APK path
2. connect_gcp → auth + start VM + test SSH
3. upload_apk → validate + scp + extract package name
4. create_priv_app_module → Android.bp in vendor/glance/priv-app/
5. patch_product_config → PRODUCT_PACKAGES += Module
6. run_lunch → lunch aosp_arm64-bp2a-userdebug
7. build_systemimage → make -j96
8. Returns system.img pathThis server cannot be deployed
Maintenance
Related MCP Connectors
Build signed Android (APK/AAB) and iOS (IPA) apps from a GitHub repo, from your AI assistant.
Drive real devices from your AI Coding tool. Embed a client SDK (Unity, Godot, Flutter, iOS/macOS, Android, React Native, Web) in your app, then capture screenshots, traverse the UI tree, inject taps and key events, and run automated test tasks on the physical device over a secure relay.
Give your AI agent a real cloud Android phone: push APKs, drive it, get screenshots and logs.
Launch and verify high-fidelity mobile simulations from an AI agent.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables managing Google Cloud Platform infrastructure through natural language, including VM deployment, SSH key management, remote command execution, and Terraform infrastructure-as-code operations.2-
- AlicenseAqualityBmaintenanceRuns builds, tests, and benchmarks on a remote compute node via Tailscale and SSH, syncing projects with rsync.292 npm1MIT
- AlicenseNot gradedqualityBmaintenanceEnables authenticated clients to use ASC CLI capabilities from the cloud to list registered iOS apps, build and sign a selected PR or commit on a Mac, and privately distribute the resulting IPA through an authenticated fixed page.296 npmMIT

xenoci-mcpofficial
AlicenseNot gradedqualityAmaintenanceEnables MCP clients to upload a folder, run a build script on rented macOS hardware, stream logs, and return the build exit code.MIT