ui-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ui-mcprender a sales dashboard with monthly revenue chart"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ui-mcp
MCP server that renders flexible, shadcn-styled UI in your local browser. Agents call render_ui to show dashboards, forms, charts, comparisons, and factual answers with numbers or spatial concepts — not just when building apps.
Quick start
npx ui-mcp initThis will:
Register the MCP server in
.cursor/mcp.json(and.mcp.jsonfor Claude Code)Append agent instructions to
AGENTS.md/CLAUDE.mdso the model defaults to rendering (re-runinitto refresh existing snippets)
Reload your editor MCP settings, then ask your agent to render something visual.
Related MCP server: mcp-interactive-ui-server
Tools
Tool | Description |
| Create and open a UI view in the browser |
| Update an existing view by id |
| List active views and URLs |
| Remove a view |
Modes
html— HTML fragment, wrapped in shadcn/Tailwind shelljsx— React component (ApporComponent), compiled in-browser via Babelpage— Full HTML document (you control everything)
Style
The shell applies shadcn CSS variables and Tailwind semantic colors (bg-background, text-primary, etc.). The model is free to build any layout — no component whitelist.
Manual MCP config
{
"mcpServers": {
"ui-mcp": {
"command": "npx",
"args": ["-y", "ui-mcp"]
}
}
}Environment
Variable | Default | Description |
|
| Preferred backend port |
When should agents render?
There is no universal "after final answer" lifecycle hook across MCP clients. The reliable pattern is project instructions:
npx ui-mcp init— writes AGENTS.md / CLAUDE.md with a render-by-default policyCursor rules / project instructions — reinforce the behavior
Agents should call render_ui for most answers — especially numbers, measurements, comparisons, architecture, and workflows. Skip only for truly single-value replies (e.g. a port number) or when the user asks for text only. Re-run npx ui-mcp init to update an existing project's snippet in place.
Development
npm install
npm run build
node dist/bin/ui-mcp.js initLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceHelps AI assistants access shadcn/ui component documentation and examples through a TypeScript-based MCP server that provides reference information for component details, usage examples, and search capabilities.Last updated492460MIT
- AlicenseAqualityDmaintenanceEnables AI agents to render interactive user interfaces such as forms, dashboards, charts, tables, and wizards directly in MCP-compatible clients. Supports structured data collection and richer interactions beyond text responses.Last updated6MIT
- Alicense-qualityBmaintenanceEnables AI agents to generate and serve ephemeral, interactive user interfaces over MCP through natural language descriptions.Last updated38Apache 2.0
- Alicense-qualityDmaintenanceEnables AI agents to view and control the local desktop through browser-based viewport and MCP tools.Last updatedMIT
Related MCP Connectors
Generate, edit, and deploy immersive 3D/WebGL web projects from any MCP assistant.
Generate images, GIFs, and PDFs from HTML, URLs, or templates — from your AI agent.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ezzcodeezzlife/ui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server