androidbuilder-mcp: Instructions file for Claude Code

CLAUDE.md

androidbuilder-mcp CLAUDE.md is an instructions file for Claude Code from williamcorrea23/androidbuilder-mcp. It costs 524 tokens per session, scanned A, a copy of androidbuilder-mcp AGENTS.md, MIT.

Repository instructions for an MCP server that connects an AI agent to MIT App Inventor, AndroidBuilder, Niotron, and Kodular web editors through Chrome. The server uses Puppeteer and Chrome's debugging connection to inspect and change projects.

In plain words
What is it for?
Use them when changing or testing the server's ten editor tools, such as reading project details, inspecting components, or updating component properties.
Why use it?
They explain the server's structure and safeguards, including connection reuse, timeouts, fallback ways to update properties, and clean shutdown.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is williamcorrea23/androidbuilder-mcp's own configuration. It tells Claude Code how to work on androidbuilder-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything androidbuilder-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to williamcorrea23/androidbuilder-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/williamcorrea23/androidbuilder-mcp/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/williamcorrea23/androidbuilder-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for androidbuilder-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/williamcorrea23/androidbuilder-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/williamcorrea23/androidbuilder-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/williamcorrea23/androidbuilder-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/williamcorrea23/androidbuilder-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for androidbuilder-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/williamcorrea23/androidbuilder-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/williamcorrea23/androidbuilder-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 524 This file is loaded in full into every session.
When invoked 524 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00524 $0.00524
Opus 5.5 $0.00210 $0.00210
Sonnet 5.5 $0.00105 $0.00105
Haiku 4.5 $0.00052 $0.00052

Measured 2mo ago against content hash cf17fd7a0e77, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

androidbuilder-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

98% identical to androidbuilder-mcp AGENTS.md — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 51 lines

What it actually says

CLAUDE.md — AndroidBuilder MCP Server

Project Overview

This is an MCP (Model Context Protocol) server written in TypeScript/Node.js that bridges LLMs to the MIT App Inventor / AndroidBuilder / Niotron / Kodular web IDEs via Chrome's DevTools Protocol (CDP) using Puppeteer Core.

Architecture

src/
├── index.ts          # MCP Server, tool registration, routing
├── tools.ts          # All tool implementations (10 tools)
└── browser-bridge.ts # CDP connection, page cache, timeout handling

Key Design Decisions

  • Single cached CDP connection — avoids WebSocket leak where each call opened a new connection
  • 3-strategy property update — GWT API → top-frame API → DOM input field
  • Timeout on evaluateInPage — prevents hanging if IDE page freezes (default 15s)
  • Graceful SIGTERM/SIGINT disconnect — via bridge.setupProcessHandlers()
  • Env-var driven config — BROWSER_DEBUG_PORT, EVAL_TIMEOUT_MS, ANDROIDBUILDER_DEBUG

Tools (10 total)

Tool View Required
get_project_info Any
get_component_tree Designer
get_component_properties Designer (component selected)
update_component_property Designer
add_blocks Blocks
get_blocks_xml Blocks
clear_blocks Blocks
switch_screen Any
list_screens Any
click_element Any (fallback)

Development

npm run build       # compile TypeScript → dist/
npm start           # run compiled server
ANDROIDBUILDER_DEBUG=1 npm start  # verbose logging

Common Errors & Fixes

  • ECONNREFUSED → Chrome not started with --remote-debugging-port=9222
  • No active tab found → IDE not open or project not loaded
  • gwt-Tree not found → Switch to Designer view
  • Blockly not available → Switch to Blocks view
  • Timeouts → Increase EVAL_TIMEOUT_MS, reload IDE page

Supported IDEs

androidbuilder.in, ai2.appinventor.mit.edu, code.appinventor.mit.edu, niotron.com, makeroid.io, appybuilder.com

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 51 lines · 524 tokens per session scan A cf17fd7a0e77

Subscribe to this mod's changes

androidbuilder-mcp CLAUDE.md is an instructions file published in the GitHub repository williamcorrea23/androidbuilder-mcp (0 stars, last pushed 3mo ago), licensed MIT. It adds 524 tokens to every session, about $0.0021 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to androidbuilder-mcp AGENTS.md, differing in 2 lines, and is treated as a copy.

Related

androidbuilder-mcp CLAUDE.md compared with instructions from other repositories

androidbuilder-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
androidbuilder-mcp CLAUDE.mdwilliamcorrea23/androidbuilder-mcpInstructions file03mo agoMITA524Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot