Magic MCP (21st.dev)
Generates crafted UI components in your editor using 21st.dev design patterns, integrating with Cursor, Windsurf, and Cline.
Delv Safety Grade: B
Score 72/100 · assessed 2026-04-18
Magic MCP is a commercial component generator from 21st.dev, a smaller design tooling vendor. It fetches pre-built React and Vue components via API and writes them into your project. The maintainer is a legitimate but relatively young company without the track record of major vendors. Supply chain is standard npm with npx install, though the API key requirement means you're trusting 21st.dev's service availability and data handling. Permissions are moderate: it writes to filesystem (component files) and makes network calls to their API. Transparency is reasonable with public repo and docs, but the service itself is proprietary. No known incidents. The main risk is vendor lock-in to 21st.dev's design system and reliance on their API uptime. Suitable for prototyping but consider the commercial dependency for production work.
Green flags
- Standard npm package distribution with versioning
- Public GitHub repo with visible source for CLI tooling
- Scoped to component generation, no shell or system-level access
- Clear documentation and integration guides for multiple editors
- No known security incidents or malicious behaviour
Red flags
- Requires paid API key, creating vendor lock-in to 21st.dev service
- Relatively new vendor (21st.dev) without long operational track record
- Proprietary backend API, opaque component generation logic
- Filesystem write access to inject generated code into your project
Permissions requested
Install
npx @21st-dev/cli@latest install cursor --api-key YOUR_KEY
MAGIC_API_KEYReview
Install if you prototype often and 21st.dev's design language fits your work. Skip if you need full control over component structure or work outside React/Vue. It's a time-saver for the right kind of project, not a universal tool.
Good at
- Generates production-ready components faster than browsing component libraries or writing from scratch.
- 21st.dev's curation means consistent quality and modern design patterns out of the box.
- Works natively in Cursor and Windsurf with minimal setup friction once the API key is in place.
- Good for rapid prototyping when you need polished UI without the usual iteration loop.
Watch out
- Locked into 21st.dev's design opinions, which may clash with your existing brand or component architecture.
- Requires an API key from 21st.dev, so you can't trial it anonymously or offline.
- Limited to React and Vue, so useless if you're working in Svelte, Angular, or server-rendered templates.
- Component catalogue is finite, so niche or highly custom UI needs still require manual work.
Use cases
- UI component generation
- design system scaffolding
- rapid prototyping
- component library curation
Getting started
Works with
Similar MCPs
- GitHubFull GitHub API access - manage repos, issues, PRs, and code search. One of the most useful MCPs for any developer workflow.
- GrafanaGrafana Labs' official MCP. Read dashboards, datasources, alerts, and run Loki/Prometheus queries from inside your agent.
- SentryPull live errors, issues, and replays from Sentry into Claude. Great for debugging sessions where the model can see what actually broke in prod.
- MCP CLIInteractive CLI inspector for MCP servers supporting OAuth, tool calls, resource reads, and prompt runs.