MC Figma Bridge
Provides tools for reading and modifying Figma documents, including retrieving document info, selection, node details, setting text, and creating frames.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MC Figma Bridge read the currently selected element"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MC Figma Bridge
MCP server lokal untuk menghubungkan Cursor dengan file Figma yang sedang dibuka melalui Figma Plugin + WebSocket.
Arsitektur
Cursor / MCP Client
-> MCP stdio server
-> local WebSocket ws://localhost:3055
-> Figma Plugin UI
-> Figma Plugin main thread
-> Active Figma documentApproach ini berbeda dari MCP database. Database bisa dikoneksi langsung lewat driver, sementara kontrol canvas Figma membutuhkan plugin yang aktif di editor.
Related MCP server: Talk to Figma MCP
Tools
figma_connection_status: cek status bridge dan plugin aktif.figma_get_document_info: baca metadata file/page aktif.figma_get_selection: baca node yang sedang dipilih.figma_read_node: baca node bynodeId, atau selection pertama jika kosong.figma_set_text: ganti isi text node.figma_create_frame: buat frame baru di page aktif.
Setup
Install dependency:
pnpm installBuild:
pnpm buildJalankan manual untuk development:
pnpm devDefault WebSocket port adalah 3055. Bisa diganti dengan environment variable:
FIGMA_MCP_WS_PORT=3056 pnpm devCatatan: plugin Figma saat ini memakai port 3055 secara statis di figma-plugin/ui.html. Jika port server diganti, ubah port plugin juga.
Cursor MCP Config
Tambahkan server ini ke konfigurasi MCP Cursor:
{
"mcpServers": {
"mc-figma": {
"command": "node",
"args": [
"C:\\Users\\IT 13\\Documents\\FAISAL\\RND\\MCP\\mc-figma\\dist\\index.js"
]
}
}
}Untuk development, bisa pakai:
{
"mcpServers": {
"mc-figma": {
"command": "pnpm",
"args": [
"--dir",
"C:\\Users\\IT 13\\Documents\\FAISAL\\RND\\MCP\\mc-figma",
"tsx",
"src\\index.ts"
]
}
}
}Load Plugin di Figma
Buka Figma Desktop.
Masuk ke
Plugins -> Development -> Import plugin from manifest....Pilih
figma-plugin/manifest.json.Jalankan plugin
MC Figma Bridge.Pastikan status plugin menampilkan connected.
Batasan MVP
Figma harus terbuka dan plugin harus aktif.
Hanya satu plugin connection yang dilayani oleh bridge.
figma_set_textbelum mendukung text node dengan mixed font.Tool read memakai
depthlimit untuk mencegah response terlalu besar.Ini cocok untuk workflow interaktif, bukan batch job backend headless.
Available Tools
6 toolsfigma_connection_statusFigma Connection StatusA
Return the local WebSocket bridge status and active Figma plugin connection details.
Inputs: no named parameters.
figma_create_frameCreate Figma FrameC
Create a frame on the active Figma page and select it.
Inputs: x, y, name, width, +2 more.
figma_get_document_infoGet Figma Document InfoB
Read basic metadata for the active Figma file and current page through the plugin.
Inputs: timeoutMs.
figma_get_selectionGet Figma SelectionB
Read the currently selected nodes in the active Figma page.
Inputs: depth, timeoutMs.
figma_read_nodeRead Figma NodeA
Read a Figma node by ID. If nodeId is omitted, reads the first selected node in the active page.
Inputs: depth, nodeId, timeoutMs.
figma_set_textSet Figma TextA
Replace the characters of a Figma text node. If nodeId is omitted, uses the first selected node.
Inputs: text (required), nodeId, timeoutMs.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Tools are mostly distinct: connection status, document info, selection, node read, text set, and frame creation each target a clear purpose. However, figma_get_selection and figma_read_node can both involve reading selected nodes, which may cause slight confusion.
Most tools follow a 'figma_verb_noun' pattern (get_document_info, set_text, create_frame), but 'figma_connection_status' deviates from the verb_noun structure, and there is a mix of 'get' and 'read' verbs. Overall, the pattern is still easily recognizable.
Six tools is a well-scoped set for a Figma bridge, covering essential read and write operations without being excessive. Each tool earns its place in the collection.
The set covers basic metadata reading, node reading, text editing, and frame creation, but lacks operations like editing other node properties, creating text nodes, or deleting nodes. Agents can handle simple tasks but will hit limitations for broader design manipulation.
Maintenance
Related MCP Connectors
The Figma MCP server brings Figma design context directly into your AI workflow.
Access and maintain design system docs, tokens, components, skills, and contexts across any project.
Official Fibery MCP server: query and update your workspace from any AI client via OAuth.
Connect AI agents to Flato's editable canvas runtime through a hosted MCP server.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables Cursor AI to interact with Figma designs, allowing users to read design information and programmatically modify elements through natural language commands.401,058 npm3-
- AlicenseBqualityDmaintenanceAllows Cursor AI to communicate with Figma for reading designs and modifying them programmatically through a Model Context Protocol integration.381,058 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables Cursor AI to read and modify Figma designs via the Model Context Protocol, allowing programmatic control over documents, components, styles, and more.1,058 npmMIT
- AlicenseNot gradedqualityCmaintenanceConnects AI agents to Figma through a local WebSocket bridge, enabling read/write access to open Figma files, node manipulation, and AI-assisted rename/group features.6MIT