Skip to main content
Glama

Figma MCP サーバー

Figma の API との統合を提供し、Figma ファイル、コメント、コンポーネントなどを操作できるようにするモデル コンテキスト プロトコル (MCP) サーバーです。

特徴

  • ファイル操作

    • ファイル情報を取得する

    • ファイルのバージョン履歴を取得する

    • ファイルコンポーネントを取得する

  • コメント管理

    • ファイル内のコメントを一覧表示する

    • 新しいコメントを追加する

    • コメントを削除する

  • プロジェクトとチームの特徴

    • チームプロジェクトの一覧

    • プロジェクトファイルを取得する

    • 公開されたスタイルを取得する

  • Webhook管理

    • Webhookを作成する

    • 既存のWebhookを一覧表示する

    • Webhookを削除する

Related MCP server: Figma MCP Server

インストール

  1. リポジトリをクローンする

  2. 依存関係をインストールします:

npm install
  1. サーバーを構築します。

npm run build

構成

MCP 設定ファイルで、Figma アクセス トークンを使用してサーバーを構成します。

{
  "mcpServers": {
    "figma": {
      "command": "node",
      "args": ["path/to/figma-server/build/index.js"],
      "env": {
        "FIGMA_ACCESS_TOKEN": "your-access-token-here"
      },
      "disabled": false,
      "alwaysAllow": []
    }
  }
}

利用可能なツール

ファイル操作

get_file

Figmaファイルに関する情報を取得する

{
  "file_key": "string"
}

ファイルバージョンの取得

ファイルのバージョン履歴を取得する

{
  "file_key": "string"
}

ファイルコンポーネントの取得

ファイル内のコンポーネントを取得する

{
  "file_key": "string"
}

コメント管理

get_file_comments

ファイルからコメントを取得する

{
  "file_key": "string"
}

投稿コメント

ファイルにコメントを投稿する

{
  "file_key": "string",
  "message": "string"
}

コメントを削除

ファイルからコメントを削除する

{
  "file_key": "string",
  "comment_id": "string"
}

プロジェクトとチームの運営

チームプロジェクトを取得する

チームのプロジェクトを取得する

{
  "team_id": "string"
}

プロジェクトファイルを取得する

プロジェクト内のファイルを取得する

{
  "project_id": "string"
}

get_component_styles

公開されたスタイルを取得する

{
  "team_id": "string"
}

Webhook管理

ウェブフックの作成

ウェブフックを作成する

{
  "team_id": "string",
  "event_type": "string",
  "callback_url": "string"
}

get_webhooks

Webhookの一覧

{
  "team_id": "string"
}

削除_webhook

Webhookを削除する

{
  "webhook_id": "string"
}

使用例

// Example using the MCP tool to get file information
<use_mcp_tool>
<server_name>figma</server_name>
<tool_name>get_file</tool_name>
<arguments>
{
  "file_key": "your-file-key"
}
</arguments>
</use_mcp_tool>

ライセンス

マサチューセッツ工科大学

貢献

  1. リポジトリをフォークする

  2. 機能ブランチを作成する

  3. 変更をコミットする

  4. ブランチにプッシュする

  5. 新しいプルリクエストを作成する

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: comment_id (required), file_key (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.3/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: adding files, posting comments, reading comments, replying to comments, and viewing nodes. There is no overlap in functionality, making it easy for an agent to select the correct tool without confusion.

    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). This uniformity enhances readability and predictability for agents.

    Tool Count5/5

    With 5 tools, the server is well-scoped for its purpose of managing Figma files and comments. Each tool serves a specific, necessary function without bloat or redundancy.

    Completeness4/5

    The toolset covers core operations for file management and comment interactions, but lacks CRUD coverage for files (e.g., no update or delete file tools). However, agents can likely work around this minor gap for basic workflows.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers