Figsorのロゴ

Figsor

コミュニティ
AsifKabirAntu

Figsor is an MCP server that bridges Cursor to Figma, enabling chat-driven design creation and editing - directly on your Figma canvas.

公開者AsifKabirAntu
リポジトリfigsor
言語JavaScript
フォーク
11
スター
73
利用可能なツール
45
通信方式stdio
カテゴリ
リンク
  • ツールをAIワークフローに接続

    Figsorは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 45個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには73件のスターと11件のフォークがあります。

Figsor

Chat in Cursor. Design in Figma.

Figsor is an MCP server that bridges Cursor AI to Figma, enabling chat-driven design creation and editing — directly on your Figma canvas.

Cursor → MCP (stdio) → Figsor Server → WebSocket → Figma Plugin → Design on Canvas

Setup

1. Install the Figma Plugin (Sideload)

Clone this repo and import the plugin into Figma:

bash
https://github.com/AsifKabirAntu/figsor.git

In Figma: Plugins → Development → Import plugin from manifest → select figsor/figma-plugin/manifest.json

2. Add to Cursor

Open your Cursor MCP settings and add:

json
{
  "mcpServers": {
    "figsor": {
      "command": "npx",
      "args": ["-y", "figsor"]
    }
  }
}

3. Start Designing

  1. Open a Figma file
  2. Run the Figsor plugin (Plugins → Development → Figsor)
  3. Chat in Cursor:

"Create a mobile login screen with email and password fields"

"Design a dashboard with a sidebar, KPI cards, and charts"

"Edit the selected frame — make the button rounded and change the color to blue"

Available Tools (45+)

Create & Layout

ToolDescription
create_frameCreate frames (screens, sections, cards)
create_textAdd text with font, size, weight, color
create_rectangleCreate rectangles and shapes
create_ellipseCreate circles and ovals
create_lineCreate lines and dividers
create_svg_nodeCreate icons and vector graphics from SVG
set_auto_layoutConfigure flexbox-style auto-layout
modify_nodeEdit any existing element
set_strokeAdd borders and strokes
set_effectsAdd shadows and blur effects
delete_nodeRemove elements
move_to_parentRestructure the layer hierarchy

Read & Inspect

ToolDescription
get_selectionRead the current selection
get_page_structureGet the full page tree
read_node_propertiesInspect any node's properties
find_nodesSearch for elements by name or type
set_selectionSelect and zoom to elements
get_local_stylesRead the file's design tokens
list_componentsBrowse available components
create_component_instanceUse existing components
detach_instanceConvert instances to frames

Vector Drawing & Advanced Fills

ToolDescription
create_vectorDraw custom shapes with the pen tool
boolean_operationUnion, subtract, intersect, or exclude shapes
flatten_nodesFlatten nodes into a single editable vector
set_fillApply solid colors, linear/radial/angular/diamond gradients, multiple fills

Image, Typography & Constraints

ToolDescription
set_image_fillPlace image fills on nodes
style_text_rangeApply mixed styling within text
set_constraintsSet responsive constraints
list_available_fontsDiscover available fonts

Component & Variable Tools

ToolDescription
create_componentCreate a new main component
create_component_setCombine components into a variant set
create_variable_collectionCreate a design token collection with modes
create_variableCreate a COLOR, FLOAT, STRING, or BOOLEAN token
bind_variableBind a token to a node property
get_variablesList all variable collections and tokens

SVG Export & Animation

ToolDescription
export_as_svgExport any node as SVG markup
show_animation_previewLive animated SVG previews + ZIP download

AI-Powered SVG (Quiver)

ToolDescription
quiver_generate_svgGenerate SVG graphics from text prompts
quiver_vectorize_svgConvert raster images to clean SVG

Peer Design (Multi-Agent)

ToolDescription
spawn_design_agentSpawn AI designer agents with visible cursors
dismiss_design_agentRemove an agent cursor
dismiss_all_agentsRemove all agent cursors

Design Craft Guide

ToolDescription
get_design_craft_guideProfessional design rules — typography, color, spacing, anti-AI-slop

Pro: Design System Integration

Connect your Figma design system libraries so the AI uses YOUR components, not generic ones.

  • Scan & import library components
  • Search across your design system
  • Save & switch between libraries
  • Generate designs with your DS

Get Figsor Pro → — $9 one-time purchase

