Figma MCP Python
Allow your AI coding agents to access Figma files & prototypes directly. You can DM me for any issues / improvements: https://x.com/jasonzhou1993
Quick Installation with pipx
bashpipx install figma-mcp
For Cursor:
- In settings, add an MCP server using the command:
shellfigma-mcp --figma-api-key=your_figma_key
- OR Add a
.cursor/mcp.jsonfile in your project:
json{ "mcpServers": { "figma-python": { "command": "figma-mcp", "args": [ "--figma-api-key=your_figma_key" ] } } }
For other IDEs like Windsurf, use an MCP configuration file (e.g., mcp_config.json):
json{ "mcpServers": { "figma-python": { "command": "figma-mcp", "args": [ "--figma-api-key=your_figma_key" ] } } }
Install uv and set up the environment
bashcurl -LsSf https://astral.sh/uv/install.sh | sh uv venv source .venv/bin/activate uv sync
Test locally
bashpython -m figma_mcp.main




