TM

thirdstrandstudio/mcp-figma

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

77 stars 15 forks Качество 72 Тренд 14MIT

thirdstrandstudio/mcp-figma - это кандидат на сервер MCP, импортированный из T0

Обзор

thirdstrandstudio/mcp-figma - это кандидат на сервер MCP, импортированный из T0

Обзор (машинный перевод)

MCP Сервер для взаимодействия с Figma API. Этот сервер предоставляет полный набор методов Figma API через протокол Model Context Protocol. Иногда на больших файлах figma вы можете сказать ему использовать глубину = 1 для файла figma get file, а затем увеличить, когда ему нужно больше.

Инструменты

Этот сервер реализует все методы Figma API в качестве инструментов MCP:

Методы пользователя

  1. figma_get_me - Получить текущего пользователя

###Файловые методы 2. figma_get_file - Получить файл Figma по ключу 3. figma_get_file_nodes - Получите конкретные узлы из файла Figma 4. figma_get_images - Отображение изображений из файла Figma 5. figma_get_image_fills - Получить изображение в файле Figma 6. figma_get_file_versions - Получить историю версий файла Figma

Методы комментирования

  1. figma_get_comments - Получить комментарии в файле Figma
  2. figma_post_comment - Добавить комментарий к файлу Figma
  3. figma_delete_comment - Удалить комментарий из файла Figma
  4. figma_get_comment_reactions - Получить комментарии
  5. figma_post_comment_reaction - Добавить комментарий
  6. figma_delete_comment_reaction - Исключить реакцию из комментария

###Команда и методы проекта 13. figma_get_team_projects — Получайте проекты в команде

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Figma MCP Server

MCP Server for interacting with the Figma API. This server provides a complete set of Figma API methods through the Model Context Protocol. Sometimes on large figma files you might have to tell it to use depth = 1 for figma_get_file then increase when it needs more.

Tools

This server implements all Figma API methods as MCP tools:

User Methods

  1. figma_get_me - Get the current user

File Methods

  1. figma_get_file - Get a Figma file by key
  2. figma_get_file_nodes - Get specific nodes from a Figma file
  3. figma_get_images - Render images from a Figma file
  4. figma_get_image_fills - Get image fills in a Figma file
  5. figma_get_file_versions - Get version history of a Figma file

Comment Methods

  1. figma_get_comments - Get comments in a Figma file
  2. figma_post_comment - Add a comment to a Figma file
  3. figma_delete_comment - Delete a comment from a Figma file
  4. figma_get_comment_reactions - Get reactions for a comment
  5. figma_post_comment_reaction - Add a reaction to a comment
  6. figma_delete_comment_reaction - Delete a reaction from a comment

Team and Project Methods

  1. figma_get_team_projects - Get projects in a team
  2. figma_get_project_files - Get files in a project

Component Methods

  1. figma_get_team_components - Get components in a team
  2. figma_get_file_components - Get components in a file
  3. figma_get_component - Get a component by key
  4. figma_get_team_component_sets - Get component sets in a team
  5. figma_get_file_component_sets - Get component sets in a file
  6. figma_get_component_set - Get a component set by key

Style Methods

  1. figma_get_team_styles - Get styles in a team
  2. figma_get_file_styles - Get styles in a file
  3. figma_get_style - Get a style by key

Webhook Methods (V2 API)

  1. figma_post_webhook - Create a webhook
  2. figma_get_webhook - Get a webhook by ID
  3. figma_update_webhook - Update a webhook
  4. figma_delete_webhook - Delete a webhook
  5. figma_get_team_webhooks - Get webhooks for a team

Library Analytics Methods

  1. figma_get_library_analytics_component_usages - Get library analytics component usage data
  2. figma_get_library_analytics_style_usages - Get library analytics style usage data
  3. figma_get_library_analytics_variable_usages - Get library analytics variable usage data

Installation

Installing via Smithery

Открыть полный README на GitHub

Установка

npx @thirdstrandstudio/mcp-figma --figma-token your_figma_api_key
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "figma": { "command": "npx", "args": ["@thirdstrandstudio/mcp-figma", "--figma-token", "your_figma_api_key"] } } }