YL

youware-labs/figma-pilot

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

105 stars 10 forks 品質 71 トレンド 0MIT

youware-labs/figma-pilotは、[[T0]からインポートされたMCPサーバー候補です。

概要

youware-labs/figma-pilotは、[[T0]からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

AIエージェントはコード実行を通じてFigmaを制御します。

英語 |中文

デモ

OpenAIランディングページ

プロンプト:「FigmaでリリースされるGPT 5.3を紹介するOpenAIスタイルのランディングページを作成してください」

マヌス設計システム

プロンプト:「Figmaのスクリーンショットに基づいてManus設計システムのコンポーネントを生成する」

デザイン哲学

このプロジェクトは、AnthropicのMCPを用いたコード実行アプローチに触発されています。

多数の個別MCPツールを公開する代わりに(コンテキストウィンドウを肥大化させエージェントの動作を遅くする)、figma-pilotは3つのツールのみを提供します:

道具 説明
figma_status 接続状況を確認
figma_execute 完全なFigma APIでJavaScriptコードを実行
figma_get_api_docs APIドキュメントを入手

AIはFigmaとやり取りするためのコードを書きます。つまり:

  • 90%+ 少ないトークン
  • バッチ操作 - 1回の呼び出しで100要素を修正
  • データフィルタリング - コンテキストに戻る前に結果をフィルタリングします
  • 複雑なワークフロー - ループ、条件付き処理、エラー処理

クイックスタート

前提条件

  • Node.js >= 18
  • Figmaデスクトップアプリ

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

figma-pilot

AI agents control Figma through code execution.

English | 中文

Demo

OpenAI Landing Page

Prompt: “Create an OpenAI style landing page introducing the upcoming GPT 5.3 release on Figma”

Manus Design System

Prompt: “Generate a Manus design system components based on the screenshot, on Figma”

Design Philosophy

This project is inspired by Anthropic’s Code execution with MCP approach.

Instead of exposing dozens of individual MCP tools (which bloat the context window and slow down agents), figma-pilot provides only 3 tools:

Tool Description
figma_status Check connection status
figma_execute Execute JavaScript code with full Figma API
figma_get_api_docs Get API documentation

The AI writes code to interact with Figma. This means:

  • 90%+ fewer tokens in tool definitions
  • Batch operations - modify 100 elements in one call
  • Data filtering - filter results before returning to context
  • Complex workflows - loops, conditionals, error handling

Quick Start

Prerequisites

  • Node.js >= 18
  • Figma Desktop app
  • An MCP-compatible AI client (Claude Desktop, Claude Code, Cursor, Codex, etc.)

1. Install MCP Server

# Claude Code
claude mcp add figma-pilot -- npx @youware-labs/figma-pilot-mcp

# Other MCP clients - add to your MCP config:
{
  "mcpServers": {
    "figma-pilot": {
      "command": "npx",
      "args": ["@youware-labs/figma-pilot-mcp"]
    }
  }
}

Config locations:

  • Claude Desktop: ~/.config/claude/claude_desktop_config.json (macOS/Linux)
  • Cursor: ~/.cursor/mcp.json

The skills/ folder contains API documentation that helps AI agents use figma_execute correctly. Install it to your AI client’s skill directory:

AI Client Skill Directory
Claude Code / Codex ~/.codex/skills/figma-pilot
Cursor ~/.cursor/skills-cursor/figma-pilot
Claude Desktop ~/.claude/skills/figma-pilot

After installation, restart your AI client to pick up the new skill.

3. Install Figma Plugin

  1. Download figma-pilot-plugin-vX.X.X.zip from Releases
  2. Unzip the file
  3. In Figma: Plugins > Development > Import plugin from manifest…
  4. Select manifest.json from the unzipped folder
  5. Run: Plugins > Development > figma-pilot

4. Verify Connection

Ask your AI agent:

GitHub で README 全文を見る

インストール

npx @youware-labs/figma-pilot-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "figma-pilot": { "command": "npx", "args": ["@youware-labs/figma-pilot-mcp"] } } }