App Inventor MCP
App Inventor MCP
一个 MCP(Model Context Protocol)服务器,让 AI 智能体能够构建和编辑 MIT App Inventor 项目。智能体会在磁盘上创建真实的 .aia 文件,然后你通过 项目 > 导入 (.aia) 将它导入 App Inventor。
它是 AIA Stitch 系列的一部分。姊妹项目:aia-stitch(用于合并项目的 Web 界面)。
为什么
App Inventor 是一款可视化拖放工具,这历来把 AI 智能体排除在外。但 .aia 文件其实就是一个 zip 压缩包:屏幕是 JSON 文档(*.scm),积木是 XML(*.bky),资源是普通文件。这个服务器把这些内容包装成任何 MCP 客户端都能调用的工具,因此智能体可以在你打开设计器之前,就为你把整个多屏幕应用搭建好。
Related MCP server: Prowpt MCP Server
安装
需要 Node.js 18+。
npm install
node server.mjs将它添加到你的 MCP 客户端配置中(Claude Desktop、opencode 等):
{
"mcpServers": {
"app-inventor": {
"command": "node",
"args": ["/absolute/path/to/app-inventor-mcp/server.mjs"]
}
}
}工具
工具 | 功能说明 |
| 新建一个包含 |
| 添加一个屏幕 |
| 列出屏幕、组件、资源和属性 |
| 读取一个屏幕的组件、属性和组件 XML |
| 添加一个组件,可以选择性嵌套在父组件中 |
| 在屏幕或组件上设置属性 |
| 替换某个屏幕的组件 XML |
| 无需了解 Blockly XML 即可生成事件处理(when Click do...) |
| 将本地文件(图片、声音)嵌入到项目中 |
| 将多个 |
node test.mjs # library roundtrip: create, author, merge
node smoke.mjs # full MCP protocol handshake + tool calls over stdio
node stress.mjs # scale (25 screens / 120 components), concurrency, abuse, recovery坦诚的限制
组件和屏幕属性已完整支持。积木编写工作在两层水平:通过 aia_add_event_handlers 生成事件处理(设置属性、屏幕导航),或通过 aia_ get_screen / aia_set_blocks 使用原始 Blockly XML。目前还没有覆盖所有积木类型的高层抽象。偏向 UI 的应用现在可以端到端工作;而较特别的逻辑可能需要在 App Inventor 中做最后的打磨。
所有文件操作在进程内按路径串行,因此来自 agent 的流水线/并发调用是安全的。跨进程同时访问那个 .ia 不受保护;不要同时在两个服务器中编辑同一个 `.aia 文件。
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
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Arduino boards for compiling, uploading sketches, and serial communication.6MIT

Prowpt MCP Serverofficial
AlicenseCqualityCmaintenanceEnables AI agents to create, edit, and publish web apps on Prowpt.ai through project management, code editing, and AI assistant tools.59MIT- AlicenseNot gradedqualityBmaintenanceEnables AI agents to create, compile, and run Scratch projects by editing plain text and using a live editor loop.18Mozilla Public 2.0
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to read and modify Mendix application models through MCP tools for creating modules, entities, pages, microflows, deploying, and querying runtime data.1
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Git-backed platform for skills, tools, and context for AI agents
Build, version, review, and export websites, web apps, and games from a conversation.
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/SirHumza/app-inventor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server