How does Magic AI Agent handle my codebase?
It only writes or modifies files related to the components it generates, following your project’s code style and structure without affecting other parts of your application.
@21st-dev
Basic information
It's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic
Documentation reviewed 2026-10-25
Magic MCP has moved to the unified 21st MCP. The old package now acts as a compatibility proxy rather than a separate Magic backend.
The upstream README says old Magic API keys were reset. Obtain a new key from 21st.dev/mcp and follow the current 21st client setup. If an old configuration connects but authentication fails, check the key migration before changing transports.
These notes check the linked documentation, not a live authenticated connection. Suggested checks are steps for you to run.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"magic-mcp": {
"command": "npx",
"args": [
"@21st-dev/cli@latest",
"install",
"<client>",
"--api-key",
"<key>"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
An AI-powered MCP server that creates modern UI components from natural language descriptions. It integrates with Cursor, Windsurf, and VSCode (including Cline) to generate polished, customizable React components in your IDE.
Generate an API key at 21st.dev Magic Console, then install via one CLI command (npx @21st-dev/cli@latest install <client> --api-key <key>) or manually add an MCP config entry. In your AI Agent’s chat, type /ui followed by a description of the component you need.
It only writes or modifies files related to the components it generates, following your project’s code style and structure without affecting other parts of your application.
Yes, all generated components are fully editable with well‑structured code, just like any other React component in your project.
You will be prompted to upgrade your plan if you exceed your monthly limit. Existing components remain fully functional.
Magic AI Agent can handle components of varying complexity, from simple buttons to complex interactive forms. For best results, break very complex UIs into smaller components.
Node.js (latest LTS recommended) and one of the supported IDEs (Cursor, Windsurf, or VSCode with Cline). The server only requires an API key from 21st.dev.
Cartesia MCP is a remote MCP server for Cartesia (https://cartesia.ai) available at https://mcp.cartesia.ai.

Krafters is a French club of specialized AIs for freelancers and small businesses. Its connector opens the member's AI kits for Facebook and Instagram ads, SEO/GEO and short videos directly in Claude, and gives the next

Free MCP server for dating profiles. Look up the official photo rules and AI-photo policies of Tinder, Hinge and Bumble — photo limits, verification, what gets you banned — each quoted from the app's own guidelines wi

Extract, search and tag any document — invoices, receipts, contracts, forms, or your own templates. 13 tools, one sign-in (OAuth 2.1) or API key, free FileTag tier, data residency in the EU, US, Israel or Asia.
HeyLead: AI agent for LinkedIn outreach. Finds the right people, writes in your voice, follows up and handles replies, from Claude Code, Cursor, any MCP client or a web dashboard.
Comments