Skip to content

MCP-UI: install, tools and limits

Better Design

Direct answer

MCP-UI is an SDK that implements MCP Apps, the official MCP extension that lets a tool return an interactive HTML interface, such as a chart, form or dashboard, which the host renders in a sandboxed iframe inside the chat. It runs over any MCP transport, because the interface travels as an MCP resource with a ui:// URI and the MIME type text/html;profile=mcp-app, needs no sign-in of its own, and links a tool to its interface through _meta.ui.resourceUri.

A hand-drawn terminal that connects a coding agent to MCP-UI, with the server's name and tool count written beside it.

What MCP-UI does

MCP-UI is an SDK that implements MCP Apps, the official MCP extension that lets a tool return an interactive HTML interface, such as a chart, form or dashboard, which the host renders in a sandboxed iframe inside the chat. Servers create UI resources with @mcp-ui/server and hosts render them with ready-made React components from @mcp-ui/client, which the official MCP Apps docs name as the framework option for hosts.

The MCP-UI Authors (GitHub org MCP-UI-Org) maintains it. The latest release on npm is @mcp-ui/server 6.1.0, published February 13, 2026. It is licensed under Apache-2.0.

How a coding agent uses MCP-UI

The agent asks, MCP-UI acts, and the result comes back into the session.

A hand-drawn three-step flow from the coding agent to MCP-UI and back: Show the sales figures as a chart in the chat, Returns a ui:// resource linked to the tool, An interactive chart in a sandboxed iframe.
  1. The agent asks: Show the sales figures as a chart in the chat
  2. MCP-UI acts: Returns a ui:// resource linked to the tool
  3. The result comes back: An interactive chart in a sandboxed iframe

Install MCP-UI in the MCP-UI SDK

the MCP-UI SDK
npm install @mcp-ui/server @mcp-ui/client
# Python:
pip install mcp-ui-server
# Ruby:
gem install mcp_ui_server

Install MCP-UI in the official MCP Apps package (a view or a host)

the official MCP Apps package (a view or a host)
npm install -S @modelcontextprotocol/ext-apps @modelcontextprotocol/client@^2.0.0 zod@^4.2.0

Install MCP-UI in Claude Code

Claude Code session (MCP Apps agent skills)
/plugin marketplace add modelcontextprotocol/ext-apps
/plugin install mcp-apps@modelcontextprotocol-ext-apps

Install MCP-UI in a fragment for an existing MCP server: it needs your server instance as server and z from zod in scope

a fragment for an existing MCP server: it needs your server instance as server and z from zod in scope
import { registerAppTool, registerAppResource } from '@modelcontextprotocol/ext-apps/server';
import { createUIResource } from '@mcp-ui/server';

const widgetUI = await createUIResource({
  uri: 'ui://my-server/widget',
  content: { type: 'rawHtml', htmlString: '<h1>Widget</h1>' },
  encoding: 'text',
});

registerAppResource(server, 'widget_ui', widgetUI.resource.uri, {}, async () => ({
  contents: [widgetUI.resource]
}));

registerAppTool(server, 'show_widget', {
  description: 'Show widget',
  inputSchema: { query: z.string() },
  _meta: { ui: { resourceUri: widgetUI.resource.uri } }
}, async ({ query }) => {
  return { content: [{ type: 'text', text: `Query: ${query}` }] };
});

What MCP-UI and MCP Apps cover

MCP-UI's own documentation lists these, read on November 12, 2026.

  • createUIResource (server) -> UIResource with ui:// URI and text/html;profile=mcp-app
  • Tool-to-UI link via _meta.ui.resourceUri
  • AppRenderer (MCP Apps hosts) and UIResourceRenderer (legacy MCP-UI hosts), also a <ui-resource-renderer> web component
  • UI actions: tool, prompt, link, notify, intent
  • Apps SDK adapter for ChatGPT (window.openai)

Settings worth knowing in MCP-UI

