Skip to content
21st.dev Magic logo

21st.dev Magic

Create crafted UI components inspired by the best 21st.dev design engineers.

Connect

  1. Copy the MCP config below.
  2. In Cursor, open Settings → MCP and add a new global server, or create .cursor/mcp.json in your project.
  3. Paste the JSON, save, and refresh MCP connections.
  4. If the server needs extra setup, follow the GitHub readme.

MCP config

Paste into Cursor (.cursor/mcp.json) or Claude Desktop

{
  "mcpServers": {
    "magic-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "github:21st-dev/magic-mcp"
      ]
    }
  }
}