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" ] } } }

安装 uv 并设置环境

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

本地测试

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

Related MCP Servers

  • A
    security
    F
    license
    A
    quality
    Enables AI assistants to interact with Figma files through the ModelContextProtocol, allowing viewing, commenting, and analyzing Figma designs directly in chat interfaces.
    Last updated -
    5
    631
    206
    • Apple
  • -
    security
    A
    license
    -
    quality
    Gives AI-powered coding tools like Cursor, Windsurf, and Cline access to Figma design files, enabling more accurate code generation directly from Figma designs.
    Last updated -
    18,999
    MIT License
  • A
    security
    -
    license
    A
    quality
    Enables AI agents to interact with Figma in real-time through a WebSocket connection. Supports comprehensive design operations including text manipulation, layouts, components, variables, and export functionality.
    Last updated -
    184
    72
    207
    MIT License
    • Apple
    • Linux
  • -
    security
    A
    license
    -
    quality
    Provides AI coding agents with access to Figma design data through the Figma API. Enables accurate one-shot implementation of designs in any framework by translating Figma files into simplified layout and styling information.
    Last updated -
    0
    MIT License
    • Apple
    • Linux

View all related MCP servers

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