Логотип 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
Категорії
Посилання
  • Підключайте інструменти до робочих процесів із ШІ

    Figsor надає можливості 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,

Використовуйте MCP Figsor з різними моделями ШІ

TypingMind підключає інструменти MCP на рівні робочого простору, тож після підключення Figsor ви можете використовувати їх із різними моделями ШІ в TypingMind, а не налаштовувати окремо для кожної моделі. Ця інтеграція MCP працює локально через конектор MCP TypingMind на вашому пристрої.

Інструкція з налаштування локального конектора

Виберіть цей варіант, якщо серверу MCP потрібен доступ до локальних файлів, програм або приватних ресурсів на вашому комп’ютері.

1

Відкрийте налаштування MCP

У TypingMind перейдіть до розділу «Налаштування», відкрийте «Розширені налаштування», потім «Протокол контексту моделі» й виберіть «Параметри конектора».

  1. Відкрийте TypingMind у браузері.
  2. Натисніть значок налаштувань.
  3. Перейдіть до розділу «Розширені налаштування».
  4. Відкрийте розділ «Протокол контексту моделі».
  5. Натисніть «Параметри конектора» й виберіть «Цей пристрій».
Екран налаштування конектора MCP у TypingMind з вибраним варіантом «Цей пристрій»
2

Виконайте команду конектора

Виберіть «Цей пристрій», скопіюйте команду з TypingMind і виконайте її в терміналі. Не зупиняйте процес, поки користуєтеся MCP.

  1. Скопіюйте команду налаштування, показану в TypingMind.
  2. Відкрийте «Термінал» у macOS або Windows Terminal у Windows.
  3. Вставте й виконайте команду.
  4. Підтвердьте встановлення пакета, якщо термінал запитає дозволу продовжити.
  5. Не закривайте вікно термінала й не зупиняйте процес, поки користуєтеся інструментами MCP.
3

Додайте Figsor як сервер

Коли статус конектора зміниться на «Готово», натисніть «Змінити сервери» та вставте конфігурацію сервера MCP.

  1. Зачекайте, доки статус конектора зміниться на «Готово».
  2. Натисніть «Змінити сервери».
  3. Вставте конфігурацію сервера MCP Figsor.
  4. Збережіть список серверів.
  5. Оновіть дані, щоб переконатися, що конектор досі готовий до роботи.
Налаштування MCP у TypingMind з активним сервером і кнопкою «Змінити сервери»
{
  "mcpServers": {
    "figsor": {
      "command": "npx",
      "args": [
        "-y",
        "figsor"
      ]
    }
  }
}
4

Використовуйте підключення з різними моделями

Збережіть список серверів, відкрийте «Плагіни», увімкніть інструменти MCP для Figsor, а потім виберіть будь-яку підтримувану модель ШІ в TypingMind і використовуйте інструменти в чаті або призначте їх агенту ШІ.

  1. Відкрийте сторінку «Плагіни» в TypingMind.
  2. Увімкніть інструменти MCP для Figsor.
  3. Почніть чат і виберіть модель ШІ, яку хочете використовувати.
  4. Використовуйте інструменти MCP у чаті або призначте їх агенту ШІ.
  5. За потреби перемикайтеся на іншу модель ШІ без повторного підключення MCP.
Чат TypingMind із використанням увімкнених інструментів MCP і вибраної моделі ШІ
Допоможете з цим завданням через Figsor?
Figsor
Звісно. Я це прочитав.
Ось що я знайшов за допомогою Figsor.

Поширені запитання

Для чого використовується сервер MCP Figsor?

Figsor — це сервер MCP, який дає змогу сумісним клієнтам ШІ підключатися до зовнішніх інструментів і контексту. У TypingMind ви можете додати цей сервер MCP один раз і зробити його інструменти доступними у своєму робочому просторі ШІ.

Чи можу я використовувати MCP Figsor з кількома моделями ШІ в TypingMind?

Так. TypingMind підключає інструменти MCP на рівні робочого простору, тому ви можете використовувати Figsor з різними моделями ШІ, як-от Claude, ChatGPT, Gemini або іншими моделями, які ви налаштували в TypingMind, без окремого налаштування сервера MCP для кожної моделі.

Навіщо використовувати MCP Figsor із TypingMind?

TypingMind — один із найкращих інтерфейсів для чату з великими мовними моделями, адже він об’єднує різні моделі ШІ, промпти, плагіни, агентів ШІ, ключі API та інструменти MCP в одному робочому просторі. Підключивши Figsor, ви зможете використовувати його інструменти MCP з вибраними моделями та впорядковано працювати з чатами в TypingMind.

Як підключити MCP Figsor до TypingMind?

Figsor працює через локальний конектор MCP TypingMind. Це найкращий варіант, коли серверу MCP потрібен доступ до локальних файлів, настільних застосунків, інструментів командного рядка або приватних ресурсів на вашому комп’ютері.

Які інструменти надає MCP Figsor у TypingMind?

Figsor надає інструменти MCP (45), які можна ввімкнути на сторінці «Плагіни» в TypingMind і використовувати в чаті або призначати агентам ШІ.

Чи потрібно передавати свої ключі API в TypingMind, щоб використовувати MCP Figsor?

Ні. TypingMind орієнтований насамперед на локальну роботу й дає змогу зберігати контроль над постачальниками моделей, ключами API, промптами та конфігурацією MCP. Якщо Figsor потребує автентифікації, під час створення підключення додайте потрібні заголовки, налаштування OAuth або локальну конфігурацію для цього сервера MCP.

Схожі сервери MCP

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