Connect the ReUI MCP server to Codex and build UI from the ReUI registry by chat.
Codex connects to ReUI in one step: point its CLI at the hosted ReUI MCP server, sign in once, and start building UI from the ReUI registry by chat.
Add the server with the Codex CLI:
codex mcp add reui --url https://mcp.reui.ioCheck that Codex registered the server:
You should see reui listed.
Authorize the connection with a browser sign-in:
codex mcp login reuiThis opens a "Sign in with ReUI" prompt in your browser. Approve it to connect. If you do not have a ReUI account yet, a free one is created for you right there in the flow, so there is nothing to set up in advance.
For headless or CI runs where no browser is available, create a personal token at reui.io/account/mcp and pass it as an Authorization: Bearer header.
Run the one-line installer so Codex follows ReUI's build workflow:
curl -fsSL https://mcp.reui.io/install | node -This drops a ReUI skill file into your project. With it in place, Codex knows how to discover blocks, assemble components, and wire them together the ReUI way instead of guessing.
Describe the interface you want in plain language and Codex 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.Almost every hiccup is a stale sign-in - the fix is to reconnect and authorize again.
codex mcp login reui, then restart Codex.codex mcp login reui to sign in again.codex mcp login reui 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 (add
the @reui registry via License Setup to install
them).