build-mcp-app

Build interactive UI widgets for MCP servers using registered resources and host messaging.

1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/victorjoshi9/content--1- --skill build-mcp-app-victorjoshi9
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-mcp-app
Source: https://github.com/victorjoshi9/content--1-/tree/main/.claude/plugins/marketplaces/claude-plugins-official/plugins/mcp-server-dev/skills/build-mcp-app
Command: npx skills add https://github.com/victorjoshi9/content--1- --skill build-mcp-app-victorjoshi9

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you add rich, inline user interfaces to MCP servers when plain text is not enough. It solves the gap between simple tool output and interactive experiences like picking records, confirming actions, previewing charts, and showing live progress.

Core Features & Use Cases

  • Widget-enabled tools: Attach a dedicated UI resource to a tool so the host renders an iframe widget alongside the tool result.
  • Interactive UI patterns: Build forms, pickers, confirmation dialogs, dashboards, previews, and progress views for structured or visual tasks.
  • Safe host messaging: Use the App runtime to send messages, update model context, call server tools, and open links through host-mediated APIs.
  • Robust deployment guidance: Supports both remote MCP apps and MCPB-packaged local apps, with clear guidance for sandboxing, CSP, and graceful fallback behavior.
  • Use case: A contact picker can display searchable results inline, let the user choose one item, and send that selection back into the conversation without leaving chat.

Quick Start

Use the build-mcp-app skill to design an inline widget for your MCP tool, wire its resource URI and tool response together, and make the widget return user actions back to the conversation.

Frequently Asked Questions about build-mcp-app

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add interactive UI to an MCP server?

To add interactive UI to an MCP server, you attach a dedicated UI resource to a tool so the host renders an iframe widget alongside the tool result for forms, pickers, and previews.

What are MCP interactive widgets used for?

MCP interactive widgets are used for structured tasks where plain text is insufficient, enabling forms, confirmation dialogs, charts, previews, and progress views directly inline within the chat.

Can I use sandbox-safe HTML to build MCP apps?

Yes, you can use sandbox-safe HTML to build MCP apps, relying on the ext-apps App runtime and host-mediated messaging to render and communicate reliably across compliant MCP hosts.

How do MCP widgets send user actions back to the conversation?

MCP widgets send user actions back to the conversation by using the App runtime to call host-mediated APIs, updating model context and returning selections without leaving the chat interface.

Do I need an iframe sandbox for MCP server tools?

Yes, you need an iframe sandbox for MCP server tools to ensure safe host messaging and reliable rendering, with clear guidance for sandboxing, CSP, and graceful fallback behavior.

What is the best way to deploy local MCP apps with interactive widgets?

The best way to deploy local MCP apps with interactive widgets is using MCPB-packaged local apps, which support sandboxing and graceful fallback behavior alongside remote MCP app deployments.