Everything (official reference server)
Test/reference server that exercises every MCP feature (prompts, tools, resources, sampling). Built for MCP client developers, not for everyday use.
MCP server by 21st-dev · ★ 6k · updated 1 month ago
It's like v0, but in your Cursor / Claude Code / Windsurf: search 10,000+ React/Tailwind components, generate new UI with AI, and publish your own — right from your editor. Magic MCP is now the 21st MCP; this package keeps old configs working. Setup: 21st.dev/mcp
Choose your AI client and copy the config.
Add to claude_desktop_config.json — macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Then restart Claude.
{
"mcpServers": {
"magic-mcp": {
"command": "npx",
"args": [
"@21st-dev/cli@latest",
"init",
"--client",
"cursor",
"#",
"or:",
"claude",
"|",
"vscode",
"|",
"windsurf",
"|",
"codex"
]
}
}
}Or add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
{
"mcpServers": {
"magic-mcp": {
"command": "npx",
"args": [
"@21st-dev/cli@latest",
"init",
"--client",
"cursor",
"#",
"or:",
"claude",
"|",
"vscode",
"|",
"windsurf",
"|",
"codex"
]
}
}
}Or add to .vscode/mcp.json in your workspace.
{
"servers": {
"magic-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"@21st-dev/cli@latest",
"init",
"--client",
"cursor",
"#",
"or:",
"claude",
"|",
"vscode",
"|",
"windsurf",
"|",
"codex"
]
}
}
}Run in your terminal:
claude mcp add magic-mcp -- npx @21st-dev/cli@latest init --client cursor # or: claude | vscode | windsurf | codexRun the server directly:
npx @21st-dev/cli@latest init --client cursor # or: claude | vscode | windsurf | codex"env") in the config.Test/reference server that exercises every MCP feature (prompts, tools, resources, sampling). Built for MCP client developers, not for everyday use.
Tools to read, search and manipulate Git repositories (status, diff, log, commit, branches) via LLMs.
Up-to-date, version-specific library documentation and code examples pulled straight into your prompt, so coding assistants stop hallucinating outdated APIs.
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.
GitHub's official MCP Server
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.