Home/AI Agents/cursor-talk-to-figma-mcp
cursor-talk-to-figma-mcp logo

cursor-talk-to-figma-mcp

grab/cursor-talk-to-figma-mcp

Integration of AI agents with Figma for programmable design interaction

GraphCanon updated today · GitHub synced today

7.0k stars771 forksLast push 1mo JavaScript MIT

Decision brief

cursor-talk-to-figma-mcp integrates AI agents with Figma through MCP for programmable design interaction in JavaScript under the MIT license.

Good fit when

  • - You require deep integration between Cursor, Claude Code, and Codex for modifying Figma designs programmatically
  • - Prefer working within an agentic AI framework that communicates directly with your design tools

Avoid when

  • - Seeking a non-JavaScript solution, as this tool is specifically built in JavaScript
  • - In need of integration beyond Cursor, Claude Code, or Codex, since the tool supports interaction only with these specific AI agents

Observed Jul 16, 2026 · Source: enrich:decision_facts

Verify the decision

Adoption

Package downloads where a registry match exists. GitHub stars (6,987) are secondary evidence.

npm downloads (30d)
4,261·npm downloads API·today

Maintenance and security

Full trust report
Maintenance
Steady (30d since push)
As of today
Provenance
Not a fork · Organization account
As of today
Security (OSV)
No MCP manifest
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

npm install cursor-talk-to-figma-mcp
npm

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Provides integration services enabling AI-generated interactions with design files in Figma by leveraging the Model Context Protocol (MCP). Supports Cursor, Claude Code, and Codex as AI agents.

Capability facts

Deploy
Self-host

Source: dockerfile:Dockerfile · Aug 26, 2026

Docker
Dockerfile present

Source: dockerfile:Dockerfile · Aug 26, 2026

CLI
CLI entrypoint

Source: package.json:bin|scripts · Aug 26, 2026

MCP server
Ships MCP server

Source: package.json:@modelcontextprotocol/* · Aug 26, 2026

Languages
javascript, typescript

Source: github.language+package.json · Aug 26, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Works with CursorCursor

Source: README excerpt (regex_v1, Aug 26, 2026)

project implements a Model Context Protocol (MCP) integration between AI agent (Cursor, Claude Code) and Figma, allowing AI agent to communicate with Figma for readin
Source link

Tags

README

Talk to Figma MCP

This project implements a Model Context Protocol (MCP) integration between AI agent (Cursor, Claude Code) and Figma, allowing AI agent to communicate with Figma for reading designs and modifying them programmatically.

https://github.com/user-attachments/assets/129a14d2-ed73-470f-9a4c-2240b2a4885c

Project Structure

  • src/talk_to_figma_mcp/ - TypeScript MCP server for Figma integration
  • src/cursor_mcp_plugin/ - Figma plugin for communicating with Cursor
  • src/socket.ts - WebSocket server that facilitates communication between the MCP server and Figma plugin

How to use

  1. Install Bun if you haven't already:
curl -fsSL https://bun.sh/install | bash
  1. Run setup, this will also install MCP in your Cursor's active project
bun setup
  1. Start the Websocket server
bun socket
  1. NEW Install Figma plugin from Figma community page or install locally

Quick Video Tutorial

Video Link

Design Automation Example

Bulk text content replacement

Thanks to @dusskapark for contributing the bulk text replacement feature. Here is the demo video.

Instance Override Propagation Another contribution from @dusskapark Propagate component instance overrides from a source instance to multiple target instances with a single command. This feature dramatically reduces repetitive design work when working with component instances that need similar customizations. Check out our demo video.

Manual Setup and Installation

MCP Server: Integration with Cursor

Add the server to your Cursor MCP configuration in ~/.cursor/mcp.json:

{
  "mcpServers": {
    "TalkToFigma": {
      "command": "bunx",
      "args": ["cursor-talk-to-figma-mcp@latest"]
    }
  }
}

WebSocket Server

Start the WebSocket server:

bun socket

Figma Plugin

  1. In Figma, go to Plugins > Development > New Plugin
  2. Choose "Link existing plugin"
  3. Select the src/cursor_mcp_plugin/manifest.json file
  4. The plugin should now be available in your Figma development plugins

Windows + WSL Guide

  1. Install bun via powershell
powershell -c "irm bun.sh/install.ps1|iex"
  1. Uncomment the hostname 0.0.0.0 in src/socket.ts
// uncomment this to allow connections in windows wsl
hostname: "0.0.0.0",
  1. Start the websocket
bun socket

Usage

  1. Start the WebSocket server
  2. Install the MCP server in Cursor
  3. Open Figma and run the Cursor MCP Plugin
  4. Connect the plugin to the WebSocket server by joining a channel using join_channel
  5. Use Cursor to communicate with Figma using the MCP tools

Local Development Setup

To develop, update your mcp config to direct to your local directory.

{
  "mcpServers": {
    "TalkToFigma": {
      "command": "bun",
      "args": ["/path-to-repo/src/talk_to_figma_mcp/server.ts"]
    }
  }
}

MCP Tools

The MCP server provides the following tools for interacting with Figma:

Document & Selection

  • get_document_info - Get information about the current Figma document
  • get_selection - Get information about the current selection
  • read_my_design - Get detailed node information about the current selection without parameters
  • get_node_info - Get detailed information about a specific node
  • get_nodes_info - Get detailed information about multiple nodes by providing an array of node IDs
  • set_focus - Set focus on a specific node by selecting it and scrolling viewport to it
  • set_selections - Set selection to multiple nodes and scroll viewport to show them

Annotations

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.