This skill should be used when the user asks to "create an MCP App", "add a UI to an MCP tool", "build an interactive MCP View", "scaffold an MCP App", or needs guidance on MCP Apps SDK patterns, UI-resource registration, MCP App lifecycle, or host integration. Provides comprehensive guidance for building MCP Apps with interactive UIs.
SkillScore95Maintained
Automatic
◆AI Engineer pack
Last verified 8/14/2026
What it changes
Passed 21 of 22 test cases with the skill, and 9 of 22 without it.
Without skill41%
With skill95%
Checks it passed that the model alone missed
Logs debug messages using app.sendLog.
Uses standard McpServer from the core MCP SDK.
Identifies type definitions inside src/spec.types.ts.
and 11 more in the full report
12 fixed9 passed either way1 still failing0 broke
Pass-rate lift
+55 pp
Tokens
+43%
Agent turns
0%
Response time
-46%
Model gemini-3.6-flashMeasured 8/14/2026v121 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 12
Prompt
I need to clone the official MCP embedded apps repository locally to inspect framework templates and source code. What exact git command and branch argument should I execute?
What was checked, without and with the skill
Checked
Without skill
With skill
Executes git clone referencing the package version retrieved from npm view.
Missed
Passed
case-13 · gemini-3.6-flash · 8/14/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md179 linessingle file
Create MCP App
Build interactive UIs that run inside MCP-enabled hosts like Claude Desktop. An MCP App combines an MCP tool with an HTML resource to display rich, interactive content.
Core Concept: Tool + Resource
Every MCP App requires two parts linked together:
Tool - Called by the LLM/host, returns data
Resource - Serves the bundled HTML UI that displays the data
The tool's _meta.ui.resourceUri references the resource's URI.
Host calls tool → Host renders resource UI → Server returns result → UI receives result.
Quick Start Decision Tree
Framework Selection
Framework
SDK Support
Best For
React
useApp hook provided
Teams familiar with React
Vanilla JS
Manual lifecycle
Simple apps, no build complexity
Vue/Svelte/Preact/Solid
Manual lifecycle
Framework preference
Project Context
Adding to existing MCP server:
Import registerAppTool, registerAppResource from SDK
Add tool registration with _meta.ui.resourceUri
Add resource registration serving bundled HTML
Creating new MCP server:
Set up server with transport (stdio or HTTP)
Register tools and resources
Configure build system with vite-plugin-singlefile
Getting Reference Code
Clone the SDK repository for working examples and API documentation:
This skill should be used when the user asks to "add an app to my MCP server", "add UI to my MCP server", "add a view to my MCP tool", "enrich MCP tools with UI", "add interactive UI to existing server", "add MCP Apps to my server", or needs to add interactive UI capabilities to an existing MCP server that already has tools. Provides guidance for analyzing existing tools and adding MCP Apps UI resources.