Connect the ReUI MCP server to Replit and build UI from the ReUI registry by chat.
Replit connects to ReUI in one step: add the ReUI MCP server to your Replit Agent, and you can build UI from the ReUI registry by chat.
In your Repl, open the MCP Servers settings in the Integrations pane, then click + Add MCP server. Enter a display name and the server URL:
Display name: reui
Server URL: https://mcp.reui.ioThen click Test & save. For CI or a headless setup, open Advanced settings first and add a custom header - Authorization: Bearer YOUR_REUI_LICENSE_KEY - with your license key from .
Test & save opens a "Sign in with ReUI" window so you can authorize the connection. If you do not have a ReUI account yet, a free one is created for you as part of this flow. After you approve, Replit finishes the connection and the ReUI tools are ready.
You do not install a separate skill - it rides on the MCP from mcp.reui.io, no separate registry to add. Once connected, the Replit Agent gets ReUI's tools and can call get_agent_skill to load the full workflow (discover, read the API, install, then adapt by reuse) as a document. If a build ever drifts off-pattern, tell it to "follow the ReUI skill" to reload it.
Describe the interface you want in plain language and Replit pulls the right ReUI components, examples, and blocks from the registry, then wires them into your project.
Use ReUI to scaffold an admin app - the app-shell with a collapsible sidebar and top bar, and a dashboard page with stat cards and a chart.Add a data-grid of orders with sorting, column filters, pagination, and row selection, wired to my /api/orders endpoint.Build a multi-step "create project" wizard with the ReUI stepper and form components, with validation on each step.Add a kanban board for support tickets with drag and drop, grouped by status, and a filters bar above it.Replit runs a full Linux workspace, so the Agent installs items with the shadcn CLI directly in the Replit shell, exactly as the MCP returns them. Free items (the 17 components and every c-* example) install with no license. To let Replit install premium blocks, icons, and templates too, grab a Pro or Ultimate license - one license unlocks the whole premium registry and removes the daily MCP request limit. Then add your key to the project - two quick steps:
Copy your key from Account → Licenses into .env.local at the project root (or store it as a Replit Secret named REUI_LICENSE_KEY, which Replit exposes as an environment variable):
REUI_LICENSE_KEY=your-license-key-here{
"registries": {
"@reui": {
"url": "https://reui.io/r/{style}/{name}.json",
"headers": {
"Authorization": "Bearer ${REUI_LICENSE_KEY}"
}
}
}
}That is it - Replit can now install any premium item the MCP returns, and free items keep working through the same config. See License Setup for the full guide, or compare plans on the Pricing page.
Almost every hiccup is a stale sign-in - the fix is to reconnect and authorize again.
reui, and authorize again, then restart Replit.reui, and authorize again to sign in again.reui, and authorize again and retry your last prompt.Free covers components and examples at 100 requests/day; a Pro or Ultimate license unlocks premium blocks, icons, and unlimited requests.