
Create Mcp App
modelcontextprotocol/ext-appsOfficial
Scaffold and wire interactive UI resources into MCP tools, covering SDK patterns, lifecycle, and host integration.
- skills.sh installs
- 2.4K
- GitHub stars
- 3.1K
- last updated
- Aug 21, 2026
What it does
- Covers the tool-plus-resource pairing, where
_meta.ui.resourceUrilinks a tool to its bundled HTML UI resource - Includes starter templates for vanilla JS, React, Vue, Svelte, Preact, and Solid, each with
vite-plugin-singlefilebuilds - Enforces handler registration before
app.connect(), textcontentfallbacks for non-UI hosts, and explicit CSP configuration for all network requests - Designed for developers adding a UI to an existing MCP server or starting a new one with transport setup
Install
$ npx -y skills add modelcontextprotocol/ext-apps --skill create-mcp-app -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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,registerAppResourcefrom SDK - Add tool registration with
_meta.ui.resourceUri - Add resource registration serving bundled HTML
Details
- Repository
- github.com/modelcontextprotocol/ext-apps
- Categories
- Skill & Plugin Building, Frontend & UI Code
More from modelcontextprotocol/ext-apps
All 4Similar to Create Mcp App
More Skill & Plugin Building
mcpvercel-labs/json-render5.9K installsIntegration for building MCP servers that serve interactive json-render UIs inside MCP-capable clients.
add-app-to-servermodelcontextprotocol/ext-apps1.2K installsGuide for enriching an existing MCP server's tools with interactive MCP Apps UI via the @modelcontextprotocol/ext-apps SDK.
convert-web-appmodelcontextprotocol/ext-apps1K installsTurn an existing web app into an MCP App that still runs standalone, from one shared codebase.
build-mcp-appanthropics/claude-plugins-official7.4K installsBuild interactive UI widgets for MCP servers that render inline in Claude and other compliant hosts.
mcp-apps-buildermcp-use/mcp-use33.7K installsBuild, modify, debug, and verify TypeScript MCP servers and interactive Views with mcp-use.
chatgpt-app-buildermcp-use/mcp-use9.4K installsBuild MCP servers and interactive MCP Apps with mcp-use, validated against installed types and exports.