New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

figsor

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

figsor

Figsor — MCP server that bridges Cursor AI to Figma for chat-driven design creation

latest
npmnpm
Version
2.0.0
Version published
Weekly downloads
64
-55.56%
Maintainers
1
Weekly downloads
 
Created
Source

Figsor

Chat in Cursor. Design in Figma.

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

How It Works

  • Install the Figsor plugin in Figma (available on the Figma Community)
  • Add one line to your Cursor MCP config
  • Chat about designs in Cursor → they appear in Figma in real-time
Cursor → MCP (stdio) → Figsor Server → WebSocket → Figma Plugin → Design on Canvas

Setup

1. Install the Figma Plugin

Search for Figsor in the Figma Community and install the plugin. Open it in any Figma file — it will wait for Cursor to connect.

2. Add to Cursor

Open your Cursor MCP settings (~/.cursor/mcp.json on Mac/Linux, %USERPROFILE%\.cursor\mcp.json on Windows) and add:

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

That's it. Cursor will automatically download and run the server when needed.

3. Start Designing

Open a Figma file, run the Figsor plugin, then 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

Figsor exposes 40+ design tools to Cursor:

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 — define vertices, bezier curves, or SVG path data
boolean_operationUnion, subtract, intersect, or exclude shapes
flatten_nodesFlatten nodes into a single editable vector
set_fillApply advanced fills — solid colors, linear/radial/angular/diamond gradients, multiple fills

Image, Typography & Constraints

ToolDescription
set_image_fillPlace image fills on nodes — placeholder mode now, Unsplash/URL support coming
style_text_rangeApply mixed styling within text — different fonts, sizes, colors per character range
set_constraintsSet responsive constraints (pin left/right/center, stretch, scale)
list_available_fontsDiscover available fonts + project/DS fonts from text styles

Component & Variable Tools

ToolDescription
create_componentCreate a new main component (reusable design element)
create_component_setCombine components into a variant set
create_variable_collectionCreate a design token collection with modes (Light/Dark)
create_variableCreate a COLOR, FLOAT, STRING, or BOOLEAN token
bind_variableBind a token to a node property for dynamic theming
get_variablesList all variable collections and tokens in the file

SVG Export & Animation

ToolDescription
export_as_svgExport any node (or all children of a frame) as SVG markup
show_animation_previewOpen a modal with live animated SVG previews + ZIP download

Select a frame of icons → tell Cursor to animate them → AI generates CSS @keyframes micro-animations for each icon → preview plays live in the plugin → download the pack as a ZIP.

Pro: Design System Integration

Unlock Pro in the plugin to connect your Figma libraries:

ToolDescription
scan_libraryScan a Figma library file
search_library_componentsSearch across your design system
create_library_instanceImport and use library components
get_library_infoView connected library info

Requirements

  • Node.js 18 or later
  • Figma desktop or web app
  • Cursor IDE with MCP support

Configuration

Environment VariableDefaultDescription
FIGSOR_PORT3055WebSocket server port

License

MIT © Asif Kabir

Keywords

figma

FAQs

Package last updated on 11 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts