cao-mcp-apps
Skill1.4k starsChanged 2 months agoApache-2.0View on GitHub
Enable, operate, and extend CAO's MCP Apps surface — the host-rendered fleet dashboard visible inside MCP App hosts (Claude Desktop, ChatGPT, VS Code Copilot, Goose, Postman). Use when the user says "enable MCP Apps in CAO", "the ui://cao views aren't rendering", "rebuild MCP Apps bundles", "add a new ui://cao/* view", or "configure the MCP Apps OAuth scope layer". Operates on the CAO_MCP_APPS_ENABLED surface and cao_mcp_apps/ build system. Not for the localhost:9889 browser dashboard, not for plugins, providers, or session management.
Trending
Quiet since October.about the whole repository
Who's talking about awslabs/cli-agent-orchestrator
- theplenkov-forks/cli-agent-orchestrator“Add Devin CLI provider”GitHub · Jun 28, 2026 · 4 reactions
- theplenkov-forks/cli-agent-orchestrator“Add Devin CLI provider”GitHub · Jun 23, 2026 · 4 reactions
- pavelkrotkov/aipro“fix(v3): persist CAO attribution for each accepted turn”GitHub · Sep 19, 2026 · 1 reactions
- theplenkov-forks/cli-agent-orchestrator“[feat] Official devcontainer feature for CAO”GitHub · Apr 3, 2026 · 1 reactions
- theplenkov-forks/cli-agent-orchestrator“[feat] Non-interactive / headless mode for containerized deployments”GitHub · Apr 3, 2026 · 1 reactions
The biggest 5 of 20 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 20
Talked about on GitHub (20 times).
On GitHub · 20
- Jun 28, 2026Add Devin CLI provider — theplenkov-forks/cli-agent-orchestrator4 reactions · 31 comments
- Jun 23, 2026Add Devin CLI provider — theplenkov-forks/cli-agent-orchestrator4 reactions · 30 comments
- Sep 19, 2026fix(v3): persist CAO attribution for each accepted turn — pavelkrotkov/aipro1 reaction · 1 comment
- Apr 3, 2026[feat] Official devcontainer feature for CAO — theplenkov-forks/cli-agent-orchestrator1 reaction
- Apr 3, 2026[feat] Non-interactive / headless mode for containerized deployments — theplenkov-forks/cli-agent-orchestrator1 reaction
15 more on GitHub
- Apr 3, 2026[feat] Make CORS origins configurable — theplenkov-forks/cli-agent-orchestrator1 reaction
- Apr 3, 2026[bug] tmux PTY attach inherits TERM=dumb in container environments — theplenkov-forks/cli-agent-orchestrator1 reaction
- Apr 3, 2026[bug] WebSocket PTY rejects connections from Docker bridge IPs — theplenkov-forks/cli-agent-orchestrator1 reaction
- Apr 3, 2026[feat] Add Devin CLI provider — theplenkov-forks/cli-agent-orchestrator1 reaction · 1 comment
- Apr 3, 2026[feat] Plugin/provider extension API — register providers without patching source — theplenkov-forks/cli-agent-orchestrator1 reaction
- Oct 4, 2026agent-plugins.github.awslabs.cli-agent-orchestrator: init at 2.5.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.awslabs.cli-agent-orchestrator: v2.5.1 → refs/tags/v2.5.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026Code review of a python segfault fix caused "cybersecurity prevention" — openai/codex0 reactions · 1 comment
- Sep 25, 2026agent-skills.github.awslabs.cli-agent-orchestrator: init at 2.5.1 — sudosubin/agents.nix0 reactions
- Sep 18, 2026RFC: modernize Passdown orchestration for ACP and cross-provider agents — vunm-io/passdown0 reactions · 8 comments
- Sep 10, 2026Add September 10 verified AI CLI discoveries — hasnocool/AI-CLI-Catalog0 reactions · 2 comments
- Jul 20, 2026feat: add CLI Agent Orchestrator (CAO) integration — ag-ui-protocol/ag-ui0 reactions · 8 comments
- Jul 20, 2026feat: add CLI Agent Orchestrator (CAO) integration — plauzy/ag-ui0 reactions · 2 comments
- Jul 20, 2026fix(cao-integration): canonical awslabs link + recurrence guard (P0-3, F-SL4) — plauzy/ag-ui0 reactions · 1 comment
- Apr 3, 2026[feat] Plugin/provider extension API — register providers without patching source — theplenkov-forks/cli-agent-orchestrator0 reactions · 1 comment
In this repository52 other files it gives its agents.
- cao-pluginSkill
- cao-providerSkill
- cao-agent-routingSkill
- cao-session-managementSkill
- cao-supervisor-protocolsSkill
- cao-worker-protocolsSkill
- aidlc-portfolioSkill
- agui-authorSkill
- cao-agent-routingSkill
- cao-contributingSkill
- cao-learningSkill
- cao-mcp-appsSkill
- cao-memorySkill
- cao-pluginSkill
- cao-providerSkill
- cao-session-livenessSkill
- cao-session-managementSkill
- cao-supervisor-protocolsSkill
- cao-worker-protocolsSkill
- cao-workflowSkill
- mcp-apps-builderSkill
- agui-authorSkill
- cao-agent-routingSkill
- cao-contributingSkill
- cao-learningSkill
- cao-memorySkill
- cao-pluginSkill
- cao-providerSkill
- cao-session-livenessSkill
- cao-session-managementSkill
- cao-supervisor-protocolsSkill
- cao-worker-protocolsSkill
- cao-workflowSkill
- mcp-apps-builderSkill
- migrate-agent-pluginSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- escaped-skillSkill
- alphaSkill
- alphaSkill
- betaSkill
- not-the-folder-nameSkill
- alphaSkill
- linkedSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 46
All mutations flow through submit_command(kind, payload) — kinds: send_message, assign, create_session (standard).
- Very specific: line 95
Use add-app-to-server when adding a new ui://cao/<name> view.
- Distinctive: line 115
After building or modifying views, regenerate the demo media:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CAO MCP Apps
Operator + developer playbook for CAO's host-rendered fleet UI. Reference docs:
docs/mcp-apps.md; example: examples/mcp-apps/.
Authoritative spec & sources of truth:
MCP Apps Overview ·
Build an MCP App ·
capability negotiation ·
client matrix ·
stable spec 2026-01-26/apps.mdx
(SEP-1865, Status: Stable) ·
SDK @modelcontextprotocol/ext-apps v1.7.4
(API ref ·
repo) ·
provenance PR #1865.
Turn it on
The surface is default-off. Enable and run:
export CAO_MCP_APPS_ENABLED=true
uv run cao-server # :9889 (REST + SSE /events)
uv run cao-mcp-server # registers tools/resources via the mcp_apps pluginIt is packaged as the built-in mcp_apps plugin (cao.plugins entry-point). The
plugin's on_mcp_server hook registers the ui://cao/* resources, the five app
tools, the topology widget, and advertises the io.modelcontextprotocol/ui
capability — best-effort and default-off, so nothing changes when the flag is unset.
What the operator gets
ui://cao/dashboard— fleet overview + the mutation entry point.ui://cao/agent— one terminal's status, output tail, inbox, sub-agents.ui://cao/event-stream— live governance ticker (app-only).cao://widget/topology+/widgets/topology/— build-free live event view.
All mutations flow through submit_command(kind, payload) — kinds:
send_message, assign, create_session (standard); interrupt, pause,
resume (lifecycle); shutdown_session (destructive).
For full payload schemas and scope requirements per kind, see references/submit-command-kinds.md.
Full capability scope (what the views use)
Beyond tools/call, the views exercise the spec's bidirectional channel:
- Host-delegated open-link (
ui/open-link) — the dashboard shows "Open full Web UI ↗" →http://127.0.0.1:9889only when the host advertiseshostCapabilities.openLinks(gate onapp.canOpenLinks(); the sandbox forbidswindow.open). - Display modes (
ui/request-display-mode) — views declareavailableDisplayModes: ["inline","fullscreen"]atui/initialize. - Streamed tool input (
ui/notifications/tool-input/-partial) — render before the result lands. - Model-context notes (
ui/update-model-context) — body-free gesture summaries keep the agent aware without leaking message contents.
preferredFrameSize and requiredScopes are CAO additions, not spec
_meta.ui fields (the spec sizes via containerDimensions +
ui/notifications/size-changed); CAO requests no elevated permissions.
See assets/mcp-apps-example.md for a worked MCP Apps integration example.
Gotchas
- Host doesn't offer the views → confirm
CAO_MCP_APPS_ENABLED=trueand thatinitializeadvertisesio.modelcontextprotocol/ui(the host must speak SEP-1865). Non-SEP-1865 hosts still get text-only tool results. - Views are blank / fail to load → the React bundles aren't built. Run
cd cao_mcp_apps && npm ci && npm run build:all. The topology widget needs no build and is the quickest smoke test (curl /widgets/topology/topology.html). - Mutations rejected with 403 → the auth layer is enabled and the token lacks
cao:write/cao:admin(cao:adminfordelete_session). UnsetAUTH0_DOMAIN/CAO_AUTH_JWKS_URIto disable enforcement. - Events don't stream → check
GET /events(SSE) directly; the bus is drop-on-slow, so a stalled consumer silently loses events — re-hydrate viacao_fetch_history.
Extending the surface
- Agents emitting UI intents into this surface? Load the
agui-authorskill — it teaches how to callemit_uiwith the six allow-listed components. Youremit_uiintents feed the L2 constructs that these views render. - Building or migrating an MCP App? Load the
mcp-apps-builderskill first. It equips the official ext-apps Agent Skills (create-mcp-app,add-app-to-server,migrate-oai-app,convert-web-app) and the build guide. Useadd-app-to-serverwhen adding a newui://cao/<name>view. - New command kind → add it to
submit_command's classifier + router inmcp_server/app_tools.py(map to a real Backplane HTTP endpoint; never bypass the HTTP-only boundary) and to the scope pre-check. - New view → add a
ui://cao/<name>resource inext_apps/apps.py+ an entry point undercao_mcp_apps/, build it, and tag the rendering tool withui_meta(...). For the full step-by-step view creation procedure, see references/extending-views.md. - New host-delegated action → add a thin method on the
McpAppbridge (cao_mcp_apps/src/shared/mcpApp.ts) that issues the specui/*request (e.g.openLink→ui/open-link,requestDisplayMode→ui/request-display-mode); gate UI on the matchinghostCapabilitiesflag and cover it with amockHosttest. - Keep the boundary →
mcp_server/*must reach state only over HTTP; the AST guard test (test/test_http_only_boundary.py) enforces it. - Keep bundles JIT-free → no
eval/new Function(host CSP forbids it); the CI scan fails the build otherwise.
Recording & Verification
After building or modifying views, regenerate the demo media:
cd cao_mcp_apps && npm run build:all && npm run demoThis runs scripts/record-demo.mjs which:
- Boots the E2E harness server (serves built bundles in a real MCP-host iframe)
- Drives Chromium through: dashboard → agent detail → unified → event-stream
- Records video (
docs/media/mcp-apps-demo.webm) - Captures screenshots (
docs/media/mcp-apps-{dashboard,agent,unified,event-stream}.png) - Generates an optimized GIF (
docs/media/mcp-apps-demo.gif) when ffmpeg is available
The GIF is referenced in README.md and docs/mcp-apps.md — always regenerate after
view changes so docs stay current.
Env overrides: CHROMIUM_BIN (path to Chrome), FFMPEG_BIN (for GIF), DEMO_PORT.
For a worked example of the full MCP Apps surface in action, see assets/mcp-apps-example.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

