Skip to content
WingoUI
ComponentsTemplatesDocsPricingAI agentsBlogChangelogContact
  1. Home
  2. Blog
  3. Building UI with AI agents
Blog

Building UI with AI agents: Claude Code, Cursor and MCP

Coding agents such as Claude Code, Cursor and Codex can write a screen in seconds, but left alone they invent components, mix design systems and forget the details that make an interface feel finished. The fix is to give the agent real building blocks and clear rules, and this category shows how to do that.
FeaturedBuilding UI with AI agents

Component Library MCP: Make Agents Use Real Components

How a component library MCP server, rules files, llms.txt and a registry get Claude Code, Cursor and Codex to install real components instead of guessing.

SR
Serban Rusu
Oct 9, 2026 · 27 min read

All posts

/Slash
Building UI with AI agents

Antigravity MCP Setup: The Right Config Path and Prompts

Antigravity MCP setup tested on November 6, 2026: where mcp_config.json lives, remote vs npx entries, reloading, and prompts that install real components.

SRSerban Rusu·Nov 6, 2026·10 min read
Building UI with AI agents

Codex Frontend Design Skill: Pair It With Real Components

A Codex frontend design skill sets taste but has no components. Where Codex loads skills, which ones exist, and how to pair one with a registry over MCP.

SRSerban Rusu·Nov 6, 2026·10 min read
Building UI with AI agents

OpenCode MCP Setup: opencode.json for v1 and v2

OpenCode MCP setup checked on November 6, 2026: local and remote entries in opencode.json for v1 and v2, API key headers vs OAuth, and prompts that install UI.

SRSerban Rusu·Nov 6, 2026·11 min read
Building UI with AI agents

Windsurf MCP Setup in 2026: New Config Path, Rules, Fixes

Windsurf MCP setup after the Devin Desktop rename: the mcp_config.json paths Devin Local reads, a working JSON entry, rules files and common error fixes.

SRSerban Rusu·Nov 6, 2026·10 min read
Building UI with AI agents

Claude Code Landing Page That Does Not Look AI-Made

Build a Claude Code landing page from real sections: connect them through MCP, set tokens and a rules file, then prompt one section at a time and check it.

SRSerban Rusu·Nov 5, 2026·11 min read
Building UI with AI agents

Copilot shadcn Setup: MCP Server and Instructions in VS Code

Copilot shadcn setup in VS Code: the shadcn MCP server in .vscode/mcp.json, a second registry, copilot-instructions.md, and the Copilot harness .mcp.json.

SRSerban Rusu·Nov 5, 2026·10 min read
Building UI with AI agents

Gemini CLI shadcn MCP Setup for Real React UI

Gemini CLI shadcn setup, tested on 0.67.0: the settings.json entry or gemini mcp add, folder trust, a GEMINI.md block and prompts that build real React screens.

SRSerban Rusu·Nov 5, 2026·11 min read
Building UI with AI agents

AI Agent Tool Call UI: Steps, Approvals and Errors

How to build an AI agent tool call UI in React: queued, running, failed and approval states, readable inputs and outputs, and wiring it to AI SDK tool parts.

SRSerban Rusu·Oct 16, 2026·11 min read
Building UI with AI agents

AI Elements Alternative: 5 React AI Chat Kits Compared

Looking for an AI Elements alternative before its November 2026 deprecation? Five React AI chat kits compared on streaming, tool calls, phones and lock-in.

SRSerban Rusu·Oct 16, 2026·11 min read
Building UI with AI agents

Claude Code Design System: Make 50 Screens Match

Set up a Claude Code design system: tokens, size tables and component rules the agent reads, plus the checks that prove 50 generated screens still match.

SRSerban Rusu·Oct 16, 2026·12 min read
Building UI with AI agents

Cursor shadcn Setup: MCP Server, .mdc Rules and Registries

Cursor shadcn setup, tested on shadcn 4.22.0: the MCP server in .cursor/mcp.json, a second registry, an .mdc rule that always loads, and prompts that work.

SRSerban Rusu·Oct 16, 2026·12 min read
Building UI with AI agents

Nextjs llms.txt: Generate llms-full.txt and .md Pages

Build a nextjs llms.txt with App Router route handlers: an index, an llms-full.txt and a .md twin of every page, all generated from one content source.

SRSerban Rusu·Oct 16, 2026·10 min read
Building UI with AI agents

React Markdown Streaming Without Flicker or Scroll Jumps

React markdown streaming done right: repair half-typed syntax, re-parse only the last block, and keep the chat pinned to the bottom until the reader scrolls up.

