AI-powered UI Component Builder by 21st.dev
Create beautiful, modern UI components by describing them in natural language. Magic transforms your ideas into production-ready code.
Built on the Model Context Protocol, enabling seamless integration with AI assistants like Claude, Cursor, and Windsurf.
Requires both server API key and your personal Magic API key from 21st.dev console.
Instantly generate React, Vue, Angular, and vanilla JavaScript components with modern styling.
X-API-Key: <server-api-key>
X-Magic-API-Key: <your-21st.dev-magic-api-key>
curl -H "X-API-Key: <server-api-key>" \
-H "X-Magic-API-Key: <your-magic-api-key>" \
https://magic.mcp.majewscy.tech/tools
To use this service, you need a Magic API key from 21st.dev: