How it works
Add UI Agent to Claude Desktop or any MCP-compatible client using your API key. The AI connects directly to your live canvas.
Your AI calls MCP tools to create frames (projects) and pages within them. Set a custom Google Font for the whole frame in one command.
The AI appends nodes incrementally — layout sections, content, cards, images — and you see every change live on the canvas.
MCP Tools
Every tool your AI needs to create, navigate, and sculpt UI layouts on the live canvas.
list_frames
List all canvas frames
create_frame
Create a new frame with optional font
update_frame
Set Google Font for the whole frame
list_pages
List pages in a frame
create_page
Create a new page inside a frame
get_page
Retrieve the current node tree
append_root_nodes
Add layout sections incrementally
append_child_nodes
Fill sections with content nodes
update_node_props
Patch a single node's classes/content
remove_node
Remove a node and its subtree
update_page
Full node tree replace (fallback)
Quick Start
UI Agent works with Claude Desktop and any MCP-compatible AI client.
Sign in with your wallet, go to API Keys in the sidebar, and generate a new key.
Open claude_desktop_config.json and add the server entry:
{
"mcpServers": {
"ui-agent": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://ui.agent.example.com/api/mcp/sse"
],
"env": {
"HEADER_Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Or pass the key as a query param: /api/mcp/sse?api_key=YOUR_KEY
Tell Claude what you want to build. It will call the MCP tools automatically:
You: "Build me a SaaS landing page with a hero,
feature grid, and pricing section.
Use DM Sans font."
Claude: [calls update_frame with font_family: "DM Sans"]
[calls create_page]
[calls append_root_nodes → hero, features, pricing...]
[calls append_child_nodes → fills each section...]