Requirements

  • Node.js 18 or later
  • Figma desktop or web app
  • Cursor IDE with MCP support (or any MCP-compatible client — see below)

Using with Claude Code

Figsor works with any MCP client, not just Cursor. To use it with Claude Code:

bash
claude mcp add --transport stdio --scope project figsor -- npx -y figsor

Or add to .mcp.json in your project root:

json
{
  "mcpServers": {
    "figsor": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "figsor"]
    }
  }
}

Then follow the same steps — open Figma, run the Figsor plugin, and chat.

Configuration

Environment VariableDefaultDescription
FIGSOR_PORT3055WebSocket server port

License

MIT © Asif Kabir

インストール

TypingMind
{
  "mcpServers": {
    "figsor": {
      "command": "npx",
      "args": [
        "-y",
        "figsor"
      ]
    }
  }
}

利用可能なツール

  • get_connection_status

    Check if the Figma plugin is connected and whether Peer Design mode is enabled. When peerDesign is enabled, you MUST spawn design agents (Nic, Deniz, Jaffa) before creating elements, and use agentId on every creation/modification tool call. Interleave work across agents for a collaborative feel.

    PEER DESIGN RULES (when peerDesign is enabled):

    1. BE CONSISTENT: Pick a cohesive style — colors, spacing, radii, font sizes — and apply it everywhere.
    2. USE AUTO-LAYOUT: Every container must use set_auto_layout with proper padding and spacing.
    3. TRULY SIMULTANEOUS: Call ALL THREE agents in the SAME tool call batch. Every response should contain 3+ tool calls at once — one per agent working on different elements at the same time. Never do one agent's work, wait, then the next. Batch them.
    4. COMPLETE EACH PIECE: Each element gets frame + auto-layout + stroke + content in one burst before moving on.
  • spawn_design_agent

    Spawn a visual AI designer agent on the Figma canvas. The agent appears as a Figma-native colored cursor with a name label — exactly like a real collaborator. Use this when Peer Design mode is enabled (check get_connection_status). Default agents: Nic (#3B82F6 blue), Deniz (#10B981 green), Jaffa (#F97316 orange).

    ORDER: First create the main root frame for the design. THEN spawn agents on top of it. This way agents appear on an already-set-up canvas, which looks natural.

    After spawning, pass agentId on every creation and modification call so each agent's cursor animates to their work.

    WORKFLOW: Agents are collaborative — they can work on the same section or split across different sections. E.g. all 3 build one stat card each simultaneously, or one builds frames while another fills content. Mix it up naturally. Interleave 2-5 ops per agent before switching.

  • dismiss_design_agent

    Remove a design agent's cursor from the canvas. Call this when the agent has finished designing.

  • dismiss_all_agents

    Remove ALL design agent cursors from the canvas. Call this when the entire design task is complete.

  • create_frame

    Create a new frame in Figma. Frames are the primary container/layout element (like a div in HTML). Use them for screens, sections, cards, navigation bars, buttons, etc. Returns the new frame's node ID for use in subsequent operations.

    BEST PRACTICE: Always follow up with set_auto_layout on container frames. Use padding/spacing instead of hardcoded x/y. Omit fillColor on layout-only frames (they should be transparent). Only set fillColor on frames that genuinely need a background (cards, screens, buttons).

  • create_rectangle

    Create a rectangle shape. Useful for backgrounds, dividers, decorative elements, image placeholders, etc.

  • create_ellipse

    Create an ellipse (circle or oval). Useful for avatars, status indicators, decorative elements. Set equal width/height for a perfect circle.

  • create_text

    Create a text element. Supports font family, size, weight (via fontStyle), color, and text wrapping.

    TYPOGRAPHY RULES: Set letterSpacing on ALL CAPS text (3-5px for 12-14px font), small text 11-13px (0.2-0.5px), and tighten large headings 32px+ (-0.3 to -0.5px). Use lineHeight: body 1.5-1.7× fontSize, headlines 1.0-1.2×. Never use pure #000000 — use #0B0B0B or #111111 instead.

  • create_line

    Create a line element. Useful for dividers, separators, and decorative lines.

  • create_svg_node

    Create a node from an SVG string. Great for icons, logos, and vector illustrations.

  • set_auto_layout

    Configure auto-layout on a frame (Figma's equivalent of CSS Flexbox). This controls how children are arranged and spaced within the frame. Set direction, spacing, padding, and alignment.

  • modify_node

    Modify properties of an existing node. Works on any node type. For text nodes, you can also update characters and fontSize. For auto-layout children, you can set layoutSizingHorizontal/layoutSizingVertical to control how they fill space.

  • set_stroke

    Add or modify the stroke (border) on a node.

  • set_effects

    Apply visual effects (drop shadow, inner shadow, layer blur, background blur) to a node. Replaces existing effects.

  • delete_node

    Delete a node from the Figma document.

  • get_selection

    Get information about the currently selected nodes in Figma. Useful for understanding what the user is looking at or wants to modify.

  • get_page_structure

    Get the hierarchical structure of all nodes on the current Figma page. Returns node IDs, names, types, positions, sizes, and children. Use this to understand the current state of the design.

  • move_to_parent

    Move a node into a different parent frame. Use this to restructure the layer hierarchy.

  • read_node_properties

    Get detailed properties of a specific node by ID, including its children. Use this to inspect a node before modifying it.

  • export_as_svg

    Export a Figma node as SVG markup string. Can export a single node or all direct children of a frame (batch mode). Use this to extract icon SVGs before applying animations, or to get raw SVG data for any visual element.

  • show_animation_preview

    Show animated SVG icons in a preview modal inside the Figma plugin. The modal displays all icons with their CSS animations playing live. Users can click individual icons to download, or use "Download Pack" to get a ZIP of all animated SVGs. Call this AFTER you've generated animated SVGs (with CSS @keyframes embedded in the SVG markup).

  • create_vector

    Create a vector node with custom paths — this is the pen tool. You can draw ANY shape by defining vertices and bezier curves via vectorNetwork, or by providing SVG path data strings via vectorPaths. This is the most powerful drawing tool — use it for complex custom shapes, organic forms, character illustrations, logos, and anything that can't be made with basic shapes. Supports fills (solid or gradient) and strokes.

  • boolean_operation

    Perform boolean operations on two or more nodes. UNION combines shapes, SUBTRACT cuts the second shape from the first, INTERSECT keeps only overlapping areas, EXCLUDE keeps only non-overlapping areas. The result replaces the input nodes.

  • flatten_nodes

    Flatten one or more nodes into a single vector. Useful for converting shapes, frames, or groups into a single editable vector path. Similar to Object > Flatten in Figma.

  • set_fill

    Set fills on a node. Supports solid colors, linear gradients, radial gradients, angular gradients, and diamond gradients. Can set multiple fills on a single node. Use this for advanced fill configurations that modify_node's simple fillColor can't handle.

  • set_image_fill

    Apply an image fill to a node, or create a new image placeholder. Currently creates styled placeholder rectangles — real image support (Unsplash, URL) coming soon. Use placeholderText to describe what image should go here (e.g. 'Hero banner with team collaboration').

  • style_text_range

    Apply mixed styling within a single text node. Style different character ranges with different fonts, sizes, colors, and decorations. This enables rich text like headlines with colored keywords, mixed-weight paragraphs, hyperlinked words, etc. Each range specifies a start/end character index (0-based) and the styles to apply.

  • set_constraints

    Set responsive constraints on a node. Controls how the node behaves when its parent frame is resized. MIN=pin to left/top, CENTER=center, MAX=pin to right/bottom, STRETCH=pin both sides, SCALE=scale proportionally. Only works on children of non-auto-layout frames.

  • create_component

    Create a new main component. Components are reusable design elements — instances created from a component stay linked to it. Use this to define buttons, cards, inputs, and other reusable UI elements. Works like create_frame but produces a Component node.

  • create_component_set

    Combine multiple components into a component set (variants). Each component becomes a variant. Name each component using 'Property=Value' format (e.g. 'Size=Large, State=Hover') before combining. Requires at least 2 components.

  • create_variable_collection

    Create a new variable collection (design token group). Collections contain variables and can have multiple modes (e.g. Light/Dark theme). Use this to set up a design token system.

  • create_variable

    Create a design token (variable) within a collection. Variables can be COLOR (hex), FLOAT (number), STRING, or BOOLEAN. Set different values per mode for theming. Bind to node properties with bind_variable.

  • bind_variable

    Bind a variable (design token) to a node property. When the variable value changes or the mode switches, the bound property updates automatically. Supports: opacity, visible, corner radii, padding, spacing, stroke weight, dimensions.

  • get_variables

    Get all local variable collections and variables defined in the file. Use this to discover existing design tokens before creating new ones or binding them to nodes.

  • list_available_fonts

    List fonts available in the Figma environment, grouped by family with their styles. Also returns 'projectFonts' — fonts already used in the file's text styles, representing the design system's typography choices. IMPORTANT: When a design system is connected, ALWAYS check projectFonts first and prefer using those fonts to maintain consistency. Use the query parameter to search for specific font families.

  • list_components

    List all components and component sets in the Figma file. Returns component IDs, names, descriptions, and variant info. Use this to discover available design system components before creating designs. When a design system is available, ALWAYS prefer creating instances of existing components over building from scratch.

  • create_component_instance

    Create an instance of an existing component. Use list_components first to find available components and their IDs. For component sets (variants), use the specific variant's ID, not the set ID.

  • detach_instance

    Detach a component instance, converting it into a regular frame. Useful when you need to customize an instance beyond its variant properties.

  • get_local_styles

    Get all local styles (colors, text styles, effect styles) defined in the Figma file. These represent the file's design tokens. Use these styles to maintain consistency when creating or editing designs.

  • find_nodes

    Search for nodes by name or type on the current page. Also searches text content for text nodes. Use this to find existing elements before editing them. For example, find all buttons, headers, or nodes matching a name pattern.

  • set_selection

    Select specific nodes in Figma and scroll the viewport to show them. Useful for highlighting elements for the user.

  • quiver_generate_svg

    Generate SVG graphics from a text prompt using Quiver AI. Returns high-quality AI-generated SVG markup. Use this for icons, logos, illustrations, and any vector graphic you can describe in words. You can also provide reference images to guide the style, including an image uploaded in the Figsor plugin's Image Upload section (set use_plugin_image_as_reference: true). The generated SVG can then be placed in Figma using create_svg_node.

  • quiver_vectorize_svg

    Convert a raster image (PNG, JPG, etc.) into a clean SVG using Quiver AI. Provide either an image URL, base64-encoded image data, or set use_plugin_image to true to use an image uploaded in the Figsor plugin's Image Upload section. Great for converting logos, icons, illustrations, or any image into scalable vector format. The generated SVG can then be placed in Figma using create_svg_node. When the user uploads/pastes an image in the chat, instruct them to also upload it in the Figsor plugin's Image Upload section, then call this tool with use_plugin_image: true.

  • get_uploaded_image_status

    Check if an image has been uploaded in the Figsor plugin's Image Upload section. Returns the image name, size, and availability status. Use this to verify an image is ready before calling quiver_vectorize_svg with use_plugin_image: true.

  • get_design_craft_guide

    Get the Figsor Design Craft Guide — a comprehensive Research-First design methodology with professional rules for typography, color, spacing, layout, motion, icons, and anti-AI-slop best practices. READ THIS BEFORE creating any design. Based on Refero Design Skill (MIT licensed).

    Available guides (pass as 'guide' parameter): • "skill" — MAIN GUIDE: Full Research-First methodology — discovery questions, research workflow, analysis framework, steal list, quality gates, Figma auto-layout rules • "typography" — Type scale, font pairing, weight, line-height, letter-spacing (ALL CAPS, small text, headings), text color system, responsive type • "color" — Palette structure (neutrals 70-90%, primary, semantic, effects), 60/30/10 rule, dark theme, contrast, token naming, anti-indigo rules • "motion" — Micro-interactions, timing (90-500ms by purpose), easing curves, reduced motion, animation tokens • "icons" — Sizing, optical corrections, style consistency (outline vs solid), icon+text pairing,

FigsorのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Figsorに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Figsorをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. FigsorのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "figsor": {
      "command": "npx",
      "args": [
        "-y",
        "figsor"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてFigsorのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. FigsorのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Figsorを使ってこのタスクを手伝ってもらえますか?
Figsor
はい、読みました。
Figsorで調べた結果をお伝えします。

よくある質問

Figsor MCPサーバーは何に使いますか?

Figsorは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでFigsor MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでFigsorを利用できます。

TypingMindでFigsor MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Figsorを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Figsor MCPをTypingMindに接続するにはどうすればよいですか?

FigsorはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでFigsor MCPのどのようなツールを利用できますか?

Figsorは45個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Figsor MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Figsorで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