Telvine Learn

What Are MCP Apps? Interactive UI for Agent Plugins

Learn how MCP Apps connect tools to interactive HTML views, how they differ from skills, and how Telvine versions and governs plugin UI.

MCP Apps is an extension to the Model Context Protocol that lets an MCP server associate a tool with an interactive user interface. A compatible host renders that interface inside the conversation, using a sandboxed iframe. The model can supply the tool input; the person can then interact with a form, chart, map or review table.

The official MCP Apps specification defines the io.modelcontextprotocol/ui extension, ui:// resources, the text/html;profile=mcp-app MIME type and the host/view communication protocol.

MCP App, skill or plugin?

ConceptResponsibilityExample
PluginThe installable product and release boundaryFinance operations plugin
SkillTask instructions in SKILL.mdHow to review an invoice exception
ToolA callable operation with backend authorizationRetrieve permitted invoice records
MCP AppInteractive UI associated with a toolAn invoice exception review table

These components can work together. An MCP App does not turn a skill file into a frontend, and a frontend does not grant permission to run a backend operation.

How an MCP App reaches the screen

  1. The host advertises MCP Apps support during initialization.
  2. The server lists a tool with _meta.ui.resourceUri pointing to a ui:// resource.
  3. The host reads the HTML and renders it in a sandboxed iframe.
  4. The view initializes its bridge and receives tool input/results.
  5. The user interacts with the view; supported bridge calls can request tools or conversation updates.

The official overview explains capability negotiation, UI resources and progressive enhancement. Embedded UI requires host support. A model choice alone does not determine whether an app can render.

Build UI once, provide a text fallback

React, Vue, Svelte and plain JavaScript can all be used to author an MCP App. For Telvine delivery, build the application into a complete HTML artifact with its JavaScript and styles bundled inline. Telvine publishes that artifact rather than running a build service.

Publish a useful text fallback as part of the same version. For example, a budget calculator can describe its allocation formula and constraints to a client without embedded UI support. A fallback should explain the task; it should not claim an invisible interface has rendered.

Governance covers UI as well as instructions

In Telvine, mcp_app is a plugin component type. telvine.apps.json declares each app's title, description, built entrypoint, fallback and CSP origins. This file is a Telvine packaging extension, separate from the MCP protocol and the Agent Skills standard.

The HTML hash, fallback and CSP declarations are immutable within a plugin version. A changed interface or expanded origin list needs a new release. Organizations can require independent administrator approval and evaluation evidence before stable delivery. Plugin UI group policies apply to discovery, launch and direct resource reads.

The host enforces CSP and sandboxing. Telvine supplies the reviewed declarations and checks identity before returning the artifact. Keep credentials in the backend or host's credential store; do not embed access keys in HTML.

Measure the right boundary

An app launch is a plugin.component.invoked event with component_type: "mcp_app". A reported UI error uses plugin.component.error. These events contain metadata, not the HTML, prompts, tool arguments, data records or model output.

A launch does not prove a successful render or completed business task. Design separate evals for the interface and authorized backend workflow. Run those evals in your controlled environment and record their result metadata in Telvine.

Continue with MCP App examples, the publishing guide, or the governed MCP Apps overview.

On this page