FigmaMCP

Figma MCPのセットアップ:ダウンロードから最初の編集まで

言語: English · 简体中文 · 日本語

MacでFigmaMCPを使うためのFigma MCPセットアップ手順です。アプリをダウンロードして開き、チェックリストに沿って進めます。アプリがFigmaにプラグインを登録し、エージェントを接続します。設定ファイルの編集やトークンのコピーは必要ありません。

エージェントにインストールしてもらう

次の文を、MacのClaude CodeまたはCodexにコピーしてください。エージェントがFigmaMCPをダウンロードしてインストールし、Figmaでプラグインを開くことと、エージェントを一度再起動することを頼んだうえで、小さな編集を1つ行います。macOS 14以降とFigmaデスクトップアプリが必要です。プロンプトは英語ですが、エージェントはそのまま理解できます。

エージェント用セットアッププロンプト
Install FigmaMCP on this Mac, then make one small edit in my open Figma file. Use only the commands below, and ask me before anything else.

1. Check that `sw_vers -productVersion` is 14 or later and that /Applications/Figma.app exists. If not, stop and tell me.
2. Download and install the app:
   curl -fL -o /tmp/FigmaMCP.dmg https://github.com/MrCoder/figmamcp-releases/releases/latest/download/FigmaMCP.dmg
   hdiutil detach /tmp/figmamcp-dmg 2>/dev/null; hdiutil attach -nobrowse -readonly -mountpoint /tmp/figmamcp-dmg /tmp/FigmaMCP.dmg
   pgrep -x FigmaMCP && osascript -e 'quit app "FigmaMCP"'
   rm -rf /Applications/FigmaMCP.app && ditto /tmp/figmamcp-dmg/FigmaMCP.app /Applications/FigmaMCP.app
   hdiutil detach /tmp/figmamcp-dmg
3. Run /Applications/FigmaMCP.app/Contents/Resources/bin/figmamcp setup and read its output. Exit code 3 means a step still needs doing. If Figma has never been opened, ask me to open it once, then run setup again. If Figma must restart, ask me before you run setup --restart-figma.
4. Ask me to open a file in the Figma desktop app and run Plugins > Development > FigmaMCP. Then run figmamcp doctor from the same folder until it exits 0.
5. Ask me to restart you so you load the figmamcp tools: quit, run claude --continue (Claude Code) or codex resume --last (Codex), and type "continue".
6. Call figmamcp's page_info, then create_text with "Hello from FigmaMCP" on the current page, using the page id and exact name from page_info. If the edit is refused because editing is off, ask me to turn on "AI can edit this file" in the plugin.

クリックで進めたい場合は、下の手順をご覧ください。

必要なもの

セットアップ

  1. アプリをダウンロードする

    Mac用FigmaMCPを入手して開きます。

    Macにダウンロード Version 0.1.25 macOS 14以上 · Intel / Apple Silicon対応 · 約155 MB

    ダウンロードが遅い、またはブロックされていますか?GitHubのリリースページから FigmaMCP.dmg を取得してください。SHA-256を確認。

  2. チェックリストに沿って進める

    アプリがFigma、Claude Code、Codexの有無を確認し、プラグインをインストールしてエージェントを接続します。Add to Figmaをクリックしてください。Figmaが起動中でプラグインが入っていない場合に限り、Figmaが一度だけ再起動します。任意で「アクセシビリティ」を許可すると、FigmaMCPがAIの代わりにプラグインを開けます。

  3. Claude CodeまたはCodexを再起動する

    すでに起動している場合は再起動して、新しいツールを読み込ませます。

  4. 編集を頼む

    Figmaファイルを開き、エージェントに変更を頼みます。たとえば「Frame 12という名前のレイヤーを、すべて見出しに合わせた名前に変更して」と頼みます。

1ページのFigmaMCPチートシート(PDF、英語)をFigmaの横に置いておくと便利です。セットアップ手順、うまくいくプロンプト、ツール一覧、よくある問題の対処をまとめています。

ダウンロードを確認する

アプリにはmacOS 14以降が必要で、IntelとApple SiliconのMacで動きます。ディスクイメージは約155 MBです。/download が遅い、またはブロックされている場合は、GitHubのリリースページから FigmaMCP.dmg を取得してください。リリースページでは、各ファイルの横に sha256: の値が表示されます。手元のファイルの値と比べてください:

shasum -a 256 ~/Downloads/FigmaMCP.dmg

