MCP-UI provides TypeScript, Ruby, and Python SDKs for building sandboxed user interfaces delivered over the Model Context Protocol. It aligns with the MCP Apps standard for tool-linked UI resources.
Overview
MCP-UI is a set of client and server libraries for interactive UI over MCP. Host applications render tool-supplied HTML or related resources inside sandboxed iframes while server helpers register UI resources alongside tool definitions.
The TypeScript stack includes AppRenderer on the client and registerAppTool helpers that link tools to ui.resourceUri metadata on the server. Legacy MCP-UI hosts remain supported through adapter documentation while MCP Apps becomes the standardized path.
Security documentation stresses sandboxed execution for remote UI code. Roadmap items mention additional component libraries, frameworks, and declarative content types. Ruby and Python SDKs complement the primary TypeScript packages.
Projects embed the SDKs into their own MCP servers and clients rather than running MCP-UI as a standalone product.
Key features
- TypeScript client AppRenderer component
- Server helpers for UI resources and tools
- Sandboxed iframe execution model
- MCP Apps standard alignment
- Ruby and Python SDK packages
- Legacy host adapter documentation
Use cases
- Add interactive panels to custom MCP tools
- Prototype MCP Apps UIs in TypeScript hosts
- Render tool output HTML safely in assistants