Magic MCP
Magic MCP is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. It's like v0, but in your Cursor / Claude Code / Windsurf: search 10,000+ React/Tailwind components, generate new UI… It has 6,566 GitHub stars, is released under the ISC license and runs locally with npx -y @21st-dev/magic.
github.com/21st-dev/magic-mcp (opens in a new tab)
Data as of from the GitHub API; description from the project's repository. Report an error
Install Magic MCP
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"magic-mcp": {
"command": "npx",
"args": [
"-y",
"@21st-dev/magic"
]
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --transport stdio magic-mcp -- npx -y @21st-dev/magicCursor
{
"mcpServers": {
"magic-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@21st-dev/magic"
]
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"magic-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@21st-dev/magic"
]
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
About Magic MCP
Magic MCP is now the 21st MCP. The Magic MCP server (@21st-dev/magic) has been replaced by the unified 21st MCP, installed via the 21st CLI — setup at 21st.dev/mcp. This package remains published as a thin compatibility proxy so old configs keep working.
- 21st
- claude
- cursor
- mcp
- model-context-protocol
- react
- tailwindcss
- ui-components
Similar MCP servers
More developer tools MCP servers
MobileBuildMCP
getsentry/MobileBuildMCP
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Active · last commit Oct 22, 2026
OfficialDeveloper toolsTypeScriptJscpd
kucherenko/jscpd
Copy/paste detector for source code. 220+ languages, Rust engine, SARIF/HTML/badge reporters, GitHub Action, MCP server for AI agents.
Active · last commit Nov 13, 2026
Developer toolsRustRepowise
repowise-dev/repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
Active · last commit Nov 16, 2026
OfficialDeveloper toolsPythonClaude Code Ultimate Guide
FlorianBruniaux/claude-code-ultimate-guide
Search the Claude Code Ultimate Guide and machine-readable references from any MCP client.
Active · last commit Nov 14, 2026
Developer toolsPythonDesktop Commander
wonderwhy-er/DesktopCommanderMCP
MCP server for terminal commands, file operations, and process management.
Active · last commit Nov 12, 2026
Developer toolsJavaScriptOuroboros
Q00/ouroboros
Pins an acceptance spec; the verify command and expected output never enter the success contract.
Active · last commit Nov 13, 2026
Developer toolsPython
How do I install the Magic MCP MCP server?
Add the command npx -y @21st-dev/magic to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Magic MCP free?
The server is open source under the ISC license, so running it is free. It does not declare any required API key.
Is Magic MCP actively maintained?
The most recent commit was on Sep 9, 2026. The latest release is v0.2.3, published Sep 9, 2026. appsgit only lists MCP servers with a commit in the last six months.