MCP UI Org UI

Design and media

UI over MCP. Create next-gen UI experiences with the protocol and SDK!

Your AI app calls MCP UI Org UI, which does the design and media work and sends the result back to the chat.

About MCP UI Org UI

MCP UI Org UI is a community MCP server from MCP-UI-Org, filed in our directory under design and media. UI over MCP. Create next-gen UI experiences with the protocol and SDK!

MCP UI Org UI runs as a remote server at https://remote-mcp-server-authless.idosalomon.workers.dev/mcp, so there is nothing to install: your AI app connects over streamable HTTP, and most remote servers ask you to sign in with OAuth the first time.

At a glance

Publisher
MCP-UI-Org (community)
Runs
As a hosted remote server
Written in
TypeScript
License
Apache-2.0
GitHub stars
5,286

How to set up MCP UI Org UI

  1. Nothing to install: MCP UI Org UI is a remote server, so all you need is an AI app that accepts a remote MCP URL.
  2. Check the MCP UI Org UI README for keys or settings; the registry lists none that MCP UI Org UI requires.
  3. Add MCP UI Org UI to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the MCP UI Org UI tools to confirm the connection.
  5. Run one read-only task with MCP UI Org UI first, and keep your app asking before each tool call until the results look right.

MCP UI Org UI compared with similar servers

  • designlang by Manavarya09 has fewer GitHub stars than MCP UI Org UI (5.3k against 5.3k); both are community servers, and designlang runs on your own machine and MCP UI Org UI runs as a remote server.
  • Appllama by Appllama has more GitHub stars than MCP UI Org UI (5.8k against 5.3k); both are community servers, and both run remotely.
  • Davinci Resolve by samuelgursky has fewer GitHub stars than MCP UI Org UI (4.6k against 5.3k); both are community servers, and Davinci Resolve runs on your own machine and MCP UI Org UI runs as a remote server.

Before you connect MCP UI Org UI

  • Give MCP UI Org UI its own sign-in or token with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each MCP UI Org UI tool call until you trust what it does with them.
  • Treat text that MCP UI Org UI fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for MCP UI Org UI on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for MCP UI Org UI

How marketing and sales teams put MCP UI Org UI to work, by company size. Pick the size closest to yours and start MCP UI Org UI on one use case.

Small business

  • A small business can use MCP UI Org UI to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask MCP UI Org UI to pull brand assets and make quick ad and social variations that still look on brand.
  • MCP UI Org UI runs as a remote server, so a small team can connect it in a few minutes with no install to maintain.

Mid-market

  • Creative teams can connect MCP UI Org UI so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use MCP UI Org UI to hand off designs to web and ads with specs attached, cutting review rounds.
  • Start MCP UI Org UI on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can use MCP UI Org UI with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use MCP UI Org UI to localize and version assets for many markets with review built in.
  • MCP UI Org UI is a community server, so have security review the code and pin a version before MCP UI Org UI touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

MCP UI Org UI README

From MCP-UI-Org/mcp-ui on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

📦 Model Context Protocol UI SDK

What's mcp-ui? • Core Concepts • Installation • Getting Started • Walkthrough • Examples • Supported Hosts • Security • Roadmap • Contributing • License

mcp-ui pioneered the concept of interactive UI over MCP, enabling rich web interfaces for AI tools. Alongside Apps SDK, the patterns developed here directly influenced the MCP Apps specification, which standardized UI delivery over the protocol.

