New advertisers: 50% off your first month with code FIRSTMONTHSee slots
modelcontextprotocol avatar

Add App To Server

Guide for enriching an existing MCP server's tools with interactive MCP Apps UI via the @modelcontextprotocol/ext-apps SDK.

skills.sh installs
1.2K
GitHub stars
3.1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers analyzing existing tools, converting selected tools to App tools, and adding app-only helper tools for UI polling or fetching
  • Includes framework templates for vanillajs, React, Vue, Svelte, Preact, and Solid, plus a Vite build pipeline bundled with vite-plugin-singlefile
  • Enforces SDK v2 migration for servers on @modelcontextprotocol/sdk v1, mapping imports, zod schemas, and request handler signatures
  • Designed for developers who already run an MCP server with tools and want inline UI without breaking text-only clients

Install

$ npx -y skills add modelcontextprotocol/ext-apps --skill add-app-to-server -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Add UI to MCP Server

Enrich an existing MCP server's tools with interactive UIs using the MCP Apps SDK (@modelcontextprotocol/ext-apps).

How It Works

Existing tools get paired with HTML resources that render inline in the host's conversation. The tool continues to work for text-only clients — UI is an enhancement, not a replacement. Each tool that benefits from UI gets linked to a resource via _meta.ui.resourceUri, and the host renders that resource in a sandboxed iframe when the tool is called.

Getting Reference Code

Clone the SDK repository for working examples and API documentation:

git clone --branch "v$(npm view @modelcontextprotocol/ext-apps version)" --depth 1 https://github.com/modelcontextprotocol/ext-apps.git /tmp/mcp-ext-apps

API Reference (Source Files)

Read JSDoc documentation directly from /tmp/mcp-ext-apps/src/:

Details

Repository
github.com/modelcontextprotocol/ext-apps
Categories
Skill & Plugin Building, Frontend & UI Code, Backend & APIs
First seen
May 16, 2026

More from modelcontextprotocol/ext-apps

All 4

Similar to Add App To Server

More Skill & Plugin Building