Skip to content
NewReUI Pro is LIVE with 485 premium blocks, 560+ hand-crafted icons and moreView pricing
DocsSupportPricing
XFigma3k
Overview
  • Introduction
  • Get Started
  • License Setup
  • Styling
  • Registry
  • Agent Skills
  • Changelog
MCP Server
  • Claude
  • CodexCodexCodex
  • Cursor
  • Lovable
  • Replit
  • OpenCode
Components
  • Alert
  • Autocomplete
  • Badge
  • Data GridVirtualization and row pinning support added
  • Date Selector
  • File Upload
  • Filters
  • Frame
  • Icon Stack
  • Kanban
  • Number Field
  • Phone Input
  • Rating
  • Scrollspy
  • Sortable
  • Stepper
  • Timeline
  • Tree

Application

  • App Shell
  • Auth
  • Card
  • Chart
  • Dashboard
  • Dialog
  • Empty State
  • Form
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Schedule
  • Settings
  • Stats
  • Timeline
  • Wizard

Solutions

  • Agents
  • AI Ops
  • Analytics
  • Billing
  • Bookings
  • CRM
  • Inventory
  • Users

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist

Data Grid

  • Base
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Marketing

  • Blog
  • Contact
  • CTA
  • FAQ

Resources

  • Components
  • Blocks
  • Docs
  • Support
  • Pricing
  • RoadmapSoon
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3k

OpenCode

PreviousNext

Connect the ReUI MCP server to OpenCode and build UI from the ReUI registry by chat.

Connect OpenCode to ReUI in one step and build UI from the ReUI registry directly in chat.

Connect ReUI

Add the ReUI MCP server

Create or update opencode.json in your project root:

opencode.json
ReplitAlert

On This Page

Connect ReUIInstall the ReUI skillBuild with ReUITroubleshooting
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "reui": {
      "type": "remote",
      "url": "https://mcp.reui.io",
      "enabled": true
    }
  }
}

If OpenCode does not prompt, start authentication with opencode mcp auth reui.

Sign in with ReUI

The first time OpenCode calls a ReUI tool, your browser opens a "Sign in with ReUI" prompt. Authorize it and you are connected. If you do not have a ReUI account yet, a free one is created for you right in that flow, so there is no separate signup step.

For headless or CI setups where no browser is available, create a personal token at reui.io/account/mcp and pass it as an Authorization: Bearer header.

Install the ReUI skill

OpenCode runs locally, so add the ReUI skill with a single command:

Terminal
curl -fsSL https://mcp.reui.io/install | node -

This drops a ReUI skill file into your project so OpenCode follows ReUI's build workflow (discovering components, pulling source, and assembling blocks the way ReUI intends) instead of guessing.

Build with ReUI

Describe the interface you want in plain language and OpenCode pulls the right ReUI components, examples, and blocks from the registry, then wires them into your project.

Prompt
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.
Prompt
Add a data-grid of orders with sorting, column filters, pagination, and row selection, wired to my /api/orders endpoint.
Prompt
Build a multi-step "create project" wizard with the ReUI stepper and form components, with validation on each step.
Prompt
Add a kanban board for support tickets with drag and drop, grouped by status, and a filters bar above it.

Troubleshooting

Almost every hiccup is a stale sign-in - the fix is to reconnect and authorize again.

  • Tools missing, greyed out, or "not connected" - the server did not finish connecting. To fix it, run opencode mcp auth reui, then restart OpenCode.
  • 401 or "authentication required" - your ReUI session expired. To fix it, run opencode mcp auth reui to sign in again.
  • Requests hang or the session drops mid-build - long sessions can lose the connection. To fix it, run opencode mcp auth reui and retry your last prompt.
  • 429 "daily limit reached" - you hit the free limit of 100 requests per day. Sign in with your ReUI license for unlimited access, or wait for the next day.
Plan scope

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).