
MCP-UI SDK
Supports UIby mcp-ui-org
Interactive web components for the Model Context Protocol, enabling rich, dynamic UI resources from servers.
What it does
MCP UI allows MCP servers to deliver interactive web components directly to a client. Instead of plain text, servers can send UIResource payloads (HTML, URLs, or Remote DOM scripts) that the client renders in a sandboxed iframe, enabling dynamic dashboards, interactive forms, and rich visualizations within the AI chat interface.
Key features
- Multi-Transport Rendering: Supports inline HTML, external URLs via
text/uri-list, and high-fidelity Remote DOM scripts. - Bi-directional Interaction: UI components can trigger tool calls, intents, or notifications back to the AI agent via the
onUIActionevent. - Cross-Language Support: Provides full SDKs for both TypeScript and Ruby.
- Sandboxed Execution: Ensures security by rendering all remote content within isolated iframes.
Installation
TypeScript
npm install @mcp-ui/server @mcp-ui/client
Ruby
gem install mcp_ui_server
Supported hosts
- Claude Desktop
- Custom MCP Hosts (via @mcp-ui/client)
Quick install
npm install @mcp-ui/server @mcp-ui/clientInformation
- Pricing
- free
- Published
- 4/3/2026
- stars






