A2UI MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@A2UI MCP ServerCreate a login form with username and password fields."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
A2UI MCP Server
Claude Code × A2UI (Agent-to-User Interface) 連携用のMCPサーバー
概要
このMCPサーバーは、Claude CodeからA2UIプロトコルを使ってリッチなUIを生成できるようにします。
A2UIはGoogleが開発したオープンソースプロジェクトで、AIエージェントが宣言的なJSON形式でUIを生成し、様々なフレームワーク(Web, Flutter, React等)でネイティブにレンダリングできます。
Related MCP server: CC Fig MCP
特徴
🎨 ライブプレビュー: ブラウザでリアルタイムにUI変更を確認
🔧 シンプルなAPI: 4つのツールでUI生成
📦 標準A2UIコンポーネント: Text, Button, TextField, Column, Row, Card等
🔄 WebSocket連携: 変更が即座にプレビューに反映
インストール
cd a2ui-mcp-server
npm install
npm run buildClaude Code設定
~/.claude/mcp_settings.json に追加:
{
"mcpServers": {
"a2ui": {
"command": "node",
"args": ["/path/to/a2ui-mcp-server/dist/index.js"]
}
}
}使い方
1. サーフェス作成
a2ui_create_surface で surface_id="my_form" を作成して2. コンポーネント追加
a2ui_update_components で以下のUIを作成:
- タイトル「お問い合わせ」
- 名前入力欄
- メール入力欄
- 送信ボタン3. プレビュー
a2ui_preview でブラウザプレビューを開いて提供ツール
ツール | 説明 |
| 新しいUIサーフェス(コンテナ)を作成 |
| コンポーネントを追加・更新 |
| データモデルを更新(データバインディング用) |
| ブラウザでライブプレビューを開く |
| 全サーフェスをクリア |
| 現在の状態を取得 |
サポートコンポーネント
レイアウト: Column, Row, Card
テキスト: Text(スタイル対応)
入力: TextField, Button
メディア: Image
その他: Divider, Progress
例: 予約フォーム
{
"surface_id": "booking",
"components": [
{ "id": "root", "component": "Column", "children": ["title", "card"] },
{ "id": "title", "component": "Text", "text": "レストラン予約", "style": { "fontSize": 24, "fontWeight": "bold" } },
{ "id": "card", "component": "Card", "title": "予約情報", "children": ["name", "date", "guests", "submit"] },
{ "id": "name", "component": "TextField", "label": "お名前" },
{ "id": "date", "component": "TextField", "label": "日付", "placeholder": "YYYY-MM-DD" },
{ "id": "guests", "component": "TextField", "label": "人数" },
{ "id": "submit", "component": "Button", "label": "予約する", "variant": "primary" }
]
}アーキテクチャ
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Claude Code │────>│ A2UI MCP │────>│ Browser │
│ (Terminal) │ │ Server │ │ Preview │
└─────────────────┘ └─────────────────┘ └─────────────────┘
│ │ │
│ MCP (stdio) │ WebSocket │
└───────────────────────┴───────────────────────┘今後の展望
A2A (Agent-to-Agent) プロトコル対応
AG-UI連携
カスタムコンポーネントカタログ
イベントハンドリング(ボタンクリック等)
Reactレンダラー統合
ライセンス
MIT
参考
This server cannot be installed
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
- Alicense-qualityCmaintenanceA companion desktop app enabling bi-directional interaction between Claude Desktop and visual UI elements, allowing Claude to display, read from, and write to interactive interfaces while processing user events and feedback.Last updated58Apache 2.0
- FlicenseBqualityFmaintenanceEnables bidirectional control between Claude Code and Figma with real-time sync, allowing creation and manipulation of design elements, component management, and document inspection through natural language commands.Last updated504
- Flicense-qualityDmaintenanceA visual UI builder that enables Claude to create and update web interfaces in real-time by sending HTML updates to a browser through an MCP server with WebSocket communication.Last updated
- Alicense-qualityBmaintenanceEnables visual annotation on web pages for Claude Code, allowing element selection, comment addition, screenshot capture, and structured UI feedback for code fixes via an MCP server.Last updatedMIT
Related MCP Connectors
UI design from prompts, screenshots, and URLs for AI coding agents and theme tokens.
Live SEO workflow tools for Claude Code, Codex, and AI agents.
Live browser debugging for AI assistants — DOM, console, network via MCP.
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/mitsuru/a2ui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server