Skip to main content
Glama
williamcorrea23

AndroidBuilder MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
EVAL_TIMEOUT_MSNoMax ms to wait for page evaluation15000
BROWSER_DEBUG_PORTNoChrome remote debugging port9222
ANDROIDBUILDER_DEBUGNoSet to 1 to enable verbose stderr logging0

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_project_infoA

Returns the current project name, active screen, view mode (Designer vs Blocks), IDE type (AndroidBuilder, App Inventor, Niotron, Kodular…), and page URL. Use this first to understand the context before calling other tools.

get_component_treeA

Returns the full component hierarchy from the Designer view as a tree of {name, type, uid, children}. Requires the IDE to be in Designer view.

get_component_propertiesA

Reads all visible property values for a component from the Properties sidebar panel. You must click the component in the Designer first to populate the panel.

update_component_propertyA

Updates a property of a component. Uses 3 strategies in order: (1) GWT BlocklyPanel_setComponentProperty API, (2) top-frame API (iframe-hosted IDEs), (3) DOM input field in the Properties sidebar. Requires Designer view.

add_blocksA

Injects Blockly XML blocks into the Blocks workspace. Validates the XML before injection to prevent silent failures. Requires the IDE to be in Blocks view.

get_blocks_xmlA

Exports the entire current Blockly workspace as a pretty-printed XML string. Use this to read existing blocks or back them up. Requires Blocks view.

clear_blocksA

Clears ALL blocks from the current Blockly workspace. This action cannot be undone via MCP. Requires Blocks view.

switch_screenA

Switches the active screen in the IDE. Uses the GWT select element or tab bar to navigate. Call list_screens first to see available screen names.

list_screensA

Returns all screens available in the current project as an array of strings.

click_elementA

Clicks an arbitrary element on the IDE page using a CSS selector. Useful as a last-resort fallback for IDE actions not covered by other tools.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/williamcorrea23/androidbuilder-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server