Skip to main content
Glama
SirHumza

App Inventor MCP

by SirHumza

App Inventor MCP

AIエージェントがMIT App Inventorプロジェクトを構築・編集できるMCP(Model Context Protocol)サーバーです。エージェントは実際の .aia ファイルをディスク上に作成し、それを App Inventor の Projects > Import (.aia) から取り込みます。

AIA Stitchファミリーの一部です。姉妹プロジェクト: aia-stitch(プロジェクト結合用Web UI)。

なぜ

App Inventor は視覚的なドラッグ&ドロップツールであり、歴史的にAIエージェントを締め出していました。しかし .aia ファイルはただのzipです。画面はJSONドキュメント、ブロックはXML、アセットはプレーンなファイルです。このサーバーは、それらの事実を、どの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"]
    }
  }
}

ツール

ツール

説明

aia_create_project

Screen1 と有効なプロパティを持つ新規 .aia を作成

aia_add_screen

スクリーンを追加

aia_inspect

スクリーン、コンポーネント、アセット、プロパティを一覧表示

aia_get_screen

1つのスクリーンのコンポーネント、プロパティ、ブロックXMLを読み取る

aia_add_component

コンポーネントを追加(親の配置にネストすることも可能)

aia_set_property

スクリーンまたはコンポーネントのプロパティを設定

aia_set_blocks

スクリーンのブロックXMLを置き換え

aia_add_event_handlers

Blockly XMLを知らなくてもイベントハンドラ(when Click do...)を生成

aia_add_asset

ローカルファイル(画像、音声)をプロジェクトに埋め込む

aia_merge

複数の .aia ファイルを1つにマージ

テスト

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

正直な限界

コンポーネントと画面プロパティは完全にサポートされています。ブロックの作成は2つのレベルで動作します:aia_add_event_handlers による生成イベントハンドラ(プロパティ設定と画面遷移)、または aia_get_screen / aia_set_blocks による生のBlockly XMLです。すべてのブロックタイプに対応した高レベルな語彙はまだありません。UI中心のアプリは今日エンドツーエンドで動きますが、特殊なロジックはApp Inventor内での仕上げが必要かもしれません。

ファイル操作はすべてプロセス内でパスごとに直列化されているため、エージェントからのパイプライン・加算同時呼び出しは安全です。同じ .aia ファイルへのプロセスをまたいだ同時アクセスは保護されていません。1つのファイルを2つのサーバーで同時に編集しないでください。

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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.

View all MCP Connectors

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/SirHumza/app-inventor-mcp'

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