Skip to main content
Glama
Figma MCP Server

Figma MCP Server

MCP-сервер Figma

Сервер ModelContextProtocol , который позволяет помощникам ИИ взаимодействовать с файлами Figma. Этот сервер предоставляет инструменты для просмотра, комментирования и анализа проектов Figma напрямую через ModelContextProtocol.

Функции

  • Добавьте файл Figma в чат с Клодом, указав URL-адрес

  • Читайте и оставляйте комментарии к файлам Figma

Related MCP server: Figma MCP Server

Настройка с Клодом

  1. Загрузите и установите приложение Claude для ПК с сайта claude.ai/download

  2. Получите API-ключ Figma (figma.com -> щелкните свое имя в левом верхнем углу -> настройки -> Безопасность). Предоставьте области действия File content и Comments .

  3. Настройте Claude для использования сервера Figma MCP. Если это ваш первый сервер MCP, запустите следующее в терминале.

echo '{
  "mcpServers": {
    "figma-mcp": {
      "command": "npx",
      "args": ["figma-mcp"],
      "env": {
        "FIGMA_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}' > ~/Library/Application\ Support/Claude/claude_desktop_config.json

Если это не так, скопируйте блок figma-mcp в ваш claude_desktop_config.json

  1. Перезагрузите Claude Desktop.

  2. Найдите значок молотка с количеством доступных инструментов в интерфейсе Клода, чтобы убедиться, что сервер работает.

Пример использования

Начните новый чат с Клодом на рабочем столе и вставьте следующее

What's in this figma file?

https://www.figma.com/design/MLkM98c1s4A9o9CMnHEyEC

Демонстрация более реалистичного использования

https://www.loom.com/share/0e759622e05e4ab1819325bcf6128945?sid=bcf6125b-b5de-4098-bf81-baff157e3dc3

Настройка разработки

Бег с инспектором

Для разработки и отладки можно использовать инструмент MCP Inspector. Inspector предоставляет визуальный интерфейс для тестирования и мониторинга взаимодействия сервера MCP.

Подробные инструкции по настройке и использованию см. в документации Inspector .

Команда для локального тестирования с помощью Inspector:

npx @modelcontextprotocol/inspector npx figma-mcp

Местное развитие

  1. Клонировать репозиторий

  2. Установить зависимости:

npm install
  1. Создайте проект:

npm run build
  1. Для разработки с автоматической перестройкой:

npm run watch

Доступные инструменты

Сервер предоставляет следующие инструменты:

  • add_figma_file : добавьте файл Figma в свой контекст, указав его URL-адрес.

  • view_node : Получить миниатюру для определенного узла в файле Figma

  • read_comments : Получить все комментарии к файлу Figma

  • post_comment : Оставить комментарий к узлу в файле Figma

  • reply_to_comment : Ответить на существующий комментарий в файле Figma

Каждый инструмент предназначен для предоставления определенных функций для взаимодействия с файлами Figma через интерфейс ModelContextProtocol.

Available Tools

5 tools
add_figma_fileC

Add a Figma file to your context

Inputs: url (required).

post_commentC

Post a comment on a node in a Figma file

Inputs: file_key (required), message (required), x (required), y (required), +1 more.

read_commentsC

Get all comments on a Figma file

Inputs: file_key (required).

reply_to_commentC

Reply to an existing comment in a Figma file

Inputs: file_key (required), comment_id (required), message (required).

view_nodeC

Get a thumbnail for a specific node in a Figma file

Inputs: file_key (required), node_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: adding files, posting comments, reading comments, replying to comments, and viewing nodes. The descriptions make it easy to differentiate between file management, comment operations, and node inspection.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (e.g., add_figma_file, post_comment, read_comments, reply_to_comment, view_node) using snake_case throughout. This predictable naming scheme enhances readability and usability.

    Tool Count5/5

    With 5 tools, this server is well-scoped for basic Figma interactions, covering file management, comment lifecycle, and node viewing. Each tool earns its place without feeling excessive or insufficient for the domain.

    Completeness4/5

    The toolset provides solid coverage for comment workflows (post, read, reply) and file/node basics, but lacks operations like updating or deleting comments, or more advanced file manipulations. Agents can work around these minor gaps for core tasks.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers