@21st-dev/cli
Adds MagicMCP configuration to AI IDEs (Cursor, Windsurf, Cline, etc.)
Usage
npx @21st-dev/cli@latest install <client> --api-key <key>
You can obtain your API key at 21st.dev Magic Console
The 21st CLI: search, retrieve and install 21st.dev components from your terminal, and configure the 21st MCP for your editor.
Power your agent
คำสั่งของผู้เผยแพร่เอง ไม่ใช่เอนด์พอยต์ของ PlugMCP
Host a copy with our keys and logs.
npx -y @21st-dev/[email protected]Claude Code ไม่มีลิงก์ติดตั้งสำหรับคำสั่งแบบโลคัล ให้คัดลอกคำสั่งด้านล่างแล้วรันในเทอร์มินัล
claude mcp add 21st-dev-cli -- npx -y @21st-dev/cli@1.18.0รันในเทอร์มินัล
{ "mcpServers": { "21st-dev-cli": { "command": "npx", "args": [ "-y", "@21st-dev/[email protected]" ] } }}claude_desktop_config.json
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดจากผู้เผยแพร่
Adds MagicMCP configuration to AI IDEs (Cursor, Windsurf, Cline, etc.)
npx @21st-dev/cli@latest install <client> --api-key <key>
You can obtain your API key at 21st.dev Magic Console
The 21st CLI: search, retrieve and install 21st.dev components from your terminal, and configure the 21st MCP for your editor.
Supported IDEs: cursor, windsurf, cline, claude, witsy, enconvo
Add to your IDE's MCP config:
{
"mcpServers": {
"@21st-dev/magic": {
"command": "npx",
"args": ["-y", "@21st-dev/magic@latest", "API_KEY=\"your-api-key\""]
}
}
}
{ "mcpServers": { "21st-dev-cli": { "command": "npx", "args": [ "-y", "@21st-dev/[email protected]" ] } }}เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
@21st Dev/cli ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-11-14 The 21st CLI: search, retrieve and install 21st.dev components from your terminal, and configure the 21st MCP for your editor.