UNPKG

@21st-dev/cli

Version:

MCP configuration installer by 21st.dev

29 lines (20 loc) 547 B
# @21st-dev/cli Adds MagicMCP configuration to AI IDEs (Cursor, Windsurf, Cline, etc.) ## Usage ```bash npx @21st-dev/cli@latest install <client> --api-key <key> ``` You can obtain your API key at [21st.dev Magic Console](https://21st.dev/magic/console) Supported IDEs: cursor, windsurf, cline, claude, witsy, enconvo ## Manual Installation Add to your IDE's MCP config: ```json { "mcpServers": { "@21st-dev/magic": { "command": "npx", "args": ["-y", "@21st-dev/magic@latest", "API_KEY=\"your-api-key\""] } } } ```