SkillsReviewed · microsoft

Microsoft generate-mcp-app-ui

generate-mcp-app-ui is a Microsoft-authored assistant skill for developers who want visual chat widgets for their tools, but it requires actual tool-output JSON and supporting plugin files. It specifies a single HTML file using either an embedded MCP Apps runtime or explicitly approved public content delivery network (CDN) imports. The embedded-runtime approach excludes remote runtime assets; its template and inlining script are referenced outside the skill folder.

Researched 17 Nov 2026

In short.

generate-mcp-app-ui is a Microsoft-authored skill for developers turning tool results into visual chat widgets, but its embedded-runtime mode needs supporting files beyond SKILL.md. Version 1.1.0 describes compact, single-view HTML widgets, model-visible and widget-private result channels, optional tool refresh calls and host-controlled light and dark themes. It defaults to self-contained output unless public CDNs are explicitly allowed. The supporting runtime, references, template and inliner were not supplied. No code or widget was executed, so compatibility and output quality remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

The supplied scope is plugins/mcp-apps/skills/generate-mcp-app-ui/SKILL.md at commit 3a017729c414d7d0295ad201e2bf29be3304217c, together with the repository-root LICENSE notice. The referenced API and design documents, samples, self-contained runtime, inliner, dependency packages and surrounding plugin installation files are outside the supplied evidence. No code, installation, generated widget, host integration or browser preview was executed.

The overview

Identity

generate-mcp-app-ui is an assistant instruction skill in Microsoft's power-platform-skills repository at plugins/mcp-apps/skills/generate-mcp-app-ui/SKILL.md. Its metadata declares version 1.1.0, Microsoft Corporation as author and user-invocable aliases including /generate-mcp-app-ui, /mcp-app and /widget.

It guides an assistant to create widgets for Model Context Protocol (MCP) tool results. It is not itself a running widget service.

Assessment

This is a good candidate for developers who already have an MCP tool and want a focused visual presentation of its output. Its strongest documented features are explicit input requirements, a default without remote runtime assets and careful separation of tool-result channels.

Its design deliberately limits each widget to one view without tabs or page navigation. It therefore fits a chart, map or comparison card better than a multi-page application. Generated correctness, accessibility and host compatibility were not assessed.

Users

The intended users are developers building visual interfaces for MCP tool results inside chat conversations. Beginners need to provide a visual description and actual JSON returned by their tool; the skill explicitly rejects guessing the data shape.

Experienced developers can use its guidance on runtime result envelopes, widget-private metadata, host theme changes and interactive tool calls. Supported assistant products, host versions and installation methods are not established by the supplied file.

Capabilities

The skill directs generation of one HTML file with inline application logic and styling. Suggested presentations include maps for coordinates, charts for numerical data, tables for comparisons, cards for records and timelines for events.

When a tool name is supplied, it directs the assistant to connect interactive controls through callServerTool; otherwise the widget displays data read-only. It also covers light and dark themes, loading and error states, and refinements that preserve the existing delivery mode.

Using it

Requirements

Generation requires a description of the desired visual and actual tool-output JSON. The skill accepts a plain structured payload, an authoring envelope with content, structuredContent and meta, or a runtime result using _meta. A tool name is additionally needed for interactive calls.

The documented process assumes an assistant with file and command capabilities, supporting MCP Apps plugin files, and an MCP Apps host for the connected widget. Embedded-runtime output also needs Node.js to run the referenced inliner. Minimum versions and installation commands are unknown.

Mechanism

The assistant first normalizes the supplied data: plain payloads become structuredContent, authoring meta becomes runtime _meta, and existing runtime envelopes retain their channels. The document distinguishes model-visible content and structuredContent from widget-private _meta.

The included CDN template creates an MCP Apps App, connects to its host, passes incoming ontoolresult data to a renderData placeholder that the generating assistant must implement, and responds to host theme changes using Fluent theme tokens. Embedded-runtime output obtains App and those tokens from globalThis.McpAppsRuntime after an inliner replaces a marker in the HTML.

Setup

The documented sequence is to read the plugin's API and design references, inspect the actual tool result, choose a visual and write an HTML file such as ./mcp-app-widget.html. Embedded-runtime mode starts from a separate self-contained template.

