$10K cash or $15K in credits. Enter by 15 Dec →

What are MCP Apps? Interactive interfaces explained

Published

Learn how MCP Apps pair tools with UI resources, what the host renders, and how to check support, sandboxing and data boundaries.

MCP Apps are an official Model Context Protocol (MCP) extension that pairs a server’s tool with an interactive HTML interface. The server declares the tool with a ui:// resource and serves its HTML; the host, the AI application, fetches and renders it in the conversation, typically in a sandboxed iframe; the host’s MCP client keeps the server connection. The official map-server example shows a 3D globe. Viktor, an AI employee, connects to remote MCP servers by URL.

For an operations lead, the useful question is whether seeing and manipulating a result improves a decision. A chart can make a regional backlog easier to compare. A form can make several related choices easier to review together, while a single order status may need no interface beyond a sentence.

What is the Model Context Protocol, and who created it?

The Model Context Protocol is an open-source standard for connecting AI applications to external systems: data sources, tools and workflows. The MCP documentation compares it to a USB-C port for AI applications.

Anthropic introduced and open-sourced MCP on 25 November 2024, and its announcement says “MCP was created at Anthropic by David Soria Parra and Justin Spahr-Summers.” On 9 December 2025, Anthropic donated MCP to the Agentic AI Foundation, a directed fund under the Linux Foundation.

How the Model Context Protocol works covers the protocol in more depth. MCP Apps sit on top of it as the presentation and interaction layer.

How MCP connects hosts, clients and servers

MCP has three participants, defined in the architecture overview:

  • MCP host: the AI application that coordinates one or more MCP clients.
  • MCP client: a component the host creates for each server, which keeps a dedicated connection to it.
  • MCP server: a program that provides context, such as a connector to a ticketing system or a database.
MCP host (the AI application)
├── MCP client 1 ──> MCP server A: tools, resources, prompts
└── MCP client 2 ──> MCP server B: tools, resources, prompts
                        └── MCP Apps: a tool can also point to a ui:// resource

Servers expose three core primitives: tools the AI application can call to act, resources that supply data, and prompts, reusable templates that structure interactions with the model. Messages use JSON-RPC 2.0, carried over the stdio transport for a local server or the Streamable HTTP transport for a remote one.

What problem do MCP Apps solve?

Ordinary MCP tools can return text, images, resources and structured data. Those outputs can answer a question without creating a separate application surface. MCP Apps add a way to work with the result inside the conversation: explore a visualization, review a form or navigate a document.

The official MCP Apps overview describes a tool paired with a UI resource. That pairing matters: the interface has a defined relationship to the tool and its result, not an arbitrary website opened beside a chat.

The MCP blog announced MCP Apps as “the first official MCP extension.” It describes tools that can return “dashboards, forms, visualizations, multi-step workflows, and more.”

Consider a backlog review. A text answer can list counts by region, while a visual interface can put those counts on a common scale. If the reader needs only the largest count, text is enough; if the reader compares several categories repeatedly, an interface earns its place.

How a tool connects to a UI resource

The documented model has three parts: the tool declaration, the UI resource and the host.

The tool declaration identifies the interface. Its metadata includes _meta.ui.resourceUri, pointing to a resource with a ui:// URI. That reference tells a supporting host which interface belongs with the tool; it is not a promise that an arbitrary URL will become an embedded app.

The server supplies the resource. The resource contains HTML and may bundle the JavaScript and CSS needed to render it. The official build guide separates server registration from UI implementation: the server registers a tool and serves a UI resource, while the interface handles results and user interaction.

The host controls presentation and communication. It fetches the resource and renders the interface. The overview notes that a host can preload the resource before the tool is called, so results can arrive after the interface has initialized.

That sequence means an empty chart area is not evidence that the underlying query returned no records. The interface needs distinct loading, successful-empty and error states, or a person could treat missing data as a business result.

The app and host communicate through a JSON-RPC-based protocol over postMessage. Some messages are shared with core MCP, such as tools/call, while most are specific to the UI extension and carry a ui/ prefix.

What the host renders and the server supplies

Responsibility should be explicit before anyone connects business data.

Component

Responsibility

Evaluation question

MCP server

Supplies the tool and UI resource

What data does the tool return?

Host

Renders the resource and mediates app communication

Does this host support the extension and enforce the required policy?

UI

Displays results and handles permitted interactions

Can the user distinguish loading, empty data and failure?

Workflow owner

Defines the authorized task and review boundary

What may happen after someone sees the result?

A server offering MCP tools does not establish that it offers MCP Apps. A host supporting MCP does not establish support for this extension, so confirm both ends for the exact environment under review.

Also separate an interface event from a business action. Changing a chart’s display order is different from requesting another tool call, and requesting another call is different from authorizing a payment or sending a message.

Which hosts support MCP Apps?

Support depends on the host. The MCP Apps overview says “Host support varies by client” and links a client matrix that tracks extension support across clients.