The @mcp-ui/* packages implement the MCP Apps standard. @mcp-ui/client is the recommended SDK for MCP Apps Hosts.

The @mcp-ui/ packages are fully compliant with the MCP Apps specification and ready for production use.*

💡 What's mcp-ui?

mcp-ui is an SDK implementing the MCP Apps standard for UI over MCP. It provides:

  • @mcp-ui/server (TypeScript): Create UI resources with createUIResource. Works with registerAppTool and registerAppResource from @modelcontextprotocol/ext-apps/server.
  • @mcp-ui/client (TypeScript): Render tool UIs with AppRenderer (MCP Apps) or UIResourceRenderer (legacy MCP-UI hosts).
  • mcp_ui_server (Ruby): Create UI resources in Ruby.
  • mcp-ui-server (Python): Create UI resources in Python.

The MCP Apps pattern links tools to their UIs via _meta.ui.resourceUri. Hosts fetch and render the UI alongside tool results.

✨ Core Concepts

MCP Apps Pattern (Recommended)

The MCP Apps standard links tools to their UIs via _meta.ui.resourceUri:

import { registerAppTool, registerAppResource } from '@modelcontextprotocol/ext-apps/server';
import { createUIResource } from '@mcp-ui/server';

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

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

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

Hosts detect _meta.ui.resourceUri, fetch the UI via resources/read, and render it with AppRenderer.

UIResource (Wire Format)

The underlying payload for UI content:

interface UIResource {
  type: 'resource';
  resource: {
    uri: string;       // e.g., ui://component/id
    mimeType: 'text/html;profile=mcp-app';
    text?: string;      // HTML content
    blob?: string;      // Base64-encoded HTML content
  };
}
  • uri: Unique identifier using ui:// scheme
  • mimeType: text/html;profile=mcp-app, the MCP Apps standard MIME type
  • text vs. blob: Plain text or Base64-encoded content

Client Components

AppRenderer (MCP Apps)

For MCP Apps hosts, use AppRenderer to render tool UIs:

import { AppRenderer } from '@mcp-ui/client';

function ToolUI({ client, toolName, toolInput, toolResult }) {
  return (
    <AppRenderer
      client={client}
      toolName={toolName}
      sandbox={{ url: sandboxUrl }}
      toolInput={toolInput}
      toolResult={toolResult}
      onOpenLink={async ({ url }) => window.open(url)}
      onMessage={async (params) => console.log('Message:', params)}
    />
  );
}

Key props:

  • client: Optional MCP client for automatic resource fetching
  • toolName: Tool name to render UI for
  • sandbox: Sandbox configuration with proxy URL
  • toolInput / toolResult: Tool arguments and results
  • onOpenLink / onMessage: Handlers for UI requests
UIResourceRenderer (Legacy MCP-UI)

For legacy hosts that embed resources in tool responses:

import { UIResourceRenderer } from '@mcp-ui/client';

<UIResourceRenderer
  resource={mcpResource.resource}
  onUIAction={(action) => console.log('Action:', action)}
/>

Props:

  • resource: Resource object with uri, mimeType, and content (text/blob)
  • onUIAction: Callback for handling tool, prompt, link, notify, and intent actions

Also available as a Web Component:

<ui-resource-renderer
  resource='{ "mimeType": "text/html", "text": "<h2>Hello!</h2>" }'
></ui-resource-renderer>

Supported Resource Types

HTML (text/html;profile=mcp-app)

Rendered using the internal <HTMLResourceRenderer /> component, which displays content inside an <iframe>. This is suitable for self-contained HTML.

  • mimeType: text/html;profile=mcp-app (MCP Apps standard)

UI Action

UI snippets must be able to interact with the agent. In mcp-ui, this is done by hooking into events sent from the UI snippet and reacting to them in the host (see onUIAction prop). For example, an HTML may trigger a tool call when a button is clicked by sending an event which will be caught handled by the client.

Platform Adapters

MCP-UI SDKs includes adapter support for host-specific implementations, enabling your open MCP-UI widgets to work seamlessly regardless of host. Adapters automatically translate between MCP-UI's postMessage protocol and host-specific APIs. Over time, as hosts become compatible with the open spec, these adapters wouldn't be needed.

Available Adapters
Apps SDK Adapter

For Apps SDK environments (e.g., ChatGPT), this adapter translates MCP-UI protocol to Apps SDK API calls (e.g., window.openai).

How it Works:

  • Intercepts MCP-UI postMessage calls from your widgets
  • Translates them to appropriate Apps SDK API calls
  • Handles bidirectional communication (tools, prompts, state management)
  • Works transparently - your existing MCP-UI code continues to work without changes

Usage:

import { createUIResource } from '@mcp-ui/server';

const htmlResource = await createUIResource({
  uri: 'ui://greeting/1',
  content: {
    type: 'rawHtml',
    htmlString: `
      <button onclick="window.parent.postMessage({ type: 'tool', payload: { toolName: 'myTool', params: {} } }, '*')">
        Call Tool
      </button>
    `
  },
  encoding: 'text',
});

🏗️ Installation

TypeScript

# using npm
npm install @mcp-ui/server @mcp-ui/client

# or pnpm
pnpm add @mcp-ui/server @mcp-ui/client

# or yarn
yarn add @mcp-ui/server @mcp-ui/client

Ruby

gem install mcp_ui_server

Python

# using pip
pip install mcp-ui-server

# or uv
uv add mcp-ui-server

🚀 Getting Started

You can use GitMCP to give your IDE access to mcp-ui's latest documentation!

TypeScript (MCP Apps Pattern)

  1. Server-side: Create a tool with UI using _meta.ui.resourceUri

    import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
    import { registerAppTool, registerAppResource } from '@modelcontextprotocol/ext-apps/server';
    import { createUIResource } from '@mcp-ui/server';
    import { z } from 'zod';
    
    const server = new McpServer({ name: 'my-server', version: '1.0.0' });
    
    // Create UI resource
    const widgetUI = await createUIResource({
      uri: 'ui://my-server/widget',
      content: { type: 'rawHtml', htmlString: '<h1>Interactive Widget</h1>' },
      encoding: 'text',
    });
    
    // Register resource handler
    registerAppResource(server, 'widget_ui', widgetUI.resource.uri, {}, async () => ({
      contents: [widgetUI.resource]
    }));
    
    // Register tool with _meta linking
    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}` }] };
    });
    
  2. Client-side: Render tool UIs with AppRenderer

    import { AppRenderer } from '@mcp-ui/client';
    
    function ToolUI({ client, toolName, toolInput, toolResult }) {
      return (
        <AppRenderer
          client={client}
          toolName={toolName}
          sandbox={{ url: sandboxUrl }}
          toolInput={toolInput}
          toolResult={toolResult}
          onOpenLink={async ({ url }) => window.open(url)}
          onMessage={async (params) => console.log('Message:', params)}
        />
      );
    }
    

Legacy MCP-UI Pattern

For hosts that don't support MCP Apps yet:

import { UIResourceRenderer } from '@mcp-ui/client';

<UIResourceRenderer
  resource={mcpResource.resource}
  onUIAction={(action) => console.log('Action:', action)}
/>

Python

Server-side: Build your UI resources

from mcp_ui_server import create_ui_resource

# Inline HTML
html_resource = create_ui_resource({
  "uri": "ui://greeting/1",
  "content": { "type": "rawHtml", "htmlString": "<p>Hello, from Python!</p>" },
  "encoding": "text",
})

# External URL
external_url_resource = create_ui_resource({
  "uri": "ui://greeting/2",
  "content": { "type": "externalUrl", "iframeUrl": "https://example.com" },
  "encoding": "text",
})

Ruby

Server-side: Build your UI resources

require 'mcp_ui_server'

# Inline HTML
html_resource = McpUiServer.create_ui_resource(
  uri: 'ui://greeting/1',
  content: { type: :raw_html, htmlString: '<p>Hello, from Ruby!</p>' },
  encoding: :text
)

# External URL
external_url_resource = McpUiServer.create_ui_resource(
  uri: 'ui://greeting/2',
  content: { type: :external_url, iframeUrl: 'https://example.com' },
  encoding: :text
)

# remote-dom
remote_dom_resource = McpUiServer.create_ui_resource(
  uri: 'ui://remote-component/action-button',
  content: {
    type: :remote_dom,
    script: "
     const button = document.createElement('ui-button');
     button.setAttribute('label', 'Click me from Ruby!');
     button.addEventListener('press', () => {
       window.parent.postMessage({ type: 'tool', payload: { toolName: 'uiInteraction', params: { action: 'button-click', from: 'ruby-remote-dom' } } }, '*');
     });
     root.appendChild(button);
     ",
    framework: :react,
  },
  encoding: :text
)

🚶 Walkthrough

For a detailed, simple, step-by-step guide on how to integrate mcp-ui into your own server, check out the full server walkthroughs on the mcp-ui documentation site:

These guides will show you how to add a mcp-ui endpoint to an existing server, create tools that return UI resources, and test your setup with the ui-inspector!

🌍 Examples

Client Examples

  • Goose - open source AI agent that supports mcp-ui.
  • LibreChat - enhanced ChatGPT clone that supports mcp-ui.
  • ui-inspector - inspect local mcp-ui-enabled servers.
  • MCP-UI Chat - interactive chat built with the mcp-ui client. Check out the hosted version!
  • MCP-UI RemoteDOM Playground (examples/remote-dom-demo) - local demo app to test RemoteDOM resources
  • MCP-UI Web Component Demo (examples/wc-demo) - local demo app to test the Web Component integration in hosts

Server Examples

  • TypeScript: A full-featured server that is deployed to a hosted environment for easy testing.
    • typescript-server-demo: A simple Typescript server that demonstrates how to generate UI resources.
    • server: A full-featured Typescript server that is deployed to a hosted Cloudflare environment for easy testing.
      • HTTP Streaming: https://remote-mcp-server-authless.idosalomon.workers.dev/mcp
      • SSE: https://remote-mcp-server-authless.idosalomon.workers.dev/sse
  • Ruby: A barebones demo server that shows how to use mcp_ui_server and mcp gems together.
  • Python: A simple demo server that shows how to use the mcp-ui-server Python package.
  • XMCP - Typescript MCP framework with mcp-ui starter example.

Drop those URLs into any MCP-compatible host to see mcp-ui in action. For a supported local inspector, see the ui-inspector.

💻 Supported Hosts

The @mcp-ui/* packages work with both MCP Apps hosts and legacy MCP-UI hosts.

MCP Apps Hosts

These hosts implement the MCP Apps specification and support tools with _meta.ui.resourceUri:

Legacy MCP-UI Hosts

These hosts expect UI resources embedded directly in tool responses:

Host Rendering UI Actions Notes
Nanobot ✅ ✅
MCPJam ✅ ✅
Postman ✅ ⚠️
Goose ✅ ⚠️
LibreChat ✅ ⚠️
Smithery ✅ ❌
fast-agent ✅ ❌

Hosts Requiring Adapters

Host Protocol Notes
ChatGPT Apps SDK Guide

Legend: ✅ Supported · ⚠️ Partial · ❌ Not yet supported

🔒 Security

Host and user security is one of mcp-ui's primary concerns. In all content types, the remote code is executed in a sandboxed iframe.

🛣️ Roadmap

Questions about MCP UI Org UI

What is the MCP UI Org UI MCP server?

UI over MCP. Create next-gen UI experiences with the protocol and SDK!. MCP UI Org UI is maintained by MCP-UI-Org on GitHub at MCP-UI-Org/mcp-ui, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I add MCP UI Org UI to Claude Code?

MCP UI Org UI is a remote server, so you add its URL instead of installing a package: run claude mcp add --transport http ui https://remote-mcp-server-authless.idosalomon.workers.dev/mcp in your terminal. In other apps, add the MCP UI Org UI URL as a remote or custom connector.

Does MCP UI Org UI need an API key?

The registry lists no required keys for MCP UI Org UI. Check the MCP UI Org UI README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is MCP UI Org UI an official MCP server?

No. MCP UI Org UI is a community server maintained by MCP-UI-Org. Community servers can be excellent; read the code and the open issues before you give MCP UI Org UI access to company data.

What license is MCP UI Org UI under?

MCP UI Org UI is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of MCP UI Org UI; the service it connects to has its own terms.