createUIResource content type
What it changes

rawHtml or externalUrl (an iframe URL); the Ruby SDK also supports remote-dom.

Server

MCP-UI

encoding
What it changes

text, or blob for base64.

Server

MCP-UI

AppRenderer props
What it changes

client, toolName, sandbox (a proxy URL), toolInput, toolResult, onOpenLink and onMessage.

Server

MCP-UI

ext-apps 2.x
What it changes

Keeps the 1.x wire protocol, so a 2.x view works in a 1.x host.

Server

MCP-UI

AppBridge
What it changes

Builds a host without MCP-UI, as in the basic-host example.

Server

MCP-UI

Sign-in, limits and caveats for MCP-UI

Sign-in: None of its own. It uses the host's MCP connection.

Limits and price: MCP-UI and MCP Apps are free and open source. The official docs list MCP Apps support in Claude, Claude Desktop, VS Code GitHub Copilot, Microsoft 365 Copilot, Goose, Postman, MCPJam and Archestra.AI. The MCP-UI README says ChatGPT works through its Apps SDK adapter.

  • The repo moved from idosal/mcp-ui to MCP-UI-Org/mcp-ui; old links redirect.
  • Host support varies: legacy MCP-UI hosts need UIResourceRenderer instead of AppRenderer.
  • The official package @modelcontextprotocol/ext-apps needs Node.js 20 or newer and MCP SDK ^2.0.0 peers, and its repo ships no supported host beyond the basic-host example.
  • On npm, @mcp-ui/client is at 7.1.1 (May 9, 2026), and @modelcontextprotocol/ext-apps has 2.0.4 on the latest tag although 2.1.0 was published the same day, October 27, 2026.
  • MCP-UI is a community SDK; MCP Apps itself is the official extension io.modelcontextprotocol/ui from the Model Context Protocol project.

Use MCP-UI for interface work

It is the standard way to ship an interactive interface from an MCP server into Claude, ChatGPT or VS Code, so it is the core of UI work over MCP.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "MCP-UI: install, tools and limits" at https://better-design.com/blog/mcp-ui and help me apply it to my project.

MCP-UI is an SDK that implements MCP Apps, the official MCP extension that lets a tool return an interactive HTML interface, such as a chart, form or dashboard, which the host renders in a sandboxed iframe inside the chat. It runs over any MCP transport, because the interface travels as an MCP resource with a ui:// URI and the MIME type text/html;profile=mcp-app, needs no sign-in of its own, and links a tool to its interface through _meta.ui.resourceUri.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

What does MCP-UI do?

MCP-UI is an SDK that implements MCP Apps, the official MCP extension that lets a tool return an interactive HTML interface, such as a chart, form or dashboard, which the host renders in a sandboxed iframe inside the chat. Servers create UI resources with @mcp-ui/server and hosts render them with ready-made React components from @mcp-ui/client, which the official MCP Apps docs name as the framework option for hosts.

Does MCP-UI need an API key or sign-in?

None of its own. It uses the host's MCP connection.

Is MCP-UI free?

MCP-UI and MCP Apps are free and open source. The official docs list MCP Apps support in Claude, Claude Desktop, VS Code GitHub Copilot, Microsoft 365 Copilot, Goose, Postman, MCPJam and Archestra.AI. The MCP-UI README says ChatGPT works through its Apps SDK adapter.

Which coding agents can use MCP-UI?

Its documentation shows a setup for Claude Code. Any client that speaks MCP over any MCP transport, because the interface travels as an MCP resource with a ui:// URI and the MIME type text/html;profile=mcp-app can connect.

Where these MCP-UI facts come from

Each fact on this page comes from MCP-UI's own repository, documentation or package registry, read on November 12, 2026.

Add design rules next to it

MCP-UI gives the agent its capabilities. It does not tell the agent what a good screen looks like. Better Design adds that part: a design system, interface principles and review rules that the agent calls while it builds.