2つの値が違う場合は、ファイルを削除してダウンロードし直してください。

インストーラーが変更する場所

アプリのチェックリストが書き込むのは次の場所だけです。完了済みのステップは飛ばします。

インストーラーが書き込むファイルと設定
場所内容
/Applications/FigmaMCP.appアプリ本体。
~/.figmamcp/versions/<バージョン> と ~/.figmamcp/currentバージョンごとのMCPサーバー、リレー、プラグイン、スキル。current は使用中のバージョンへのシンボリックリンクです。config.json にリレーのポート、logs/ にリレーのログが入ります。
~/.claude.jsonclaude mcp add で追加する、ユーザースコープのMCPエントリ figmamcp。Claude Codeがインストールされている場合のみ。
~/.codex/config.tomlcodex mcp add で追加するMCPエントリ figmamcp。Codexがインストールされている場合のみ。
~/.claude/skills/figmamcp と ~/.codex/skills/figmamcpFigmaMCPスキル(エージェント向けの使い方ガイド)。どちらかが別の場所へのリンクになっている場合は変更しません。
~/Library/LaunchAgents/com.figmamcp.relay.plistログイン時にローカルリレーを起動するLaunchAgent。リレーは localhost のポート3155で待ち受け、使えない場合は3156〜3158のうち最初に空いているポートを使います。
Figmaのプラグイン一覧FigmaMCPの開発版プラグインを ~/Library/Application Support/Figma/settings.json に追加します。元のファイルは隣に settings.json.figmamcp-backup として保存されます。

以前のfigma-editの設定はそのまま残ります。figma-edit-mcpを使っていた場合、そのMCPエントリ、ポート3055のリレー、古いfigma-editプラグインは変更されません。見分け方:FigmaMCPのツール名は mcp__figmamcp__… で、プラグインはPlugins、Development、FigmaMCPにあります。figma-editのツール名は mcp__figma-edit__… です。両方を残したくない場合は、古いエントリを削除してください(例:claude mcp remove figma-edit)。

アンインストール・以前のバージョンに戻す

以前のバージョンに戻す:リリース一覧から古い FigmaMCP.dmg をダウンロードし、Applicationsのアプリを置き換えて開き、チェックリストを実行します。そのあとClaude CodeまたはCodexを再起動します。インストールした以前のバージョンは ~/.figmamcp/versions に残っています。

アンインストール:まずFigmaでPlugins、Development、Manage plugins in developmentを選び、FigmaMCPを削除します。次に、ターミナルで以下のコマンドを実行します。使っていないエージェントの claude または codex の行は飛ばしてください。最後の2行はアプリとすべてのFigmaMCPのバージョンを削除するもので、元に戻せません。

osascript -e 'quit app "FigmaMCP"'
launchctl bootout gui/$(id -u)/com.figmamcp.relay
rm ~/Library/LaunchAgents/com.figmamcp.relay.plist
claude mcp remove figmamcp -s user
codex mcp remove figmamcp
rm -rf ~/.claude/skills/figmamcp ~/.codex/skills/figmamcp
rm -rf /Applications/FigmaMCP.app ~/.figmamcp

そのあとClaude CodeまたはCodexを再起動して、ツールを読み込まないようにします。

うまくいかないとき

初めての方は、チュートリアルClaude CodeでFigmaファイルを5分で編集するをどうぞ。デモ動画と、最初の読み取り・編集のプロンプトがあります。ほかの作業はチュートリアル一覧(英語)をご覧ください。

次に読むなら:Claude CodeでFigmaを編集する、CodexでFigmaMCPを使う、エージェントが書き込めるもの(いずれも英語)。

よくある質問

ターミナルは必要ですか?
いいえ。セットアップはMacアプリが行います。ダウンロードして開き、チェックリストに沿って進めるだけです。
Figma APIトークンは必要ですか?
いいえ。FigmaMCPはMac上のFigmaデスクトップアプリとPlugin API経由で通信するため、作成したり貼り付けたりするアクセストークンはありません。
Figmaが再起動するのはなぜですか?
FigmaMCPはFigmaが閉じている間にプラグインを追加し、プラグインはFigmaの次回起動時に表示されます。アプリがFigmaを再起動するのは、Figmaが起動中でプラグインが入っていなかった場合の一度だけです。
Claude CodeやCodexの再起動は必要ですか?
はい、すでに起動していた場合は必要です。再起動すると新しいツールが読み込まれます。

最終更新: