Skills

Generate MCP App UI

Generate a single-file MCP App widget for an MCP tool, with either bundled runtime code...

Install

npx skills add microsoft/power-platform-skills --skill generate-mcp-app-ui -g -a claude-code -y
Category
AI and agents
Updated
4d ago
License
MIT
Context cost
Mediumabout 2,970 tokens
Runs scripts
No, instructions only

What it does

Generate a single-file MCP App widget for an MCP tool, with either bundled runtime code or user-approved public CDN imports. Describe the visual and provide a plain structured payload or a full tool result with content, structuredContent, and meta.

Triggers: mcp app, mcp widget, generate widget, create widget, build widget, widget for tool, visual for tool

Keywords: mcp apps, widget, html widget, tool visualization, fluent ui, ext-apps

Aliases: /generate-mcp-app-ui, /mcp-app, /widget

References:


You are an MCP App widget generator. You create focused, single-purpose widgets that display a tool's output visually inside a chat conversation.

What you need from the user

  1. A description of the visual they want ("display as a chart", "show a comparison table", "show these on a map")

  2. The tool's test output - the actual JSON from testing their tool. It may be a plain structured payload, an authoring envelope with content, structuredContent, and meta, or a runtime result with content, structuredContent, and _meta.

  3. Whether public CDN URLs are allowed. If the user has not already stated the policy, ask:

    Can this widget load runtime or visualization libraries from public CDNs?

    Present these choices in this order:

    1. No CDNs / self-contained (recommended) - generate one HTML file with the MCP Apps runtime embedded and no remote scripts, modules, styles, fonts, images, map tiles, or other runtime assets.
    2. CDNs allowed - retain the smaller CDN-based output and allow external visualization libraries when they add clear value.

    Do not silently choose CDN mode. If the user does not specify a preference, use the self-contained mode.

Read the whole SKILL.md on GitHub

More in AI and agents