Skip to main content
Glama

Figma MCP Python

PyPI 版本

允许你的 AI 编码代理直接访问 Figma 文件和原型。如有任何问题或改进,请直接联系我: https://x.com/jasonzhou1993

使用 pipx 快速安装

pipx install figma-mcp

对于光标:

  1. 在设置中,使用以下命令添加 MCP 服务器:

figma-mcp --figma-api-key=your_figma_key
  1. 或者在您的项目中添加一个.cursor/mcp.json文件:

{ "mcpServers": { "figma-python": { "command": "figma-mcp", "args": [ "--figma-api-key=your_figma_key" ] } } }

对于其他 IDE(例如 Windsurf),请使用 MCP 配置文件(例如mcp_config.json ):

{ "mcpServers": { "figma-python": { "command": "figma-mcp", "args": [ "--figma-api-key=your_figma_key" ] } } }

Related MCP server: Figma MCP Server

安装 uv 并设置环境

curl -LsSf https://astral.sh/uv/install.sh | sh uv venv source .venv/bin/activate uv sync

本地测试

python -m figma_mcp.main
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JayZeeDesign/figma-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server