Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Figma Local

БесплатноНе проверен

A custom MCP server for Figma that runs entirely locally.

GitHubEmbed

Описание

A custom MCP server for Figma that runs entirely locally.

README

A custom MCP server for Figma that runs entirely locally.

Architecture

Figma Desktop → Figma Plugin → WebSocket Bridge → MCP Server → Claude/Codex
  1. Figma Plugin - Runs in Figma Desktop with full access to the Plugin API
  2. Bridge Server - WebSocket server that receives data from the plugin
  3. MCP Server - Exposes Figma tools to Claude via MCP protocol

Setup

1. Install Dependencies

yarn install
yarn build-plugin

2. Install the Figma Plugin

  1. Open Figma Desktop
  2. Go to Plugins → Development → Import plugin from manifest
  3. Select /figma-plugin/manifest.json
  4. The plugin will appear in your Plugins menu

3. Start the Bridge Server

In a terminal, run:

yarn bridge

This starts:

  • WebSocket server on ws://localhost:3000 (for Figma plugin)
  • HTTP API on http://localhost:3001 (for MCP server)

4. Add to Claude

claude mcp add figma-local node /Users/user/Desktop/my-mcp/mcp.js
codex mcp add figma-local node /Users/user/Desktop/my-mcp/mcp.js

Validate using

claude mcp list
codex mcp list

Remove using

claude mcp remove figma-local
codex mcp remove figma-local

Replace the path with your actual project path.

5. Run the Plugin

  1. Open any Figma file
  2. Go to Plugins → Development → Figma MCP Bridge
  3. The plugin UI should show "Connected to bridge"

Usage

Once everything is running, you can ask Claude to interact with your Figma files:

"What's in my current Figma page?"
"Find all buttons in this design"
"Get the properties of the selected node"
"Export this frame as PNG"

Available Tools

  • get-figma-document - Get current document structure
  • get-current-page - Get detailed info about active page
  • get-selection - Get currently selected nodes
  • get-all-pages - List all pages
  • find-nodes - Search for nodes by name
  • get-node-properties - Get detailed properties of a node
  • export-node - Export node as PNG/SVG/JPG
  • check-bridge-status - Check if everything is connected

Benefits vs API-based Approach

✅ No API key needed ✅ No rate limits ✅ Works with private/local files ✅ Real-time access to your current selection ✅ Full Plugin API capabilities ✅ No network latency (all local)

Troubleshooting

Plugin shows "Disconnected":

  • Make sure the bridge server is running (yarn bridge)
  • Check that nothing else is using port 3000/3001

Claude can't access Figma:

  • Verify the bridge server is running
  • Run check-bridge-status tool to see connection state
  • Make sure the plugin is open in Figma

Build errors:

  • Run yarn install to ensure all dependencies are installed
  • For plugin TypeScript errors, run yarn build-plugin

Development

Project Structure

my-mcp/
├── figma-plugin/
│   ├── manifest.json       # Plugin manifest
│   ├── code.ts            # Plugin main code
│   ├── ui.html            # Plugin UI
│   └── tsconfig.json      # TypeScript config
├── bridge-server.js       # WebSocket bridge
├── mcp.js                # MCP server with Figma tools
└── package.json

Adding New Tools

  1. Add handler in figma-plugin/code.ts (action switch statement)
  2. Expose via MCP in mcp.js using server.registerTool()
  3. Rebuild plugin: yarn build-plugin

License

ISC

from github.com/suulola/Figma-Local-MCP-Server

Установка Figma Local

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/suulola/Figma-Local-MCP-Server

FAQ

Figma Local MCP бесплатный?

Да, Figma Local MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Figma Local?

Нет, Figma Local работает без API-ключей и переменных окружения.

Figma Local — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Figma Local в Claude Desktop, Claude Code или Cursor?

Открой Figma Local на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

LibreOffice Tools

Enables AI agents to read, write, and edit Office documents via LibreOffice with token-efficient design. Supports multiple formats including DOCX, XLSX, PPTX, a

passerbyflutterавтор: passerbyflutter

dannote/figma-use

Full Figma control: create shapes, text, components, set styles, auto-layout, variables, export. 80+ tools.

dannoteавтор: dannote

Logo.dev

Search and retrieve company logos by brand or domain. Customize size, format, and theme to match your design needs. Accelerate design, prototyping, and content

NOVA-3951автор: NOVA-3951

Design Inspiration Server

Searches top design platforms like Dribbble and Behance to provide UI inspiration, color palettes, and layout patterns via the Serper API. It allows users to re

YonasValentinавтор: YonasValentin

PIX4Dmatic

Enables GUI automation for controlling PIX4Dmatic on Windows through MCP. Supports launching, focusing, capturing screenshots, sending hotkeys, clicking UI elem

jangjo123автор: jangjo123

Figma

Extract design specs and assets

Figmaавтор: Figma

mcp-dockmaster

An Open-Sourced UI to install and manage MCP servers for Windows, Linux and macOS.

автор: Community

ariekogan/ateam-mcp

Build, validate, and deploy multi-agent AI solutions on the ADAS platform. Design skills with tools, manage solution lifecycle, and connect from any AI environm

ariekoganавтор: ariekogan

thinkchainai/mcpbundles

MCP Bundles: Create custom bundles of tools and connect providers with OAuth or API keys. Use one MCP server across thousands of integrations, with programmatic

thinkchainaiавтор: thinkchainai

arikusi/nakkas

MCP server that turns AI into an SVG artist. One rendering engine with JSON config, AI controls all design parameters. CSS @keyframes + SMIL animations, 16+ ele

arikusiавтор: arikusi

Compare Figma Local with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории design