Learning resourcesReviewed · Model Context Protocol

SEP-1865: MCP Apps - Interactive User Interfaces for MCP

SEP-1865 is the Model Context Protocol design document for MCP Apps, an optional extension that lets MCP servers deliver interactive HTML interfaces to AI host applications; it is for MCP server and host developers, and its main catch is that it is a historical record, so the detailed and current requirements are in a separate specification. It covers the ui:// resource scheme, tool-to-UI metadata, JSON-RPC messaging between a sandboxed iframe and the host, and the security reasoning and rejected alternatives.

Researched 13 Nov 2026

In short.

SEP-1865 is the Model Context Protocol design document for MCP Apps, an optional extension that lets MCP servers deliver interactive HTML user interfaces to host applications. It is aimed at MCP server authors and host (client) implementers. Its main catch is that the page is a preserved historical record of the accepted design: the authoritative, detailed requirements are in a separate specification. The page gives the proposal's status as Final and its type as Extensions Track, created 2025-11-21. It proposes predeclared UI resources under the ui:// URI scheme, a link from tools to those resources through metadata, communication between the UI and the host over MCP's JSON-RPC base protocol, and mandatory iframe sandboxing. The first content type is HTML (text/html;profile=mcp-app). The page gives rationale, rejected alternatives and security mitigations at a high level. It contains no install steps, code samples, pricing, licence terms or test results.

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