ChatGPT and Claude document it on their own pages. OpenAI’s developer documentation says “ChatGPT implements the open MCP Apps standard for UI returned by an MCP server.” Anthropic’s documentation describes an MCP App as “interactive UI that your MCP server renders inside a Claude conversation, such as an interactive chart or map.”

Check the specific plan and organization settings too. Anthropic’s page notes that some MCP App capabilities “aren’t available in every organization.”

How do MCP servers plug into AI applications like Claude and ChatGPT?

A local server runs on the same machine as the host and talks over stdio. A remote server runs at an HTTPS address, and the host connects to it over Streamable HTTP after the person adds the server’s URL in the host’s connector settings.

Viktor takes remote servers the same way. On his custom integrations page, a person selects Add Custom, chooses MCP Server and enters the server URL; Viktor supports remote servers reachable over HTTPS, not local ones running on a person’s machine.

Other hosts document their own steps:

  • Claude: Anthropic’s custom connectors article says Claude connects to a remote MCP server “from Anthropic’s cloud infrastructure, rather than from your local device,” so the server must be reachable over the public internet.
  • ChatGPT: OpenAI’s MCP server page says to deploy production MCP servers “at stable HTTPS endpoints using the streamable HTTP transport.”

Viktor also runs an MCP server of his own at https://api.viktor.com/mcp. An MCP client connected to it can start a task with the ask_viktor tool and wait for the result.

Connect your first remote MCP server to Viktor (up to $100 in free credits) →

How is an MCP app different from an API, a plugin or a CLI tool?

Each option answers a different question about who calls what, and where the result appears.

Approach

Who defines the connection

What the AI application gets

Interface

Direct API

The developer writes code against one service’s endpoints

Nothing until a developer wraps it as a tool

None of its own

Function calling in a model API

The developer declares functions for one application

Calls that the developer’s own code executes

None of its own

CLI tool

A person or script runs commands on one machine

Text output, if the application can run commands

Terminal

MCP server

The server’s author, once, for MCP hosts in general

Tools, resources and prompts discovered at connection time

Text, images and structured data

MCP App

The server’s author, as an extension of an MCP server

The same tools, plus a UI resource

Interactive HTML rendered by a supporting host

The main difference is reuse. An API integration or a set of declared functions belongs to the application that wraps it, while an MCP server is written once for hosts that speak the protocol, which the MCP documentation sums up as “build once and integrate everywhere.”

Plugins can package MCP servers too. OpenAI’s plugin architecture page says a plugin for ChatGPT and Codex can contain skills, “an MCP server that exposes tools and connects to external systems,” both, or lifecycle hooks for the Codex runtime, and that the server can also return a UI resource.

How does authentication work when an AI application connects to an MCP server?

For remote servers, MCP’s authorization guide says authorization “follows OAuth 2.1.” It calls authorization optional and strongly recommends it when a server works with user-specific data, needs to audit who performed which actions, grants access to APIs that require user consent, serves enterprise environments with strict access controls, or rate-limits or tracks usage per user.

Servers on the stdio transport work differently: the guide says they “should retrieve credentials from the environment instead.” For the wider picture, see how MCP and OAuth work together.

In the OAuth flow the MCP server acts as an OAuth resource server that validates access tokens, and the client receives an access token from the authorization server. Viktor’s own MCP server, for example, accepts OAuth 2.1 with PKCE or a scoped Viktor API key, and tools such as run_script are never exposed over OAuth.

An MCP App does not get its own credentials. Anthropic’s custom connectors article says actions taken inside an interactive connector “use the same permissions you granted when connecting the tool.”

How to build a minimal MCP App

The walkthrough below follows the official build guide as read on 1 December 2026. The steps and code were not run for this article; check the guide for the current version before building.

Prerequisites: Node.js 20 or higher, and familiarity with MCP tools and resources.

  1. Create the project. Keep server code (server.ts) apart from the UI (mcp-app.html and src/mcp-app.ts).
  2. Install the packages. The guide installs @modelcontextprotocol/ext-apps and @modelcontextprotocol/sdk, with Vite and vite-plugin-singlefile to bundle the UI into one HTML file.
  3. Register the tool and the UI resource. The tool’s metadata points to a ui:// address, and a resource handler serves the bundled HTML.
  4. Write the UI. The page uses the App class to connect to the host and receive the tool result.
  5. Test it. Run npm run build, then npm run serve, which starts the server at http://localhost:3001/mcp. Then connect a host that supports MCP Apps.

The core of the guide’s server file is two registrations:

// Shortened from the official MCP Apps build guide; not run for this article.
// In the guide, html is read from dist/mcp-app.html, the bundled UI.
const resourceUri = "ui://get-time/mcp-app.html";

registerAppTool(server, "get-time", {
  title: "Get Time",
  description: "Returns the current server time.",
  inputSchema: {},
  _meta: { ui: { resourceUri } },
}, async () => ({
  content: [{ type: "text", text: new Date().toISOString() }],
}));

