Installation & Configuration
{
"mcpServers": {
"@21st-dev/magic": {
"command": "npx",
"args": [
"-y",
"@21st-dev/magic@latest",
"API_KEY=\"your-api-key\""
]
}
}
}{
"mcpServers": {
"@21st-dev/magic": {
"command": "npx",
"args": [
"-y",
"@21st-dev/magic@latest",
"API_KEY=\"your-api-key\""
]
}
}
}