Logotipo de Figsor

Figsor

Comunidad
AsifKabirAntu

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

EditorAsifKabirAntu
Repositoriofigsor
IdiomaJavaScript
Forks
11
Estrellas
73
Herramientas disponibles
45
Tipo de transportestdio
Categorías
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Figsor ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 45 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    73 estrellas y 11 forks en el repositorio enlazado.

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

Instalación

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

Herramientas disponibles

  • 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,

Usa el MCP de Figsor con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Figsor, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Figsor como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de Figsor.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "figsor": {
      "command": "npx",
      "args": [
        "-y",
        "figsor"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Figsor y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Figsor.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Figsor para ayudarme con esta tarea?
Figsor
Claro. Lo he leído.
Esto he encontrado usando Figsor.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Figsor?

Figsor es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Figsor con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Figsor con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de Figsor con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con Figsor conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP Figsor a TypingMind?

Figsor funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP Figsor en TypingMind?

Figsor ofrece 45 herramientas MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP Figsor?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si Figsor requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