Adds interactive UI widgets to MCP servers so tools can render forms, pickers, confirmation dialogs, and dashboards inline in chat instead of returning plain text. Works in both Claude and ChatGPT. The skill covers when to actually use a widget versus just returning text (spoiler: most tools don't need one), how widgets attach to tools via resource URIs, and the iframe runtime mechanics with the App class. Also explains when elicitation covers your use case and you don't need to write any UI code at all. If you're building something where Claude can't reliably infer structured input or the output is inherently visual, this is the path. Otherwise stick with text.

skills.sh installs
7.1K
GitHub stars
46.7K
last updated
Aug 21, 2026

Install

$ npx -y skills add anthropics/claude-plugins-official --skill build-mcp-app --agent claude-code

Installs into .claude/skills of the current project.

Files

Build an MCP App (Interactive UI Widgets)

An MCP app is a standard MCP server that also serves UI resources — interactive components rendered inline in the chat surface. Build once, runs in Claude and ChatGPT and any other host that implements the apps surface.

The UI layer is additive. Under the hood it's still tools, resources, and the same wire protocol. If you haven't built a plain MCP server before, the build-mcp-server skill covers the base layer. This skill adds widgets on top.

Testing in Claude: Add the server as a custom connector in claude.ai (via a Cloudflare tunnel for local dev) — this exercises the real iframe sandbox and hostContext. See https://claude.com/docs/connectors/building/testing.

Claude host specifics

Sponsors

Details

Repository
github.com/anthropics/claude-plugins-official
Categories
Backend & APIs, DevOps & CI/CD, AI & Agent Building
First seen
Apr 16, 2026

More from anthropics/claude-plugins-official

All 24
1agricidaniel avatarseo-googleagricidaniel/claude-seoGoogle SEO APIs: Search Console (Search Analytics, URL Inspection, Sitemaps), PageSpeed Insights v5, CrUX field data with 25-week history, Indexing API v3, and 7.1Kskills.sh installs
2pixijs avatarpixijs-scene-graphicspixijs/pixijs-skillsUse this skill when drawing vector shapes and paths in PixiJS v8. Covers the Graphics API: shape-then-fill methods (rect/circle/ellipse/poly/roundRect/star/regu7.1Kskills.sh installs
3trailofbits avatargh-clitrailofbits/skillsEnforces authenticated gh CLI workflows over unauthenticated curl/WebFetch patterns. Use when working with GitHub URLs, API access, pull requests, or issues.7.1Kskills.sh installs
4rorkai avatarasc-subscription-localizationrorkai/app-store-connect-cli-skillsBulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 reso7Kskills.sh installs
5rorkai avatarasc-app-create-uirorkai/app-store-connect-cli-skillsCreate a new App Store Connect app record via browser automation. Use when there is no public API for app creation and you need an agent to drive the New App fo7Kskills.sh installs
6leonardomso avatarrust-skillsleonardomso/rust-skillsComprehensive Rust coding guidelines with 265 rules across 26 categories. Use when writing, reviewing, or refactoring Rust code. Covers ownership, error handlin7Kskills.sh installs