AndroidBuilder Server
FreeNot checkedEnables LLMs to interact with MIT App Inventor, AndroidBuilder, Kodular, or Niotron IDEs in real-time, controlling the Designer and Blocks workspace via Chrome
About
Enables LLMs to interact with MIT App Inventor, AndroidBuilder, Kodular, or Niotron IDEs in real-time, controlling the Designer and Blocks workspace via Chrome DevTools Protocol.
README
Local Model Context Protocol server for MIT App Inventor, AndroidBuilder, Kodular, Niotron, and AppyBuilder. It connects to a Chrome/Chromium session through the Chrome DevTools Protocol and lets MCP clients inspect the Designer and Blocks workspaces.
The server is safe by default: read tools are available immediately, while write tools require explicit environment flags.
Tools
| Tool | Mode | Notes |
|---|---|---|
get_project_info |
Read | Project, active screen, view, IDE type, URL |
list_screens |
Read | Lists available screens |
switch_screen |
Read/navigation | Switches active screen |
get_component_tree |
Read | Designer component tree |
get_component_properties |
Read | Selects component by name when possible |
get_blocks_xml |
Read | Exports Blockly XML |
update_component_property |
Write | Requires ANDROIDBUILDER_ALLOW_WRITE=1 |
add_blocks |
Write | Requires ANDROIDBUILDER_ALLOW_WRITE=1 |
clear_blocks |
Destructive | Requires ANDROIDBUILDER_ALLOW_WRITE=1 and confirm: "CLEAR_BLOCKS" |
click_element |
Unsafe fallback | Requires ANDROIDBUILDER_ALLOW_UNSAFE_CLICK=1 and confirm: "CLICK_ELEMENT" |
Requirements
- Node.js
>=22.12 - Chrome or Chromium launched with remote debugging enabled
chrome.exe --remote-debugging-port=9222
Open your App Inventor-family IDE and load the project in that Chrome session.
Install
npm install
npm run build
Run the server:
node dist/index.js
MCP Config
Use .mcp.json in this repository for local development:
{
"mcpServers": {
"androidbuilder-mcp": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"BROWSER_DEBUG_PORT": "9222",
"ANDROIDBUILDER_ALLOW_WRITE": "0"
}
}
}
}
For clients that do not resolve relative paths from the repository root, replace dist/index.js with an absolute path.
Environment
| Variable | Default | Description |
|---|---|---|
BROWSER_DEBUG_PORT |
9222 |
Chrome remote debugging port |
EVAL_TIMEOUT_MS |
15000 |
Max time for page evaluation |
ANDROIDBUILDER_DEBUG |
0 |
Verbose stderr logging |
ANDROIDBUILDER_ALLOW_WRITE |
0 |
Enables property/block mutations |
ANDROIDBUILDER_ALLOW_UNSAFE_CLICK |
0 |
Enables arbitrary CSS click fallback |
Codex, Claude, and Antigravity
- Codex plugin manifest:
.codex-plugin/plugin.json - Portable MCP config:
.mcp.json - Open Agent Skill:
skills/build-app-inventor-apps/SKILL.md
See docs/compatibility.md for client-specific setup notes.
Development
npm run build
npm test
npm pack --dry-run
npm test builds the server, runs a real MCP SDK smoke test, verifies write tools are gated, checks the no-Chrome error path, and validates package metadata.
Troubleshooting
Failed to connect to Chrome CDP: start Chrome with--remote-debugging-port=9222.No active AndroidBuilder/App Inventor tab found: open a project in the debug Chrome session.Component tree (.gwt-Tree) not found: switch to Designer view.Blockly is not available: switch to Blocks view.- Write tool rejected: restart the MCP server with
ANDROIDBUILDER_ALLOW_WRITE=1.
Supported IDEs
- AndroidBuilder
- MIT App Inventor 2
- MIT App Inventor Code
- Niotron
- Kodular
- AppyBuilder
License
MIT
Install AndroidBuilder Server in Claude Desktop, Claude Code & Cursor
unyly install androidbuilder-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add androidbuilder-mcp-server -- npx -y github:williamcorrea23/androidbuilder-mcpFAQ
Is AndroidBuilder Server MCP free?
Yes, AndroidBuilder Server MCP is free — one-click install via Unyly at no cost.
Does AndroidBuilder Server need an API key?
No, AndroidBuilder Server runs without API keys or environment variables.
Is AndroidBuilder Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install AndroidBuilder Server in Claude Desktop, Claude Code or Cursor?
Open AndroidBuilder Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Playwright
Browser automation, scraping, screenshots
by MicrosoftPuppeteer
Browser automation and web scraping.
by modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
by opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
by robhunterCompare AndroidBuilder Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All browse MCPs
