Interactive UI for agents

MCP Apps: Governed UI for Agent Plugins

An MCP App gives an agent tool an interactive interface: a chart, form, map or review table inside a compatible host. Telvine treats the UI as a governed component of your plugin, with an immutable bundle, a release version and access checks.

Publish the product

Use Telvine when the plugin is ready to be treated like software.

The first useful milestone is simple: one plugin directory, one owner, one release record, and one measurement model.

npm i -g @telvine/cli
telvine login
telvine publish ./my-plugin

What is an MCP App?

MCP Apps is the io.modelcontextprotocol/ui extension to the Model Context Protocol. A tool points to a ui:// resource. The host reads its HTML and renders it in a sandboxed iframe, then passes tool results to the interface.

MCP Apps is separate from Agent Skills. SKILL.md provides instructions; an MCP App provides an interactive view. A plugin can package both, alongside tools and connectors. UI support depends on the host, rather than the model alone.

Examples of MCP Apps

The official MCP Apps repository includes map, PDF viewer, budget allocator, scenario modeler, cohort heatmap and system monitor examples. These are reference applications demonstrating the protocol, not Telvine customer deployments.

For an enterprise plugin, useful design patterns include invoice exception tables, expense receipt review and cashflow scenario planners. External data access and consequential actions still need authenticated backend tools and permission checks.

  • Maps: inspect locations and geographic results interactively.
  • PDF viewers: navigate pages alongside the conversation.
  • Budget planners: adjust allocations and inspect the remaining budget.
  • Scenario modelers: compare assumptions and outcomes.
  • Review tables: inspect records before asking the agent to take an action.

A UI release is a plugin release

Add telvine.apps.json and built HTML under ui/ to your plugin, then publish with the Telvine CLI. Telvine validates the bundle hash and records an mcp_app component. Changing the HTML, fallback or CSP requires a new plugin version.

Review the artifact source and its declared network/resource origins in Governance. When approval enforcement is enabled, a different administrator must approve before release. Required evaluation evidence still gates stable promotion.

Runtime access and metadata-only measurement

The /mcp endpoint serves only live stable app versions permitted by the caller's identity. Both cached tool calls and direct UI resource reads recheck access. A new draft preserves the current live UI.

Plugin component events record launches and reported UI errors against the exact delivered version. Tool input data is passed to the host transiently and is excluded from telemetry. Launching an app does not prove that it rendered or that the user's task succeeded.

Where it applies

Use cases that deserve a maintained plugin

Budget planning

Use the bundled Telvine example to explore a local budget scenario without external APIs or transactions.

Finance operations

Design invoice and expense review interfaces around your authorized accounting tools.

Platform teams

Review UI versions, network declarations, identity policies and evaluation evidence together.

FAQ

Common questions

Do MCP Apps work in every agent?
Embedded UI requires a host that supports the MCP Apps extension and HTML MIME type. Telvine negotiates that capability per connection and returns text fallbacks to other clients.
Can I publish a React MCP App?
Yes. Build it and its dependencies into one self-contained HTML artifact before publishing. Telvine stores and serves the bundle; it does not run your frontend build or execute uploaded server code.
Is an MCP App the same as a skill?
No. A skill supplies task instructions. An MCP App supplies interactive UI associated with a tool. Both can be versioned plugin components.
How are UI permissions enforced?
Telvine rechecks plugin UI access and the live version on tool discovery, launch and resource reads. The host enforces the declared CSP in its sandbox. Backend actions require their own authorization.