本项目允许您的 AI 编程代理直接访问 Figma 文件和原型。为开发者在处理 Figma 相关任务时提供便利,提升工作效率。
pipx 安装 figma-mcp
figma-mcp --figma-api-key=你的_figma_key
.cursor/mcp.json
文件:{
"mcpServers": {
"figma-python": {
"command": "figma-mcp",
"args": [
"--figma-api-key=你的_figma_key"
]
}
}
}
使用 MCP 配置文件(例如 mcp_config.json
):
{
"mcpServers": {
"figma-python": {
"command": "figma-mcp",
"args": [
"--figma-api-key=你的_figma_key"
]
}
}
}
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv
source .venv/bin/activate
uv 同步
python -m figma_mcp.main
⚠️ 重要提示
有关任何问题或改进建议,请联系:https://x.com/jasonzhou1993