官方api示意:
npx -y @smithery/cli@latest run @21st-dev/magic-mcp --config "{\"TWENTY_FIRST_API_KEY\":\"your-api-key\"}"
mcp.json配置如下
点击查看代码
{"mcpServers": {"magic-mcp": {"command": "cmd","args": ["/c","npx","-y","@smithery/cli@latest","run","@21st-dev/magic-mcp","--config","{\"TWENTY_FIRST_API_KEY\":\"你的AIP\"}"]}}
}