Mcp apps builder

From awslabs/cli-agent-orchestrator · View interactive version

Mcp apps builder is an AI agent skill from the GitHub repository awslabs/cli-agent-orchestrator. Load the official MCP Apps builder skills (create-mcp-app, migrate-oai-app, add-app-to-server, convert-web-app) from github.com/modelcontextprotocol/ext-apps. Use when the user says "build an MCP App", "add a ui:// view to my MCP server", "create an interactive MCP App from scratch", "migrate from O

How to use this skill

Skill file

MCP Apps Builder (ext-apps Agent Skills bridge)

The Model Context Protocol ext-apps

repo ships four official Agent Skills that teach an AI coding agent how to

build MCP Apps

(SEP-1865 — interactive ui:// UIs that render inside a chat host). This skill

tells you when to reach for them and how to install them, so MCP App work is

done with the canonical, up-to-date guidance instead of guesswork.

The four builder skills

| Skill | Use it when… |

|---|---|

| CODE0 | Scaffolding a new MCP App (server + interactive UI) from scratch. |

| CODE0 | Adding an interactive ui:// view to an existing MCP server's tools. |

| CODE0 | Converting an existing OpenAI Apps SDK app to MCP Apps. |

| CODE0 | Turning an existing web app into a hybrid web + MCP App. |

Install / load them

Pick whichever matches the agent you're driving (skills live in the agent's

skills directory — install once, then ask the agent to build):

```

/plugin marketplace add modelcontextprotocol/ext-apps

/plugin install mcp-apps@modelcontextprotocol-ext-apps

```

```

npx skills add modelcontextprotocol/ext-apps

```

```

git clone https://github.com/modelcontextprotocol/ext-apps.git

cp -r ext-apps/plugins/mcp-apps/skills/create-mcp-app ~/.kiro/skills/create-mcp-app

# …repeat for add-app-to-server / migrate-oai-app / convert-web-app

```

Skills dirs by agent: Kiro CLI ~/.kiro/skills/, Claude Code ~/.claude/skills/,

VS Code/Copilot ~/.copilot/skills/, Gemini CLI ~/.gemini/skills/,

Codex ~/.codex/skills/, Cursor ~/.cursor/skills/, Goose

~/.config/goose/skills/. Verify with: ask the agent "what skills do you have?"

For complete per-agent installation instructions and troubleshooting, see references/installation-per-agent.md.

Building inside CAO (read this for `ui://cao/*` work)

CAO's own views (ui://cao/dashboard / agent / event-stream) are hand-rolled

single-file React bundles — not generated by create-mcp-app — because CAO

enforces stricter invariants than the starter templates. When you add a new

CAO view, use add-app-to-server's checklist for the spec-correct shape, but

keep CAO's guardrails:

scan:jit gate fails otherwise).

test/test_http_only_boundary.py).

ratchet** (coverage:ratchet).

domain / prefersBorder; tool _meta.ui: resourceUri / visibility).

For the full guardrail checklist and how to run each CI gate locally, see references/cao-view-guardrails.md.

For the operator/extend playbook (turn it on, troubleshoot, the submit_command

choke point, host-delegated actions), load the cao-mcp-apps skill.

Sources of truth

Build an MCP App

SDK CODE0 (v1.7.4) ·

API reference

client matrix

Gotchas

Build → Test → Record Workflow

When building or extending CAO MCP Apps views, always follow this complete cycle:

cd cao_mcp_apps
npm run build:all         # Build all view bundles (single-file HTML)
npm test                  # Unit tests (vitest)
npm run test:e2e          # Playwright E2E against built bundles
npm run demo              # Record demo video + screenshots + GIF

The npm run demo step captures the current state of all views (including the unified

fleet command center) into docs/media/ — this is what README.md and docs/mcp-apps.md

display. Always regenerate after modifying views so documentation stays current.

For CAO-specific views (ui://cao/*), also verify:

For installation details per agent host, see references/installation-per-agent.md.

For CAO view guardrails, see references/cao-view-guardrails.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.