figma-bridge
Runs Figma Plugin API scripts in an open Figma file, enabling inspection of the connected file, pages, selection, and nodes; execution of JavaScript in the Plugin API context; reading frames as structured design data; and exporting nodes as PNG screenshots.
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-bridge read the frame I have selected and take a screenshot of it"
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-bridge
Run Figma Plugin API scripts in an open Figma file from any MCP client (such as Claude Code), and get the result back: return values, errors, design data and screenshots. No copying and pasting into a scripting plugin, no size limit, no paid plan, no dependencies.
MCP client ──stdio──▶ server.mjs ──ws://localhost:3055──▶ MCP Bridge plugin in FigmaTool | Does |
| Whether the plugin is connected; the file, its pages, the selection and the top-level nodes. |
| Runs JavaScript as the body of an async function with |
| The same, for a script file on disk (large generated scripts stay out of the conversation). |
| Reads a frame as design data for building it in code: layout and auto layout, fills, strokes, radius, effects, text styles, components and variant props, and variables and styles by name, plus a summary of what it uses. Optionally with a screenshot. |
| Reads the file's comments as threads: author, time, text, resolved or not, the node each is pinned to (named, when the plugin is open on that file) and replies. Filters: |
| Exports a node as PNG, returns the image and saves it to |
Install
1. The server. Node 18 or later. Nothing to clone. For Claude Code:
claude mcp add -s user figma-bridge -- npx -y --allow-git=all github:Seuketchi/figma-bridgeFor another MCP client, the command is npx with the arguments -y --allow-git=all github:Seuketchi/figma-bridge (npm 12 refuses GitHub packages without --allow-git=all).
2. The plugin. Once it is on Figma Community, open its page and click Open in…; it then works in the browser and the desktop app, on any plan. Until then:
Download
figma-bridge-plugin.zipfrom the latest release and unzip it.In the Figma desktop app, press Ctrl+/ (Cmd+/ on a Mac), run Import plugin from manifest and pick
manifest.jsonfrom that folder. Development plugins only load in the desktop app; on Linux the unofficial figma-linux app works (see below).
Related MCP server: figma-meta-mcp
Use
Open a file, then run Plugins > Development > MCP Bridge and keep its small window open. The dot turns green when the server is connected.
One server holds the port at a time. A second one waits and takes over when the port is free. Set FIGMA_BRIDGE_PORT to use another port (and change it in plugin/manifest.json and plugin/ui.html).
Comments
The Plugin API cannot see comments, so figma_comments reads them from Figma's REST API. It needs a personal access token with the file_comments:read scope (Figma > Settings > Security > Personal access tokens). Save it to ~/.config/figma-bridge/token or set FIGMA_TOKEN. With no file_key, it uses the file open in the plugin (the development plugin reports its key; reload the plugin after updating).
node scripts/probe.mjs [node-id] checks the whole path without an MCP client: it waits for the plugin, runs a read-only script and takes a screenshot.
Security
Whatever the MCP client sends runs in your open Figma file with the full Plugin API, as your account, and can change or delete anything in the file. Use it with a client you trust, and keep version history in mind.
The server listens on 127.0.0.1 only and refuses WebSocket connections from web pages (any Origin other than the plugin's null). Nothing leaves your computer except what Figma itself sends, and, for figma_comments, a request to api.figma.com with your token. The token stays in the file or variable you put it in.
figma-linux notes
Logging in goes through your browser and back with a
figma://link. If the app never logs in, register it as the handler:update-desktop-database ~/.local/share/applicationsandxdg-mime default figma-linux.desktop x-scheme-handler/figma(with afigma-linux.desktopfile whoseExecends in%U).In version 0.11.5, a second copy of the app does not hand a link to the running one. To open a file, start the app with its URL as an argument.
Test
npm test
Licence
MIT
Available Tools
6 toolsfigma_commentsA
Read the comments on a Figma file as threads: who wrote each one, when, the text, whether it is resolved, the node it is pinned to (with the node's name when the plugin is open on that file) and the replies. The Plugin API cannot see comments, so this uses Figma's REST API with a personal access token from FIGMA_TOKEN or ~/.config/figma-bridge/token. With no file_key it uses the file open in the plugin.
Inputs: node_id, file_key, unresolved.
figma_readA
Read a frame or node as design data for building it in code: the node tree with boxes relative to the parent, auto layout (direction, gap, padding, alignment, sizing), fills, strokes, radius, effects, text with font, weight, size, line height, tracking and colour (runs when mixed), component and variant props, and bound variables and styles by name. Also a summary of the colours, fonts, variables and styles used. With no node_id it reads the selection, else the first top-level node. Set screenshot to also see it.
Inputs: depth, scale, node_id, max_nodes, +1 more.
figma_runA
Run JavaScript in the open Figma file through the Plugin API, as the body of an async function with figma in scope (top-level await works). print(...) and console.log(...) are collected. Returns the value of a return statement, the printed lines, or the error with its stack. The plugin uses dynamic-page access: use figma.getNodeByIdAsync, figma.setCurrentPageAsync and page.loadAsync() before reading another page. A layer whose fonts are missing cannot be moved into another parent or re-stacked (appendChild, insertChild), only moved by x and y.
Inputs: code (required), timeout_s.
figma_run_fileA
Run a JavaScript file from disk in Figma, the same way as figma_run. Use it for large generated scripts (such as Scripter scripts from the handoff tool) so they do not travel through the conversation.
Inputs: path (required), timeout_s.
figma_screenshotA
Export a node as PNG and show it. With no node_id it uses the first selected node, else the first top-level node of the page. The PNG is also saved to disk and its path returned.
Inputs: scale, node_id, save_to.
figma_statusA
Whether the MCP Bridge plugin is connected, and the open file: pages, current page, selection and its top-level nodes with their ids and bounds.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
figma_run and figma_run_file could be confused but are clearly differentiated by source (inline body vs file on disk), as are figma_read (structured design data) and figma_screenshot (PNG image). The only real overlap is figma_status vs figma_read, both of which surface node/selection info, though status is framed as connection/file introspection.
All tools share a single figma_ prefix with snake_case, which is highly predictable. Minor deviation: status and comments are nouns while run, run_file, read, and screenshot are verb-like, but the pattern is still readable and coherent.
Six tools is well-scoped for a Figma bridge: a status probe, an execution escape hatch (inline and file variants), a design-data reader, comment reader, and screenshot exporter. Each tool clearly earns its place with no padding.
The generic figma_run/figma_run_file give write and lifecycle coverage as an escape hatch, and reads cover design data, screenshots, and comments. Gaps are minor: comments are read-only (no posting/replies), and asset export is limited to PNG, but core workflows are covered.
Maintenance
Related MCP Connectors
The Figma MCP server brings Figma design context directly into your AI workflow.
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Remote MCP for 1,500+ APIs. Vault-managed credentials; OAuth or API key. Search, load, and execute.
Unofficial Browserless MCP — wraps the Browserless headless-Chromium REST API (browserless.io)
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables MCP clients to read design structure, take screenshots, create nodes, and edit UI directly on Figma canvas via a bridge between MCP and Figma Desktop.10MIT
- AlicenseAqualityDmaintenanceFigma MCP server that lets agents execute arbitrary JavaScript inside a running Figma desktop app via a local development plugin, enabling real-time document inspection and manipulation while avoiding REST API rate limits.3MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible AI clients to read and modify the user's currently open Figma file by executing JavaScript in Figma's sandbox, all through a local bridge with status monitoring, node jumping, and automatic rollback on errors.3MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to read and modify the currently open Figma design file through a paired local Figma plugin, supporting operations like creating nodes, editing properties, and exporting PNG/SVG.2MIT