The SEP-1865 page at [https://modelcontextprotocol.io/seps/1865-mcp-apps-interactive-user-interfaces-for-mcp.md] is a historical record of the MCP Apps design as accepted, and it states that protocol changes made after finalisation are not reflected. It gives only a high-level summary and relies on separate specifications for the details: capability negotiation and the full threat model are in the full MCP Apps specification [https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/draft/apps.mdx], and the current MCP specification [https://modelcontextprotocol.io/specification/latest.md] and its changelog are named as the authoritative requirements. The page also links to reference implementations (the MCP-UI SDKs and the ext-apps prototype) and to MCP-UI and the Apps SDK as related work, but does not reproduce their contents. The SEP contains no licence statement, copyright notice or terms of use, so reuse terms are unknown. It also contains no installation steps, code samples, test results, benchmarks or pricing. As a result, SDK and host behaviour, costs, exact metadata field names, message formats and host support are unknown from this page.

The overview

What this resource is

This is a documentation page at [https://modelcontextprotocol.io/seps/1865-mcp-apps-interactive-user-interfaces-for-mcp.md]: SEP-1865, titled MCP Apps - Interactive User Interfaces for MCP. SEP is the Model Context Protocol's proposal format. The page lists Status as Final, Type as Extensions Track, and Created as 2025-11-21. Nine authors are named: Ido Salomon, Liad Yosef, Olivier Chafik, Jerome Swannack, Jonathan Hefner, Anton Pidkuiko, Nick Cooper, Bryan Ashley and Alexi Christakis. The PR is listed as #1865 [https://github.com/modelcontextprotocol/modelcontextprotocol/pull/1865] in the modelcontextprotocol/modelcontextprotocol repository.

A note at the top says the SEP has reached Final status and is kept as a historical record of the design as accepted. It also says later protocol changes are not reflected and tells readers to use the current specification [https://modelcontextprotocol.io/specification/latest.md] and its changelog for authoritative requirements. The abstract says the extension is proposed per SEP-1724; the page does not explain what SEP-1724 contains.

The resource is a design and rationale document, not software. It does not ship code. It points to a full specification and a reference prototype hosted elsewhere.

Overall assessment

As a document, the page is a clear and well-organised explanation of why MCP Apps exists, what it adds, and which design choices were made and rejected. It is useful for understanding the intent and security approach of the extension before reading the full specification. It cannot replace that specification: it gives only a high-level outline and leaves protocol details, the threat model and capability negotiation to a linked document.

The page contains no test results, benchmarks or host-support data. It does not show how the extension behaves in practice, how it performs, or which hosts support it.

Who it is for

The page is most relevant to MCP server authors who want their tools to show an interactive interface rather than plain text or structured data. It also matters to developers of MCP hosts (the applications that connect to MCP servers), who need to decide how to display and control that content. Security reviewers who must judge the risk of running interface code supplied by a server will find the sandboxing and auditability points useful.

Beginners can follow the motivation section, which explains the problem in plain terms: MCP had no standard way to deliver rich visual interfaces, so different hosts could behave differently. People who only use an AI chat application and do not build MCP servers or hosts are not the intended audience.

What the proposal covers

The page lists four elements. First, UI Resources: predeclared resources that use the ui:// URI scheme. Second, Resource Discovery: tools reference UI resources through metadata. Third, Bi-directional Communication: UI iframes talk to the host using standard MCP JSON-RPC. Fourth, a Security Model with mandatory iframe sandboxing and auditable communication.

The initial content type is HTML, identified as text/html;profile=mcp-app, with a stated intention to allow other formats later. The page also mentions an externalIframes capability, which it says may effectively allow external URLs to be embedded. It does not define that capability in detail.

The page says the extension aims to unify the approaches pioneered by MCP-UI and OpenAI's Apps SDK into a single, open standard. The page does not show whether implementations built on it can actually do without host-specific adapters.

Using it

Requirements and prerequisites

The page states that MCP Apps is an optional extension that clients and servers must explicitly negotiate through the extension capabilities mechanism, so both sides must support it. Existing implementations that do not support it are said to keep working unchanged.

The page does not state software versions, SDK requirements, language or runtime needs, or minimum host versions. Those details are unknown from this evidence and would have to come from the full specification and the ext-apps repository. A host that displays this content must be able to show sandboxed iframes. That follows from the design, but the page does not spell it out as a requirement.

How it works

The design treats the interface as a predeclared resource at a ui:// address. A tool refers to that resource through metadata. Because the template is declared up front, a host can fetch it before the tool runs, keep presentation (the template) separate from data (the tool result) to help caching, and review the HTML before showing it. The page does not give the exact metadata field names.

Once displayed, the HTML runs in a sandboxed iframe. The iframe and host exchange messages using MCP's JSON-RPC base protocol. The page says this reuses existing MCP type definitions and SDKs and brings JSON-RPC features such as timeouts and errors. The page does not describe the transport used between iframe and host.

The page lists these security mitigations: iframe sandboxing with restricted permissions, predeclared templates that hosts can review, auditable (loggable) UI-to-host messages, and the option for hosts to require explicit user approval for tool calls started by the UI. The page leaves the full threat model analysis to the linked full specification.

Setup and adoption

The page contains no installation or setup instructions, because it is a design record. It points to two places for implementation. One is the full specification at [https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/draft/apps.mdx]. The other is the material listed under Reference Implementation: the MCP-UI client and server SDKs [https://github.com/idosal/mcp-ui] and the ext-apps repository [https://github.com/modelcontextprotocol/ext-apps], described as a prototype implementation by Olivier Chafik.

The SEP itself gives no steps for installing, configuring or using any SDK. Those details belong to the linked documents and are not part of this page.

Illustrative flow

The page has no code example. The following plain-language walk-through is put together from the page's description and is not sample code from the source. A server declares an interface as a resource at a ui:// address with the content type text/html;profile=mcp-app. One of its tools carries metadata pointing to that resource. Once the server and a host that supports the extension have negotiated it, the host can fetch that template before the tool runs and review the HTML before showing it. The host displays the HTML in a sandboxed iframe with restricted permissions. Messages from the interface to the host go through JSON-RPC, which the host can log. If the interface starts a tool call, the host can require the user's explicit approval.

The page does not say when the host displays the template relative to a particular tool call, how tool results reach the interface, or where the interface appears relative to the tool result. Exact field names, message names and payloads are also missing, so a working implementation cannot be written from this page alone.

Assessment & evidence

Limitations and risks

The main limitation is the page's own caveat: it records the design as accepted at the time and does not reflect later protocol changes, so details may differ from the current specification. Its metadata also shows Sponsor as None (seeking sponsor) next to a Final status. The page does not explain this, so readers should check the current specification and changelog.

The design is deliberately narrow. The first version supports HTML only. External URL embedding was deferred because of concerns about model visibility, the inability to screenshot content, and the review process. Embedded resources and resource links in tool results were also deferred.

The security discussion is a short list of mitigations. The page itself says that hosting interactive UI from potentially untrusted servers needs careful consideration, and it refers to the full specification for the threat model. The page does not show how well any host enforces the sandbox, consent prompts or audit logging. It gives no benchmarks, test results or interoperability results.

Design reasoning

The rationale section gives three decisions. Predeclared ui:// resources were chosen over inline embedding so hosts can fetch templates in advance, cache them separately from data, and review them for security. Reusing MCP's JSON-RPC was chosen over a custom message protocol so existing type definitions and SDKs carry over and JSON-RPC features such as timeouts and errors come for free. An HTML-only first release was chosen for several reasons: HTML is widely supported and understood, it has the simplest security model (a standard iframe sandbox), it allows screenshot or preview generation (for example with html2canvas), and the page calls it sufficient for most observed use cases.

The motivation lists the problems without a standard: servers cannot count on UI support, hosts may behave differently, security and audit patterns are inconsistent, and developers must maintain separate adapters for different hosts such as MCP-UI and the Apps SDK. The page offers these as the reasons for a single optional, backwards-compatible extension. These are the authors' arguments; the page gives no measurements to support them.

Alternatives

The page names the alternatives it considered. Embedded resources (the MCP-UI approach, returning the UI inside tool results) are easier for server developers but were deferred because of gaps in performance optimisation and difficulties with review. Resource links were deferred for the performance reason. A custom message protocol, as in MCP-UI with message types like tool, intent and prompt, was set aside; the page notes those messages can be translated to a subset of the proposed JSON-RPC messages. A global API object was rejected because it needs host-specific injection and does not work with external iframe sources. External URLs in the first version were deferred.

As related approaches, the page names MCP-UI [https://mcpui.dev/] and OpenAI's Apps SDK [https://developers.openai.com/apps-sdk/] and says both informed the design. The page does not compare them on features, maturity or cost.

Evidence base

The SEP-1865 page is a design record. It summarises the extension at a high level and leaves protocol details, the full threat model and capability negotiation to a separate specification. It gives no benchmarks, test results, interoperability data or licence information. Its claims about adoption (MCP-UI adopters such as Postman, HuggingFace, Shopify, Goose and ElevenLabs) and about OpenAI's Apps SDK are the authors' statements, and the page provides no supporting data for them. The page gives the Apps SDK launch as November 2025 without citing a source for that date.

The page links to two specifications for requirements: the full MCP Apps specification [https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/draft/apps.mdx], which it says holds capability negotiation and the full threat model, and the current MCP specification [https://modelcontextprotocol.io/specification/latest.md] with its changelog, which it names as authoritative. Separately, under Reference Implementation, it lists code rather than requirements: the MCP-UI client and server SDKs [https://github.com/idosal/mcp-ui], which it says support the proposed patterns, and the ext-apps repository [https://github.com/modelcontextprotocol/ext-apps], which it describes as containing a prototype implementation by Olivier Chafik. The page itself contains no code.

Access & freshness

Costs

The page gives no pricing information: no prices, fees, usage limits or access terms. Several costs are unknown from this evidence: reading the document, building a server or host that supports MCP Apps, and using any third-party hosts or services the page mentions (such as ChatGPT, Postman, Shopify or ElevenLabs).

Rights and licence

The SEP page contains no licence statement, copyright notice or terms of use. This page does not say whether, or on what terms, the SEP text, the linked full specification or the linked MCP-UI and ext-apps repositories can be reused. Anyone planning to reuse this material would need to find licence information at the original sources.

Freshness

The proposal was created on 2025-11-21 and is marked Final. The page shows no last-updated date or version number, so when it was last edited is unknown. The page itself warns that protocol changes made after finalisation are not reflected, so anything that changed in the extension after acceptance may be missing. Readers should check the current specification and its changelog.

Suggested next steps

If you build MCP servers: read the full specification [https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/draft/apps.mdx] and the current specification [https://modelcontextprotocol.io/specification/latest.md] with its changelog to get exact metadata names, message shapes and capability negotiation. Check whether the hosts you target support the extension.

If you build or evaluate hosts: pay close attention to the security section and to the threat model in the full specification. Decide how you would handle sandbox settings, template review, audit logging and user approval of tool calls started by the UI.

If you only want background: this page is enough to understand the purpose, the main design choices and the rejected alternatives. Because the page is a historical record, confirm any detail against the current specification before relying on it.

Evidence for this report

selected-page.txtselected · checked 2026-11-13