registerAppResource(server, resourceUri, resourceUri,
  { mimeType: RESOURCE_MIME_TYPE },
  async () => ({
    contents: [{ uri: resourceUri, mimeType: RESOURCE_MIME_TYPE, text: html }],
  }));

For testing, the guide offers the basic-host example in the ext-apps repository, which renders the UI resource in a sandboxed iframe at http://localhost:8080. It also describes an AI-assisted route: a create-mcp-app skill that scaffolds the server, UI and configuration files.

Where to find MCP servers and MCP Apps

The MCP Registry is “the official centralized metadata repository for publicly accessible MCP servers.” It is in preview, and it is intended to be consumed primarily by downstream aggregators such as MCP server marketplaces.

To list a server of your own, publish its metadata to the registry. Server names use a reverse DNS format tied to a verified GitHub account or domain, which is how the registry ties a server to its owner.

For MCP Apps specifically, the ext-apps repository holds ready-to-run examples. The MCP Apps overview lists, among others:

  • Visualization: map-server (CesiumJS globe) and threejs-server (Three.js scenes).
  • Data exploration: cohort-heatmap-server and customer-segmentation-server.
  • Business applications: scenario-modeler-server and budget-allocator-server.
  • Media: pdf-server and video-resource-server.

Viktor’s custom integrations dialog links to the Awesome Remote MCP Servers list for servers to try.

A worked example: a static backlog chart

This illustrative example uses invented aggregate counts and a fixed snapshot, not a customer dataset or a product test.

An operations lead asks to see open demo requests by region. The tool returns three values:

Region

Open requests

Static bar, one block per request

North

8

████████

South

5

█████

West

3

███

The tool’s declaration references the chart resource. The host retrieves its HTML and passes in the result, and the interface displays the chart with the same values in a text table, a label saying “Fixed sample snapshot,” and a total of 16 requests.

No live refresh, customer lookup or write action is needed. A future interactive version would need its own decisions about which controls are local display changes and which request new data.

The business outcome is a clearer review decision: North has the largest open queue in this snapshot, so the lead can ask who owns that queue. The chart does not establish why the backlog exists or whether demand increased.

For the follow-up work, Viktor is the AI employee who lives in Slack and Microsoft Teams, connects to 9,800+ tools, and does the work. A team can ask him to prepare a review summary from an authorized aggregate report, with any external message left for a person to approve. That is a separate workflow, not a claim that Viktor hosts MCP Apps.

Give Viktor an approved report to summarize (up to $100 in free credits) →

Check support, sandboxing and data exposure

The MCP Apps overview describes a sandboxed iframe and host-mediated communication. The sandbox prevents the app from reaching the parent window’s DOM, cookies or local storage, and the resource can declare content security policy settings and request capabilities.

Treat those mechanisms as boundaries to inspect, not a reason to approve every app. Ask:

  • Host support: Does the chosen host support the extension in the environment your team will use?
  • Data passed to the UI: Does the chart need individual records, or would aggregates answer the question?
  • External resources: Which origins may supply scripts, images or other assets?
  • Requested capabilities: Does a chart need anything beyond displaying its supplied data?
  • Tool access: Which additional calls may the interface request, and how does the host control them?
  • Consequential actions: Who approves outbound messages, financial actions or permission changes?

To vet a third-party server, check who publishes it (a registry namespace tied to the vendor’s domain is one signal), which tools it exposes and which of them change data. MCP’s security best practices cover attacks such as token passthrough and the confused deputy problem.

An iframe boundary does not decide whether a person was entitled to receive the dataset. Minimize the data before it reaches the interface: for a regional count, names and email addresses add exposure without answering the question.

When Viktor uses a remote MCP server, the server’s tools sit on a connected account like any other app. Integration permissions give each tool one level, Off, Run automatically or Ask for confirmation, and decide whether the connection is open to the workspace or to selected people.

Do not put credentials into UI resources or sample data. If access is denied, stop and resolve the authorized access path rather than trying a different route.

When plain tool output is enough

Use plain output when the task has a short answer, the reader needs a stable record, or an interface would add controls without improving the decision. “There are eight open requests in North” may be sufficient for a single question.

Consider MCP Apps when the reader needs to inspect relationships or work through several related choices in the conversation. Prefer a separate web application when the work needs a standalone destination rather than a conversation-bound interface.

MCP Apps are not a general business app or an integration catalog. No support for the extension follows from the existence of a connector.

For the work around the interface, understanding what an AI employee is helps separate the person-facing view from the job someone needs completed. Define the decision, the authorized inputs and the approval boundary first.

Try Viktor on a report your team needs to review (up to $100 in free credits) →

Ask ChatGPTAsk Claude
4.8 on G2G2 rating: 4.8 out of 5 stars

Start free. Viktor delivers.

Start for free today.

Get Started for Free