figma-mcp-downloader
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFigma MCP Downloader
Figma MCP 下载器
Prerequisites
前置条件
- Figma Desktop app must be running (Local MCP server starts automatically)
- 必须运行Figma Desktop客户端(本地MCP服务器会自动启动)
Integration with Other Figma Skills
与其他Figma技能的集成
When this CLI and other Figma-related skills (such as ) are triggered together:
implement-design- First, use this CLI to download complete design context and metadata
- Then, proceed with the other skill's workflow using the downloaded files
- This ensures 100% complete data before any Figma-related operations begin
当此CLI与其他Figma相关技能(如)一起触发时:
implement-design- 第一步,使用此CLI下载完整的设计上下文和元数据
- 第二步,使用下载的文件继续执行其他技能的工作流
- 这可确保在开始任何Figma相关操作前拥有100%完整的数据
Examples
示例
Download design context as JSX
以JSX格式下载设计上下文
bash
npx figma-mcp-downloader get_design_context design_context.jsx -i "123:456" -c -l typescript -f react,tailwindcssbash
npx figma-mcp-downloader get_design_context design_context.jsx -i "123:456" -c -l typescript -f react,tailwindcssDownload design context with AI guidance
借助AI指导下载设计上下文
bash
npx figma-mcp-downloader get_design_context design_context.json -i "123:456" -l html,css,javascript -f vuebash
npx figma-mcp-downloader get_design_context design_context.json -i "123:456" -l html,css,javascript -f vueDownload design context with assets
下载包含资源的设计上下文
Use to download image, vector, and video assets locally. Requires Figma Desktop's "Image source" to be "Download".
-dbash
npx figma-mcp-downloader get_design_context design_context.jsx -i "123:456" -c -d /home/user/my-project/src/public/images -l typescript -f react,tailwindcss使用参数可将图片、矢量图和视频资源下载到本地。需要将Figma Desktop的“图片来源”设置为“下载”。
-dbash
npx figma-mcp-downloader get_design_context design_context.jsx -i "123:456" -c -d /home/user/my-project/src/public/images -l typescript -f react,tailwindcssDownload metadata as XML
以XML格式下载元数据
bash
npx figma-mcp-downloader get_metadata metadata.xml -i "123:456" -c -l typescript -f react,tailwindcssbash
npx figma-mcp-downloader get_metadata metadata.xml -i "123:456" -c -l typescript -f react,tailwindcssDownload metadata with AI guidance
借助AI指导下载元数据
bash
npx figma-mcp-downloader get_metadata metadata.json -i "123:456" -l html,css,javascript -f vuebash
npx figma-mcp-downloader get_metadata metadata.json -i "123:456" -l html,css,javascript -f vueCLI Reference
CLI 参考文档
For complete options and detailed usage, see CLI Reference.
如需完整选项和详细用法,请查看CLI参考文档。