In short.
build-mcp-app is an assistant skill for developers building interactive widgets inside AI chats, but it supplies starting examples rather than a finished application. It explains how MCP tools return data while separately registered HTML resources provide the interface. Supporting references cover messaging, sandbox behavior, widget templates, payload budgeting, public-server protection and Claude directory submission. The scaffold leaves its database integration undefined, and picker examples insert data directly into HTML. The examples were not executed; cross-host compatibility, reliability and operating costs remain unknown.
Researched and written by an AI model and checked by a second AI model. How it works
Covers plugins/mcp-server-dev/skills/build-mcp-app/SKILL.md and its six reference files: abuse-protection.md, apps-sdk-messages.md, directory-checklist.md, iframe-sandbox.md, payload-budgeting.md and widget-templates.md. Includes LICENSE and plugins/mcp-server-dev/LICENSE as related notices, all at commit fd30cee3ecd5a8ee772733c5d20c0f2bae2da2f0. Excludes the rest of the repository, sibling skills, linked external documentation and dependency implementations. Installation, execution, deployment, runtime security and actual host compatibility were not assessed.
The overview
Identity
build-mcp-app is a version 0.1.0 assistant skill in Anthropic's claude-plugins-official repository. Its folder contains SKILL.md and six supporting reference documents. It provides instructions and embedded code examples rather than a standalone application or a running MCP service.
The original folder is [https://github.com/anthropics/claude-plugins-official/tree/main/plugins/mcp-server-dev/skills/build-mcp-app]. The skill describes an additive interface layer for an MCP server, with remote hosting and local MCPB packaging as deployment options.
Assessment
The resource is useful when a developer already understands their MCP server's deployment and needs a searchable picker, visual display or another interaction that text handles poorly. Its strongest material concerns practical integration problems: blocked scripts, host-mediated links, oversized tool results and widgets that remain active in older conversation turns.
Treat the code as a starting point. The main server example depends on an undefined db object, and the files do not supply a complete project configuration or pinned dependency versions. The source's troubleshooting observations are author reports; no executed results establish that these examples work with a particular current host.
Users
The intended users are developers, or coding assistants working with developers, who can modify a server and write HTML and JavaScript. Beginners will need familiarity with MCP tools, Node.js packages and basic browser development. The skill points to build-mcp-server for the underlying server layer; that sibling skill is outside these files.
Good fits include large searchable lists, visual previews, charts and job-status interfaces. For a yes/no question, short choice list or flat form, the resource recommends MCP elicitation: a protocol-level way to request structured user input without building a custom widget.
Capabilities
The files include picker, confirmation, progress, display and carousel examples. They describe widgets sending visible conversation messages, updating model context silently, calling server tools, opening links, requesting downloads and asking for supported display modes.
Additional guidance covers light and dark themes, host styling, automatic height adjustment, stale widget instances, large result sets, image delivery, public endpoint protection and Claude connector-directory requirements. These are documented patterns; their runtime behavior was not assessed.
Using it
Requirements
The illustrated implementation uses Node.js, TypeScript, HTML and the npm packages @modelcontextprotocol/sdk, @modelcontextprotocol/ext-apps, zod and express. A developer must provide the actual data source and application logic. Minimum Node.js and package versions are not specified.
Interactive rendering requires a host that implements the MCP apps surface. The source targets Claude and ChatGPT, but these files do not establish a cross-host compatibility matrix. Local application access requires a local server and separate MCPB packaging work.
Mechanism
The server registers a tool and an HTML resource separately. The tool declares _meta.ui.resourceUri and returns data as text or JSON. The resource serves HTML using text/html;profile=mcp-app. A supporting host fetches that resource, creates a sandboxed iframe and delivers the tool result to the widget's ontoolresult handler.
Inside the iframe, the ext-apps App class mediates communication with the host and server. Handlers are installed before app.connect(). The lifecycle reference describes a fresh iframe for each tool call, with older instances remaining in the transcript; it therefore includes a supersession pattern to prevent stale interactions.
Setup
The documented starting point installs the four npm packages, creates the MCP tool and resource registrations, and supplies a widget HTML file. The developer must replace the database placeholder, define the returned data and configure the project's build and startup process. The examples use remote Streamable HTTP; local deployment instead points to stdio transport and the separate build-mcpb skill.
The HTML must include the ext-apps browser bundle rather than rely on CDN imports. The supplied approach rewrites the bundle's final export into globalThis.ExtApps and replaces an HTML placeholder with it. A browser preview route with a fake App implementation is also provided, but it does not exercise the real host sandbox.
For Claude directory submission, the checklist specifies OAuth or no authentication, appropriate tool annotations, accessible layouts, host theming and three to five PNG screenshots at least 1,000 pixels wide. It states that static bearer tokens are limited to private deployments. Current directory acceptance requirements are not independently established.
Example
The main example is a contact picker. A pick_contact tool accepts an optional filter and is intended to retrieve matching contacts from a database. It returns contact data and references a separately registered picker resource. The widget receives the result, renders names and email addresses, and sends a user-role message containing the selected contact's identifier when a row is clicked.
This demonstrates how a selection can return to the conversation. It does not implement a database, a completed contact-management action or authorization for a later write. The example was not run.
Assessment & evidence
Limitations
The picker examples insert contact names, email addresses or item labels into innerHTML without escaping them. Untrusted values could therefore be interpreted as markup. A real application should use safe text rendering or appropriate sanitization. The confirmation template sends a generic conversation message; it does not implement an operation-specific approval record or server-side authorization.
The progress documentation leaves an integration detail unresolved: the server example emits notifications/progress, while the widget template listens through ontoolresult. The supplied snippets do not demonstrate how intermediate progress notifications reach that handler. Likewise, the bundle rewrite assumes a particular export format, without pinned package versions or execution evidence.
The payload reference reports approximate host limits and suggests a 130,000-character threshold. Its sample measures JavaScript string length, not encoded byte size, estimates truncation using the first row and does not recheck the final result. That sample does not establish a reliable bound for variable-sized rows. Reported host limits and compatibility claims remain unverified.
Design rationale
Separating tool data from HTML presentation gives the same tool a conversational result and a richer visual interface. The source describes text fallback for hosts without the apps surface and recommends one focused widget per tool. This architecture is a reasonable fit for adding visual interaction to an existing server, although the files provide no measurements of usability, portability or development-time savings.
The tradeoff is additional frontend and host-integration work: sandbox restrictions, payload handling, theme changes and stale interfaces all need attention. A widget is most justified when those costs serve a concrete task such as searching a large list or inspecting a visual result.
Alternatives
A normal MCP tool returning meaningful text or JSON is the simpler option when no visual interaction is needed. For basic confirmation, short enumerations and flat forms, the skill recommends elicitation rather than custom HTML.
The sibling build-mcp-server skill is referenced for server fundamentals, and build-mcpb for local packaging. Their contents are outside this resource, so their completeness and suitability were not assessed. No comparative evidence establishes an advantage over other widget frameworks or development guides.
Evidence
The source comprises SKILL.md and six references covering abuse protection, messaging, directory submission, iframe restrictions, payload budgeting and widget templates, together with two Apache 2.0 notices. The revision-specific main document is [https://raw.githubusercontent.com/anthropics/claude-plugins-official/fd30cee3ecd5a8ee772733c5d20c0f2bae2da2f0/plugins/mcp-server-dev/skills/build-mcp-app/SKILL.md].
These files support descriptions of the intended architecture and static observations about the examples. No code was executed. The files do not supply reproducible build results, a demonstrated deployment, cross-host test results or measured benchmarks. Statements about previously observed sandbox failures remain the source author's reports.
Access & freshness
Costs
The supplied Apache 2.0 notices grant copyright permissions without a license royalty. They do not establish the total cost of using the skill. Claude or ChatGPT access, model usage, hosting, tunnels, upstream APIs, storage and bandwidth prices are unknown.
The public-server reference identifies compute, upstream API quota and large-payload bandwidth as resources that need protection. It recommends response caching and rate limits. It also explains that authless claude.ai traffic shares proxy addresses, limiting the usefulness of per-IP user quotas; it recommends OAuth when true per-user limits matter. No cost measurements or savings figures are supplied.
Rights
Both the repository-level and mcp-server-dev plugin notices contain Apache License 2.0. Its terms permit reproduction, modification and redistribution, subject to conditions including supplying the license, marking changed files and retaining applicable notices. If a distribution includes a NOTICE file, its relevant attribution notices must also be preserved.
The license includes a conditional patent grant, grants no general trademark permission and disclaims warranties. The supplied notices support redistribution of the skill files under those terms; the licenses of npm dependencies and external services were not assessed.
Freshness
The supplied snapshot was captured on 2026-11-17 at 07:55:57.298 UTC from commit fd30cee3ecd5a8ee772733c5d20c0f2bae2da2f0. SKILL.md declares version 0.1.0. The capture timestamp does not establish the author's last update, the latest available version or the current contents of main.
Desktop connection instructions, host payload limits, egress address ranges, App APIs and directory requirements can change. Their current accuracy is unknown, and the examples do not pin dependency versions.
Practical next steps
Start with one read-only tool and one focused widget. Supply the missing backend, define and validate the result schema, replace unsafe HTML interpolation, and handle malformed or oversized results. Record the dependency versions used and verify the bundle-loading approach against them.
Before relying on the interface, validate it in the intended host, including its actual iframe sandbox, text fallback, theme changes, resizing, stale interactions and large datasets. A browser preview shim alone cannot establish those behaviors. If progress is needed, explicitly connect and verify the notification path.
Before public hosting, choose authentication and quota controls appropriate to the data and users. Follow the reference's topology-specific proxy guidance, protect upstream API usage and enforce limits across replicas where necessary. Verify current host and directory requirements before deployment or submission.
