MC Figma Bridge
Enables Cursor (MCP client) to interact with an active Figma document through a local WebSocket bridge and Figma plugin, providing tools to read and modify canvas elements like text and frames.
README
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 document
Approach ini berbeda dari MCP database. Database bisa dikoneksi langsung lewat driver, sementara kontrol canvas Figma membutuhkan plugin yang aktif di editor.
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 install
Build:
pnpm build
Jalankan manual untuk development:
pnpm dev
Default WebSocket port adalah 3055. Bisa diganti dengan environment variable:
FIGMA_MCP_WS_PORT=3056 pnpm dev
Catatan: 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.