SRSerban Rusu·Oct 16, 2026·10 min read
Building UI with AI agents

React Prompt Input: Enter, IME, Files, Stop and Voice

A React prompt input that handles Enter vs Shift+Enter, IME composition, uploads with progress, a Stop button, dictation and the iPhone keyboard. With code.

SRSerban Rusu·Oct 16, 2026·10 min read
Building UI with AI agents

React Speech to Text Input: Mic, Waveform, Fallback

Build a React speech to text input: a mic that grows into a recording pill with a live waveform, Web Speech API limits per browser and a server fallback.

SRSerban Rusu·Oct 16, 2026·9 min read
Building UI with AI agents

Codex MCP Setup: Build React UI With Real Components

Codex MCP setup for React UI, tested on Codex CLI 0.162.1: the config.toml entry, the key variable, AGENTS.md rules, prompts that use real blocks, and fixes.

SRSerban Rusu·Oct 13, 2026·11 min read
Building UI with AI agents

AGENTS.md vs CLAUDE.md vs Cursor Rules for React

AGENTS.md vs CLAUDE.md vs Cursor rules for React and Tailwind: which agent reads which file in October 2026, and a rules file that keeps agents on your tokens.

SRSerban Rusu·Oct 9, 2026·14 min read
Building UI with AI agents

Claude Code shadcn Setup: MCP Server, Skill and CLAUDE.md

Claude Code shadcn setup, tested on shadcn 4.21.4: the MCP server, the skill, a second registry in its own folder, a CLAUDE.md block and prompts that work.

SRSerban Rusu·Oct 9, 2026·12 min read
Building UI with AI agents

React AI Chat UI: Streaming, Auto-Scroll and Mobile

How a production React AI chat UI handles streaming, auto-scroll, IME input and the phone keyboard, part by part, with code for the Next.js App Router.

SRSerban Rusu·Oct 9, 2026·10 min read

About Building UI with AI agents

The posts cover the plumbing that connects an agent to a component library: MCP servers that let an agent search components and read their props, rules files that tell it which tokens and patterns to follow, llms.txt and Markdown versions of the docs that are easy for a model to read, and registries that install real source code instead of a guess. You will also find workflows that hold up in practice, such as asking for a whole screen from existing blocks, keeping installed components up to date and reviewing what the agent changed.

Wingo UI ships an MCP server, agent rules and a CLI for exactly this job, so the examples here are the setups we use every day, with the commands and prompts that work.

More topics

  • Mobile UI in React

    How to build React interfaces that feel native on phones: bottom sheets, touch targets, safe areas and tables that turn into cards.

    25 posts

  • Component guides

    Deep guides to single React components: when to use each one, the props that matter, accessibility, mobile behavior and common pitfalls.

    70 posts

  • Comparisons and alternatives

    Honest, dated comparisons of React component libraries and tools, with sources, prices and a clear pick for each use case.

    18 posts

  • Next.js and Tailwind CSS

    Guides to Next.js App Router, React 19 and Tailwind CSS v4 for people who build and maintain UI components and design systems.

    13 posts

  • Build it: screens and apps

    Step by step tutorials that build real React screens and apps, from sign in and settings to admin dashboards, with every screen working on phones.

    38 posts

Newsletter

Get new posts by email

New posts, product news and occasional offers from Wingo UI. We count clicks to keep it relevant.

No spam. Unsubscribe at any time.

WingoUI

Animated, configurable, mobile-first React components and blocks. Copy the source, make it yours, and let your coding agent build with it.

Product

  • Components
  • Templates
  • Pricing
  • AI agents
  • For teams
  • Theme generator

Resources

  • Docs
  • Contact
  • Programs
  • Blog
  • Changelog
  • Changelog RSS
  • llms.txt

Compare

  • Wingo UI vs paid kits
  • Wingo UI vs shadcn/ui
  • shadcn/ui alternatives
  • MUI alternatives
  • Tailwind Plus alternatives
  • Magic UI alternatives
  • Free components

Legal

  • Terms
  • Privacy
  • Refunds
  • License
  • Imprint

Component categories

  • Buttons & Actions
  • Inputs
  • Forms
  • Navigation
  • Overlays
  • Feedback
  • Data Display
  • Tables & Lists
  • Charts & Stats
  • Layout
  • Media
  • AI Kit
  • Text & Effects
  • Mobile
  • Commerce
  • Marketing Sections
  • Blocks
  • Hooks & Utilities

© 2026 Wingo UI

Wingo UI