
grab/cursor-talk-to-figma-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
TalkToFigma: AI 에이전트(커서, 클로드 코드, 코덱스)와 Figma 간의 MCP 통합으로, 에이전트 AI가 Figma와 통신하여 디자인을 읽고 프로그래밍적으로 수정할 수 있게 합니다.
개요
이 프로젝트는 AI 에이전트(커서, 클로드 코드)와 Figma 간의 모델 컨텍스트 프로토콜(MCP) 통합을 구현하여, AI 에이전트가 Figma와 통신하여 설계도를 읽고 프로그래밍적으로 수정할 수 있도록 합니다. https://github.com/user-attachments/assets/129a14d2-ed73-470f-9a4c-2240b2a4885c - src/talk_to_figma_mcp/ - Figma 통합을 위한 TypeScript MCP 서버 - src/cursor_mcp_plugin/ - 커서와 통신하는 Figma 플러그인 - src/socket.ts - MCP 서버와 Figma 플러그인 간 통신을 용이하게 하는 WebSocket 서버 2. 설치 실행: 이 과정은 커서의 활성 프로젝트에 MCP를 설치합니다 4. Figma 커뮤니티 페이지에서 Figma 플러그인을 설치하거나 로컬에서 설치하세요 대량 텍스트 교체 기능을 제공해 주신 @dusskapark님께 감사드립니다. 여기 데모 영상이 있습니다. Propagate 구성 요소 인스턴스@dusskapark 또 다른 기여는 소스 인스턴스에서 단일 명령으로 여러 대상 인스턴스를 오버라이드하는 것입니다.
개요(AI 번역)
이 프로젝트는 AI 에이전트(커서, 클로드 코드)와 Figma 간의 모델 컨텍스트 프로토콜(MCP) 통합을 구현하여, AI 에이전트가 Figma와 통신하여 설계도를 읽고 프로그래밍적으로 수정할 수 있도록 합니다.
https://github.com/user-attachments/assets/129a14d2-ed73-470f-9a4c-2240b2a4885c
프로젝트 구조
src/talk_to_figma_mcp/- Figma 통합을 위한 TypeScript MCP 서버src/cursor_mcp_plugin/- 커서와 통신하는 Figma 플러그인src/socket.ts- MCP 서버와 Figma 플러그인 간 통신을 용이하게 하는 WebSocket 서버
사용 방법
-
아직 설치하지 않으셨다면 Bun 설치하기:
-
설치 실행: 이 과정은 커서의 활성 프로젝트에 MCP를 설치합니다
-
Websocket 서버 시작
-
새로움 Figma 커뮤니티 페이지에서 Figma 플러그인을 설치하거나 로컬에서 설치하세요
빠른 동영상 튜토리얼
비디오 링크
디자인 자동화 예시
대량 텍스트 콘텐츠 교체
대량 텍스트 교체 기능을 제공해 주신 @dusskapark님께 감사드립니다. 여기 데모 영상이 있습니다.
인스턴스 오버라이드 전파 또 다른 기여@dusskapark Propagate 컴포넌트 인스턴스는 단일 명령어로 소스 인스턴스에서 여러 대상 인스턴스로 오버라이드됩니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 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 integrationsrc/cursor_mcp_plugin/- Figma plugin for communicating with Cursorsrc/socket.ts- WebSocket server that facilitates communication between the MCP server and Figma plugin
How to use
- Install Bun if you haven’t already:
curl -fsSL https://bun.sh/install | bash
- Run setup, this will also install MCP in your Cursor’s active project
bun setup
- Start the Websocket server
bun socket
- NEW Install Figma plugin from Figma community page or install locally
Quick Video Tutorial
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
- In Figma, go to Plugins > Development > New Plugin
- Choose “Link existing plugin”
- Select the
src/cursor_mcp_plugin/manifest.jsonfile - The plugin should now be available in your Figma development plugins
Windows + WSL Guide
- Install bun via powershell
powershell -c "irm bun.sh/install.ps1|iex"
- Uncomment the hostname
0.0.0.0insrc/socket.ts
// uncomment this to allow connections in windows wsl
hostname: "0.0.0.0",
- Start the websocket
bun socket
Usage
- Start the WebSocket server
- Install the MCP server in Cursor
- Open Figma and run the Cursor MCP Plugin
- Connect the plugin to the WebSocket server by joining a channel using
join_channel
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"TalkToFigma": {
"command": "bunx",
"args": ["cursor-talk-to-figma-mcp@latest"]
}
}
}