Logo de Figsor

Figsor

Communauté
AsifKabirAntu

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

ÉditeurAsifKabirAntu
Dépôtfigsor
LangueJavaScript
Forks
11
Étoiles
73
Outils disponibles
45
Type de transportstdio
Catégories
Liens
  • Connectez des outils à vos workflows IA

    Figsor propose des fonctionnalités MCP utilisables par les clients et agents IA compatibles.

  • 45 outils disponibles

    Parcourez les actions invocables ci-dessous, avec leurs noms et descriptions lorsque le serveur les fournit.

  • Configuration prête à copier

    Utilisez les exemples de configuration pour configurer ce serveur dans votre client MCP préféré.

  • Indicateurs de popularité open source

    73 étoiles et 11 forks sur le dépôt associé.

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

Installation

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

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

Utilisez le serveur MCP Figsor avec plusieurs modèles IA

TypingMind connecte les outils MCP au niveau de l’espace de travail. Une fois Figsor connecté, vous pouvez donc l’utiliser avec différents modèles IA dans TypingMind sans avoir à le configurer séparément pour chaque modèle. Cette intégration MCP s’exécute localement sur votre appareil via le connecteur MCP de TypingMind.

Guide de configuration du connecteur local

Choisissez cette méthode si le serveur MCP doit accéder à des fichiers locaux, à des applications ou à des ressources privées sur votre ordinateur.

1

Ouvrir les paramètres MCP

Dans TypingMind, accédez à « Paramètres », puis à « Paramètres avancés » et à « Model Context Protocol », et choisissez « Configurer connecteur ».

  1. Ouvrez TypingMind dans votre navigateur.
  2. Cliquez sur l’icône Paramètres.
  3. Accédez aux paramètres avancés.
  4. Ouvrez la section Model Context Protocol.
  5. Cliquez sur « Configurer connecteur » et choisissez « Cet appareil ».
Écran de configuration du connecteur MCP de TypingMind avec l’option « Cet appareil » sélectionnée
2

Exécuter la commande du connecteur

Choisissez « Cet appareil », copiez la commande depuis TypingMind et exécutez-la dans Terminal. Laissez le processus en cours d’exécution pendant que vous utilisez MCP.

  1. Copiez la commande de configuration affichée par TypingMind.
  2. Ouvrez Terminal sur macOS ou Windows Terminal sur Windows.
  3. Collez et exécutez la commande.
  4. Autorisez l’installation du paquet si Terminal vous demande de confirmer.
  5. Gardez la fenêtre de Terminal ouverte et le processus en cours d’exécution pendant que vous utilisez les outils MCP.
3

Ajoutez Figsor en tant que serveur

Lorsque l’état du connecteur affiche « Prêt », cliquez sur « Éditer serveurs » et collez la configuration du serveur MCP.

  1. Attendez que l’état du connecteur affiche « Prêt ».
  2. Cliquez sur « Éditer serveurs ».
  3. Collez la configuration du serveur MCP Figsor.
  4. Enregistrez la liste des serveurs.
  5. Actualisez pour vérifier que le connecteur est toujours prêt.
Paramètres MCP de TypingMind affichant un serveur actif et le bouton « Éditer serveurs »
{
  "mcpServers": {
    "figsor": {
      "command": "npx",
      "args": [
        "-y",
        "figsor"
      ]
    }
  }
}
4

Utiliser la connexion avec différents modèles

Enregistrez la liste des serveurs, ouvrez « Plugins », activez les outils MCP de Figsor, puis sélectionnez un modèle IA compatible dans TypingMind et utilisez les outils dans une discussion ou attribuez-les à un agent IA.

  1. Ouvrez la page Plugins dans TypingMind.
  2. Activez les outils MCP de Figsor.
  3. Démarrez une discussion et choisissez le modèle IA que vous souhaitez utiliser.
  4. Utilisez les outils MCP dans le chat ou attribuez-les à un agent IA.
  5. Passez à un autre modèle IA selon vos besoins sans rétablir la connexion MCP.
Discussion TypingMind utilisant des outils MCP activés avec un modèle d’IA sélectionné
Pouvez-vous utiliser Figsor pour m’aider dans cette tâche ?
Figsor
Bien sûr. J’ai tout lu.
Voici ce que j’ai trouvé avec Figsor.

Foire aux questions

À quoi sert le serveur MCP Figsor ?

Figsor est un serveur MCP qui permet aux applications IA compatibles d’accéder à des outils et à des informations contextuelles externes. Dans TypingMind, il vous suffit d’ajouter ce serveur MCP une seule fois pour rendre ses outils disponibles dans votre espace de travail IA.

Puis-je utiliser le serveur MCP Figsor avec plusieurs modèles IA dans TypingMind ?

Oui. TypingMind connecte les outils MCP au niveau de l’espace de travail. Vous pouvez donc utiliser Figsor avec différents modèles IA comme Claude, ChatGPT, Gemini ou d’autres modèles configurés dans TypingMind, sans avoir à configurer le serveur MCP séparément pour chaque modèle.

Pourquoi utiliser le connecteur MCP Figsor avec TypingMind ?

TypingMind est l’une des meilleures interfaces de chat avec les LLM, car elle réunit plusieurs modèles IA, prompts, plugins, agents IA, clés API et outils MCP dans un seul espace de travail. Une fois Figsor connecté, vous pouvez utiliser ses outils MCP avec vos modèles préférés tout en gardant vos discussions bien organisées dans TypingMind.

Comment connecter le serveur MCP Figsor à TypingMind ?

Figsor fonctionne via le connecteur MCP local de TypingMind. C’est l’option idéale lorsque le serveur MCP doit accéder à des fichiers locaux, des applications de bureau, des outils en ligne de commande ou des ressources privées sur votre ordinateur.

Quels outils le serveur MCP Figsor propose-t-il dans TypingMind ?

Figsor propose 45 outils MCP que vous pouvez activer depuis la page Plugins de TypingMind et utiliser dans les discussions ou attribuer à des agents IA.

Dois-je partager mes clés API avec TypingMind pour utiliser le serveur MCP Figsor ?

Non. TypingMind privilégie le fonctionnement local et vous permet de garder le contrôle de vos fournisseurs de modèles, clés API, prompts et paramètres MCP. Si Figsor nécessite une authentification, ajoutez les en-têtes, les paramètres OAuth ou la configuration locale requis pour ce serveur MCP lors de la création de la connexion.

Serveurs MCP similaires

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