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.
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., "@AOSP Platform Builder MCPConnect to the build VM, upload my APK as a privileged app, and build system.img"
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.
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: Android Studio 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 installed
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
- Flicense-qualityDmaintenanceEnables managing Google Cloud Platform infrastructure through natural language, including VM deployment, SSH key management, remote command execution, and Terraform infrastructure-as-code operations.Last updated2
- AlicenseAqualityCmaintenanceEnables Claude to operate Android Studio and the entire Android toolchain: build, test, lint, run on devices/emulators, analyze APKs, scaffold projects, inspect code, and drive the live IDE via 73 tools.Last updated733MIT
- Flicense-qualityCmaintenanceProvides SSH access to a remote machine with manual session approval, automatic termination, and inactivity timeouts, enabling secure command execution via Claude.Last updated
- Alicense-qualityCmaintenanceEnables AI agents to act as local Android developers with compilation, emulator, asset management, and diagnostics capabilities for a closed-loop build cycle.Last updatedMIT
Related MCP Connectors
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
Remote MCP for Gemini upgrade evals, prompt regressions, output diffs, and eval receipts.
Remote MCP for AI Studio Android release gate MCP, structured receipts, audit logs, and reviewer-rea
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/goyaljai/aosp-platform-builder-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server