21st.dev Magic is a Design MCP server that lets Claude Code, Cursor, Windsurf and any MCP-compatible AI agent create crafted UI components inspired by the best design engineers. Install in 1 minute with mcpizy install 21st-dev.
Design
Create crafted UI components inspired by the best design engineers. AI-powered component generation.
mcpizy install 21st-devnpx -y @21st-dev/magic-mcpCreate presentations and PowerPoints using AI. Generate professional slides from text prompts.
Generate beautiful interactive charts using Apache ECharts. Bar, line, pie, scatter, and more.
Generate visual charts using AntV visualization library. Data-driven chart creation.
Build modern production-ready UI blocks and components. Tailwind-based design system.
If 21st.dev Magic doesn't fit your stack, these Design MCP servers solve similar problems.
The 21st.dev Magic MCP server is an Design Model Context Protocol server that lets Claude Code, Cursor, Windsurf, VS Code with Copilot, and other MCP-compatible AI agents create crafted UI components inspired by the best design engineers. It exposes 21st.dev Magic's capabilities as tools the AI can call directly from your editor or CLI.
The fastest way is the MCPizy CLI: run `mcpizy install 21st-dev` and MCPizy will add the server to your `.claude.json` automatically. You can also install it manually by adding an entry under `mcpServers` in `.claude.json` with the command `npx -y @21st-dev/magic-mcp` and restarting Claude Code.
Yes. The 21st.dev Magic MCP server is free and open source (see the GitHub repository linked on this page). You may still need a 21st.dev Magic account or API key to connect the server to the underlying service, but the MCP layer itself has no MCPizy subscription cost.
Yes. Any MCP-compatible client works — including Claude Code, Claude Desktop, Cursor (via `.cursor/mcp.json`), Windsurf, VS Code with Copilot Chat, and custom agents built on the MCP SDK. The same install command targets all of them; only the config file path differs.
Once installed, your AI agent can create crafted UI components inspired by the best design engineers directly inside your conversation. Typical use cases include asking Claude Code or Cursor to run 21st.dev Magic operations, inspect results, chain 21st.dev Magic with other MCP servers (see our Workflow Recipes), and automate repetitive design tasks without leaving your editor.