Its required final command is node "${PLUGIN_ROOT}/scripts/inline-self-contained-runtime.js" --input "./mcp-app-widget.html". The document says this replaces the runtime marker and rejects remaining external resource URLs. The script and template were not supplied or executed, so that behavior is unverified. CDN mode instead uses the included template after explicit approval of public CDNs.

Example

An illustrative use is a comparison table for records returned by an existing MCP tool. The developer supplies the actual JSON and identifies which fields should be compared; the assistant then designs one compact view around those fields.

Providing the tool's name would allow a refresh control through callServerTool. Without a name, the documented behavior is read-only rendering. This scenario follows the instructions; no corresponding widget was generated or run.

Assessment & evidence

Limitations

The API reference, design guidelines, self-contained template, runtime inliner and weather-refresh example are outside the supplied folder evidence. SKILL.md alone therefore does not establish that the embedded-runtime process works or that interactive calls behave correctly.

The included CDN helper fills missing runtime fields with defaults; it does not itself wrap a plain payload, rename authoring meta or validate field types. Those responsibilities remain with the authoring process and generated logic. The CDN imports also lack fixed package versions, with Fluent Web Components using a beta tag.

Embedded-runtime mode forbids remote fonts, images, map tiles, imports and literal fetch calls. Visuals needing those assets must use another permitted approach or obtain explicit approval for CDN mode.

Design tradeoffs

The design keeps input in the conversation and detailed explanation in the assistant's text, reserving the widget for visual value. This could reduce duplicated controls and content, although no usability measurements are supplied.

Embedding the runtime avoids remote runtime assets but requires a separate build step and locally drawn visuals. CDN mode permits external libraries and is described as producing smaller output; no measured size or performance comparison is provided.

Alternatives

The documented choice is between embedded-runtime output and approved CDN output. The former suits environments that prohibit remote assets; the latter allows external visualization libraries when they add value.

Experienced developers could adapt the included App-based template by hand, an alternative inferred from the supplied code. No competing skill, development-time comparison or quality benchmark is established by the evidence.

Source evidence

The implementation description and CDN template are in the original skill file at [https://raw.githubusercontent.com/microsoft/power-platform-skills/3a017729c414d7d0295ad201e2bf29be3304217c/plugins/mcp-apps/skills/generate-mcp-app-ui/SKILL.md]. The supplied licence is at [https://raw.githubusercontent.com/microsoft/power-platform-skills/3a017729c414d7d0295ad201e2bf29be3304217c/LICENSE].

These files establish documented behavior and reuse terms. They do not establish successful installation, generated-output quality, runtime compatibility or execution results.

Access & freshness

Costs

Operating cost is unknown. The supplied material gives no model usage prices, host fees, service subscriptions or CDN charges. The MIT licence grants reuse rights but does not establish the cost of generating, hosting or using widgets.

Rights

The supplied repository-root MIT licence permits use, copying, modification, distribution, sublicensing and sale of the software and associated documentation. Copies or substantial portions must retain the copyright and permission notice. The licence disclaims warranties.

This supports redistributing the captured skill file with the supplied notice. Licences for imported libraries, the embedded runtime and other referenced files were not supplied and are not established by this notice alone.

Version and freshness

The skill declares version 1.1.0. Both supplied files are pinned to repository commit 3a017729c414d7d0295ad201e2bf29be3304217c, captured on 17 November 2026 at 00:39:41 UTC.

The supplied material does not establish a release date, later revisions or compatibility with current dependency versions. The pinned source identifies the described snapshot; it does not pin the packages imported by its CDN template.

Before adoption

Obtain the surrounding MCP Apps plugin files and confirm that the intended assistant and chat host support the documented approach. Prepare actual tool-output JSON and decide whether remote runtime assets are allowed.

Before relying on generated output, verify result-channel handling, unexpected data types, empty and error states, theme changes and any refresh calls in the intended host. For embedded-runtime output, verify the final inlined HTML contains no runtime marker or forbidden remote assets. These are recommended next steps; none was performed.

Evidence for this report

LICENSEnotice · checked 2026-11-17