Logo
React Bytes
Menu

Get Started

MCP Server

Model Context Protocol (MCP) is an open standard that lets AI editors talk directly to external registries and tools — no manual browsing needed.

Wire up the React Bytes registry once, and your editor can find, fetch, and drop in any component on demand.

1. Register the registry

Open your project's components.json and add the @react-bytes registry:

json
{
"registries": {
"@react-bytes": "https://reactbytes.online/r/{name}.json"
}
}

2. Pick your editor

Choose the client you're using, then run the one-time setup command inside your project.

Run once inside your project root:

bash
npx shadcn@latest mcp init --client claude

3. Try it out

After restarting Claude Code, try asking things like:

  • List every background component available in the React Bytes registry
  • Pull the Dither background from React Bytes and tint it purple
  • Wrap my hero text with a FadeContent scroll animation from React Bytes

Tip: Type /mcp inside Claude Code to inspect or restart the MCP server.

Learn more

For a deeper dive into manual client configuration and advanced MCP usage, check the official shadcn docs.

ui.shadcn.com/docs/mcp