figma-mcp
Provides tools for interacting with the Figma REST API, enabling inspection of file structure and layer properties, searching and inspecting nodes, exporting images, retrieving styles, components, variables, and comments, as well as posting comments.
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., "@figma-mcpInspect https://www.figma.com/design/AbC123/App?node-id=45-678 and list colors used"
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.
figma-mcp
MCP server custom untuk Figma REST API. Sudah terdaftar di Claude Code (user scope) sebagai figma.
Setup token (wajib, sekali saja)
Buka Figma → Settings → Security → Personal access tokens → Generate new token.
Scope minimal:
File content (read). Tambahkan kalau perlu:Comments (write)→ untukfigma_post_commentFile variables (read)→ untukfigma_get_variables(Enterprise saja)
Simpan tokennya:
printf '%s' 'figd_XXXXXXXXXXXX' > ~/.figma-token && chmod 600 ~/.figma-tokenAlternatifnya set env FIGMA_TOKEN. Env menang atas file.
Verifikasi:
cd ~/mcp-figma && npm run checkHarusnya keluar OK — token valid, login sebagai <handle>.
Restart Claude Code supaya server ke-load, lalu cek dengan
/mcp.
Related MCP server: Figma MCP
Tools
Tool | Fungsi |
| Cek token valid + info akun. Panggil duluan kalau ada error auth. |
| Ringkasan struktur file: halaman + pohon layer (default depth 3). Orientasi awal. |
| Cari layer berdasarkan nama dan/atau tipe. Balikin id + path. |
| Tool utama. Properti visual siap-implementasi: ukuran, HEX fill/stroke, radius, shadow, auto-layout, properti teks. |
| JSON Figma mentah. Cuma kalau |
| Render node ke PNG/JPG/SVG/PDF. |
| Style lokal (FILL/TEXT/EFFECT/GRID) + nilainya → design token. |
| Daftar komponen & component set. |
| Variable lokal. Enterprise only, plan lain balas 403. |
| Baca komentar di file. |
| Tulis komentar. Satu-satunya tool yang menulis ke Figma dan kelihatan tim. |
|
|
Semua tool yang butuh file menerima file key mentah atau URL Figma lengkap. Kalau URL-nya
mengandung ?node-id=12-34, figma_inspect_node dan figma_export_images otomatis pakai node itu
tanpa perlu isi nodeIds.
Contoh pemakaian
"Inspect https://www.figma.com/design/AbC123/App?node-id=45-678 lalu bikinin komponen React-nya"
"Cari semua layer bertipe COMPONENT di file AbC123"
"Export frame 45:678 dari AbC123 ke PNG 2x, simpan ke ./assets"
"Ambil semua color style dari AbC123 dan jadikan CSS custom properties"Catatan
Response dipotong di 40.000 karakter supaya context tidak meledak. Ubah lewat env
FIGMA_MAX_CHARS.URL gambar hasil
figma_export_imageskedaluwarsa ~30 hari. PakaisaveDirkalau mau permanen.Rate limit Figma cukup ketat untuk endpoint
/images; render banyak node sekaligus dalam satu panggilan, jangan satu-satu.Server ini read-only kecuali
figma_post_comment. Untuk bikin/ubah node langsung di canvas Figma butuh arsitektur lain (plugin Figma + WebSocket bridge), tidak tercakup di sini.
Test
npm testThis server cannot be deployed
Maintenance
Related MCP Connectors
The Figma MCP server brings Figma design context directly into your AI workflow.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceRead-only Figma MCP server that enables design-to-code workflows by talking to the Figma REST API with a personal access token, for use with Claude Code and GitHub Copilot.1,589 npmMIT
- FlicenseNot gradedqualityDmaintenanceMCP server for the Figma API. Lets AI agents fetch designs, nodes, and rendered images from Figma.1,589 npm-
- FlicenseNot gradedqualityCmaintenanceRead-only MCP server that wraps the Figma REST API, providing tools like get file metadata, list frames, and export node image URLs for AI SDLC agents.-
- AlicenseNot gradedqualityBmaintenanceAn MCP server that lets Claude read Figma file comments directly, with tools to list comment threads scoped to a frame or file and render images of pinned nodes.11 npmISC