Skip to main content
Glama
Figma MCP Server

Figma MCP Server

Figma MCP サーバー

AIアシスタントがFigmaファイルとやり取りできるようにするModelContextProtocolサーバー。このサーバーは、ModelContextProtocolを介してFigmaデザインを直接表示、コメント、分析するためのツールを提供します。

特徴

  • URLを指定して、ClaudeとのチャットにFigmaファイルを追加します。

  • Figma ファイルのコメントを読んだり投稿したりする

Related MCP server: Figma MCP Server

クロードとのセットアップ

  1. claude.ai/downloadからClaudeデスクトップアプリをダウンロードしてインストールします。

  2. Figma APIキーを取得します(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. サーバーが実行中であることを確認するには、Claude のインターフェースで、使用可能なツールの数を示すハンマー アイコンを探します。

使用例

claudeデスクトップと新しいチャットを開始し、次の内容を貼り付けます

What's in this figma file?

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

より現実的な使用方法のデモ

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

開発セットアップ

Inspectorで実行する

開発とデバッグには、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 : URLを指定してFigmaファイルをコンテキストに追加します

  • view_node : Figmaファイル内の特定のノードのサムネイルを取得する

  • read_comments : Figma ファイルのすべてのコメントを取得する

  • post_comment : Figmaファイル内のノードにコメントを投稿する

  • reply_to_comment : Figma ファイル内の既存のコメントに返信する

各ツールは、ModelContextProtocol インターフェースを通じて Figma ファイルと対話するための特定の機能を提供するように設計されています。

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