21st-dev/magic-mcp
❌ 实测失败serverTypeScriptISC★ 6447
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
实测结果
失败
沙箱内启动/握手失败,下方给出失败阶段与原始报错。失败阶段:initialize,错误类型:initialize_error。这类信息对判断“是不是我这边的环境问题”很有用,原始报错见下。
error_type: initialize_error
{"code": -32001, "message": "Not authenticated - your API key is missing or was reset. Get a fresh key at https://21st.dev/mcp and update your MCP config (x-api-key / Bearer)."}- 安装方式
- npx
- 包名
- @21st-dev/magic
- 解析依据
- npm registry match (has bin)
- 沙箱
- docker
- 总耗时
- 4754 ms
- 安装耗时
- 4109 ms
- 工作目录
- 1 MB
- 探针版本
- 1.0.0
- 实测时间
- 2026-11-11 12:28:43
如何使用
1安装 / 启动命令npm / npx
npx -y @21st-dev/magic
2客户端配置Claude Desktop / Cursor
{
"mcpServers": {
"21st-dev-magic-mcp": {
"command": "npx",
"args": [
"-y",
"@21st-dev/magic"
]
}
}
}整段粘进 claude_desktop_config.json 的 mcpServers 里(Cursor 用 ~/.cursor/mcp.json),保存后重启客户端。
安装方式来源:npm registry match (has bin),沙箱实测未通过。
仓库信息
- 全名
- 21st-dev/magic-mcp
- 分类
- server
- Stars
- 6447
- Forks
- 522
- 主要语言
- TypeScript
- License
- ISC
- 最近推送
- 2026-09-09
- 仓库创建
- 2025-02-19
- 首次收录
- 2026-11-10
- 最近抓取
- 2026-11-10
#21st#claude#cursor#mcp#model-context-protocol#react#tailwindcss#ui-components