← all repositories
21st-dev/magic-mcp

v0 in your IDE, minus the browser tab

An MCP server that turns natural language into React components inside Cursor, Windsurf, or Cline.

5k stars TypeScript Coding AssistantsApp Builders
magic-mcp
Velocity · 7d
+11
★ / day
Trend
steady
star history

What it does

Magic MCP is a Model Context Protocol server that plugs into AI coding assistants. Type /ui followed by a description, and it generates React components drawn from the 21st.dev component library, dropping them directly into your project. It also pulls brand logos and assets from SVGL when needed.

The interesting bit

The “MCP” branding is a pun that actually works: it hijacks the Model Context Protocol standard to build a “Magic Component Platform.” The real trick is the tight IDE integration—this isn’t a separate web app you copy-paste from; the component materializes in your file tree, typed and ready.

Key highlights

  • Supports Cursor, Windsurf, VS Code, Cline, and Claude Desktop via one npx install command
  • Components are sourced from 21st.dev’s community-published library and updated in real time
  • Generated code is fully editable TypeScript, not opaque blobs
  • Currently free while in beta; requires an API key from 21st.dev’s console

Caveats

  • “Component Enhancement” with animations is marked “Coming Soon”—not shipping yet
  • Monthly generation limits apply; the README is vague on exact quotas and pricing
  • Beta status means the free ride will eventually end

Verdict

Worth a spin if you live in Cursor or Cline and want to skip the boilerplate of hunting for Tailwind snippets. Skip it if you need fine-grained design control or are allergic to API-key services with undefined pricing.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.