Progress will not be saved. This browser is blocking storage (often private browsing). You can still learn, but closing the tab loses your progress.
21st-dev/magic-mcp
It's like v0, but in your Cursor / Claude Code / Windsurf: search 10,000+ React/Tailwind components, generate new UI with AI, and publish your own — right from your editor. Magic MCP is now the 21st MCP; this package keeps old configs working. Setup: 21st.dev/mcp
- Stars
- 6,622
- +7 days
- —
- Forks
- 544
- Language
- TypeScript
- License
- ISC
- Last push
- 9 Sept 2026
Summary
Summary written by AI from the README; it may be imprecise.This package acts as a backward-compatibility proxy that forwards Model Context Protocol messages to the unified 21st MCP server. It connects coding tools like Claude Code and Cursor to 21st.dev for searching React and Tailwind UI components, retrieving templates, and generating UI with AI. It also translates legacy Magic tool names so existing configurations continue functioning.
Use it when
- Maintain legacy Magic MCP configurations without migrating immediately to the 21st CLI
- Search and import React or Tailwind components directly within Claude Code or Cursor
- Generate and iterate on UI components from your editor using the 21st.dev catalog and AI
Install
claude plugin marketplace add 21st-dev/magic-mcpnpx @21st-dev/cli@latest init --client cursornpx -y @21st-dev/magic@latest API_KEY="..."Commands quoted from the repo's README. Read the README before running them.
Stars over 90 days
Collecting: 2 of 90 days so far. The chart appears after 7 days.