Render interactive web UI from MCP
servermcp_serversetup L4★0
npm:@mcp-ui/server ↗What it does
Render interactive web UI components from MCP server over HTTP
Best for
Building interactive MCP-driven web UIs with multi-language SDK support (TS, Ruby, Python).
Inputs
- · UIResource with uri, mimeType, text/blob
- · onUIAction callback parameters
Outputs
- · rendered HTML/React components
- · UI action events (tool calls, intents, prompts)
Requires
- · express (for HTTP)
- · @modelcontextprotocol/sdk
Preconditions
- · npm install @mcp-ui/server
- · Framework adapter for React/Web Components
- · Client implementation for rendering
Failure modes
- · Single URL enforced in text/uri-list—warns if multiple URLs present
- · MIME type must match content
Trust signals
- · npm version badges
- · Discord community
- · Multiple language implementations
- · Walkthrough guide and examples