# figma-mcp-console [Health: Active]

**Category:** 📐 Architecture & Design  
**Repository:** https://github.com/hoangann2000/figma-mcp-console  
**GitHub Stars:** 14  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/figma-mcp-console

## Description
MCP server that lets your AI assistant read and write Figma in real time — no API token, no rate limits. Works with Claude, Cursor, Copilot, Codex and any MCP client.

## Tools
Capabilities this server exposes over MCP:

- **add_component_property** — Add a TEXT, BOOLEAN or INSTANCE_SWAP property to a component or component set, and optionally bind it to a child layer so the property actually drives that layer. Returns the property key needed by set_instance_properties.
- **add_variable_mode** — Add a mode (e.g. dark) to a variable collection.
- **append_children** — Move nodes into a different parent (reparent), optionally at a specific child index. Moving a variant out of its COMPONENT_SET detaches it and Figma renames it to <Set>/<Variant>; the result reports that as a warning.
- **apply_style** — Apply a local style to a node; PAINT styles go to the fill by default or the stroke via target.
- **audit_design** — Check a frame for defects a screenshot shows but is easy to misread, and return only the findings: layers cut off or hidden by a clipping parent, layers sticking out of their parent, text spilling out of or truncated in a fixed box, text below WCAG AA contrast (4.5:1, 3:1 for large text) and, with min_touch, controls too small to tap. Run it after drawing or changing a screen and fix what it lists before taking a screenshot; an empty list means none of these were found, not that the design is right. Read-only: it never changes the file.
- **batch** — Run several commands in one call, in order: building a screen is one batch instead of dozens of calls. Each op is another tool's name and arguments, and "$N" in an argument stands for the id of the node op N created, so a frame and everything inside it fit in one batch. Each op reports its own result or error; a failed op does not undo or stop the others unless stop_on_error is set. Not for get_screenshot, download_assets, import_image, diff_design or export_tokens, which run only as their own call.
- **clone_node** — Clone a node, optionally repositioning the copy or appending it to a different parent. Figma drops the copy of a node that lives in a SECTION onto the page at 0,0 instead of beside the original, so pass parent_id and x/y when cloning inside a section.
- **combine_as_variants** — Combine several COMPONENT nodes into one COMPONENT_SET (variants), laid out in a column and sized to fit them. Name each component Property=Value (e.g. "Size=Large") beforehand so Figma derives the variant properties from the names.
- **create_component** — Convert an existing FRAME into a reusable COMPONENT.
- **create_effect_style** — Create a named effect style (shadows and blurs).
- **create_ellipse** — Create a new ellipse (or circle, when width equals height) at the given position and size.
- **create_frame** — Create a new frame at the given position and size. Returns the created node's summary including its id. A top-level frame is filled white and, when x and y are omitted, placed beside the existing frames; a frame nested in another has no fill unless fill_color is given.
- **create_instance** — Create an instance of a COMPONENT at the given position. Layers inside an instance have derived ids of the form I<instance-id>;<source-child-id>, which find_nodes returns and every tool accepts.
- **create_line** — Create a straight line (e.g. a divider) with the given length, color and thickness.
- **create_page** — Add a page to the file. It does not open it; use set_current_page for that. Figma's Starter plan limits a file to 3 pages.
- **create_paint_style** — Create a named paint (color) style with a solid color.
- **create_rectangle** — Create a new rectangle at the given position and size. Returns the created node's summary including its id.
- **create_section** — Create a section on a page, the labelled area files use to group related screens. Move frames into it with append_children.
- **create_text** — Create a new text layer with the given content, optionally with a specific font family and style.
- **create_text_style** — Create a named text style with a font family, style and size.
- **create_variable** — Create a COLOR, FLOAT, STRING or BOOLEAN variable in a collection, optionally with an initial value.
- **create_variable_collection** — Create a variable collection for design tokens, optionally naming its default mode (e.g. light).
- **detach_instance** — Detach an INSTANCE from its component, turning it into a plain frame.
- **diff_design** — Find what changed in a frame since a saved snapshot: layers added, removed, or changed in text, color, size, position, font, padding, visibility or component state. Omit baseline to compare against the checkpoint the user saved for that frame with the plugin window's "Save checkpoint" button (only the user moves that one). With baseline, the snapshot is a project file: the first run saves it and reports nothing, later runs compare against it. Use it to see what a design update affects.
- **download_assets** — Export one or more nodes as SVG, PNG or JPG images and save each to a file inside the project directory. Use this to bring icons and images from Figma into the codebase. When neither the user nor the project's conventions dictate where assets go, omit path and files land in assets/icons/<layer-name>.svg for SVG or assets/images/<layer-name>.<ext> for PNG/JPG; an explicit path always wins. Pick the format per node based on its content (check type and fills via get_design_context first): SVG for pure vector content — icons, logos, shape/path illustrations — it stays sharp and editable; PNG at scale 2 for anything containing raster IMAGE fills, photos, screenshots, or blur/shadow effects, which SVG cannot represent; JPG only for large photos where file size matters.
- **export_tokens** — Export the file's variables (design tokens) as CSS custom properties or a W3C design-tokens JSON tree, with aliases kept as references (var(--x) / {x.y}). Use it to bring tokens into a codebase's theme file. Numbers are exported without units, since a Figma number may be a length, a weight or an opacity: add px where it is a length.
- **find_nodes** — Find nodes by layer name, text content, node type, fill color, font size or font style, in a subtree (node_id), a named page (page), or whichever page is open. The result names the scope it searched — pass page or node_id when it matters, since the open page can change mid-session. Use this instead of walking the tree in large files, and prefer the style filters over guessing a node's role from its size. Feed the returned ids straight into a tool's node_ids to edit the whole match set in one call.
- **get_component_states** — List every component used inside a frame, grouped by component, with all the states (variant values such as State=Default/Error/Disabled) its component set defines and the state each instance is shown in. It also lists instances edited by hand on top of their component (overrides: which layer, which fields, e.g. fills or characters), the usual sign of a state drawn by hand instead of picked from the variants. Use it to find states the design defines but a spec or test plan misses.
- **get_design_context** — Get detailed information about a node (geometry, fills, text content, designer annotations, variant values, the variable and style names behind its values, dashed borders, and the runs of text that mixes fonts, sizes or colors) including its children up to the given depth. Coordinates are relative to the parent. To read a design, pass compact: true (colors as hex, defaults omitted; the full form runs to several thousand tokens per frame). Omit compact when a script will parse the result, since scripts expect raw paint objects. Pass out to save the JSON to a project file instead of returning it, and visible_only to drop hidden layers.
- **get_local_components** — List all local COMPONENT and COMPONENT_SET nodes in the file, across all pages.
- **get_local_styles** — List the file's local paint, text, effect and grid styles with their IDs.
- **get_metadata** — Get the current Figma document: file name, current page, and a summary of the page's top-level layers.
- **get_prototype_links** — List the prototype links in a subtree (or the open page): source node, trigger, navigation and destination. Use it to check wiring after set_prototype_links.
- **get_screenshot** — Export a PNG screenshot of a node (or the current selection, or the whole page) and return it as an image. Use this to visually verify designs.
- **get_selection** — Get the nodes currently selected in Figma, with id, name, type, position and size. Each item also carries a shareable figma.com link to that frame/section when the file is saved to Figma, so selecting several frames returns their names paired with links.
- **get_variable_defs** — Get all local variable collections (with modes) and variables (design tokens) with their values per mode.
- **group_nodes** — Group the given nodes into a new GROUP in the first node's parent.
- **import_image** — Import an image from a URL or a project file into Figma. PNG, JPG and GIF become the fill of an existing node or of a new rectangle sized to the image. SVG becomes editable vector layers, scaled proportionally to width/height and recolored with color: use it for icons and logos. When the file has no icon set of its own (look for icon components with find_nodes first, and reuse them with create_instance), take icons from a library by URL with an exact version, e.g. https://unpkg.com/lucide-static@<version>/icons/<name>.svg or https://unpkg.com/@tabler/icons@<version>/icons/outline/<name>.svg.
- **import_tokens** — Create or update the file's variables from design tokens: CSS custom properties (:root is the default mode, [data-theme="x"] or a class such as .dark is mode x) or a design-tokens JSON tree ($value, {a.b} aliases). It reads what export_tokens writes, so the two keep code and Figma in sync. Variables are matched by name, or by the CSS name export_tokens gave them, and updated in place; values already equal are left alone, so running it twice changes nothing. Colors become COLOR, numbers and px FLOAT, true/false BOOLEAN, anything else (1rem, a font stack) STRING; var(--x) and {a.b} become aliases. Missing modes are added; a Figma plan limited to fewer modes skips those values and says so. Run with dry_run first on a file that already has variables.
- **list_available_fonts** — List font families (and their styles) available in Figma, optionally filtered by family name substring.
- **list_files** — List the Figma files currently connected to the bridge (one per open plugin window). When several files are connected, pass one of the returned names as the file parameter of the other tools. read_only: true means the user has Read-only ticked in that file's plugin window and every edit will be refused: before a task that changes the design, call this first and, if it is read-only, ask the user to untick it instead of starting the work.
- **list_pages** — List the document's pages and which one is currently open. Every tool except find_nodes acts on the open page, and the user can change it at any time, so check here before assuming where your work will land.
- **move_nodes** — Move one or more nodes to new x/y positions within their parents.
- **remove_nodes** — Remove (delete) one or more nodes from the document.
- **remove_page** — Delete a page and everything on it. If it is the open page, the page before it is opened first; the file's only page cannot be removed. Confirm with the user before deleting a page with content.
- **remove_styles** — Delete local styles. Layers that used one keep the look it gave them.
- **remove_variable_collection** — Delete a variable collection and every variable in it. Nodes bound to them are detached and keep the values they showed.
- **remove_variables** — Delete variables. Nodes bound to one are detached and keep the value they showed.
- **rename_nodes** — Rename one or more layers in place. Use this rather than clone_node plus remove_nodes, which breaks every existing instance of a component.
- **rename_page** — Rename a page.
- **resize_nodes** — Resize one or more nodes to the given widths and heights. Children only follow if they have constraints or auto-layout; inside a plain frame or component you must reposition them yourself with move_nodes.
- **set_auto_layout** — Set or remove auto-layout (flexbox-style) on a frame: direction, spacing, padding, alignment and sizing modes.
- **set_bound_variable** — Bind a variable to a node field such as fills, strokes, width, opacity or cornerRadius.
- **set_characters** — Replace the text content (characters) of an existing TEXT node.
- **set_corner_radius** — Set corner radius on a node, either uniform or per-corner.
- **set_current_page** — Open a page by name or id, so subsequent create/find calls act on it. Use this instead of hoping the right page is open.
- **set_effects** — Set drop shadow, inner shadow or blur effects on a node, replacing its existing effects.
- **set_fills** — Set a solid color (hex) or a linear/radial gradient fill on one or many nodes, or remove their fills with color: "none".
- **set_flow_starting_point** — Mark a frame as a prototype flow's starting point on its page, or remove it again with remove: true. Returns the page's full list of starting points.
- **set_instance_properties** — Set variant and component property values on an INSTANCE (e.g. switch it to the Large variant, or override its label text). An unknown key fails with the list of keys the instance accepts.
- **set_layout_child** — Set how layers size and sit inside their parent: FILL to stretch with an auto-layout parent, HUG to fit content, min/max sizes, ABSOLUTE positioning inside auto layout, and constraints for frames without auto layout. This is what makes a design resize properly: after set_auto_layout on a container, give the children that should grow sizing_horizontal FILL instead of a fixed width.
- **set_node_properties** — Show or hide layers, set their opacity or rotation, lock them, turn a frame's clipping on or off, or set a component's description.
- **set_prototype_links** — Wire prototype links (reactions) from source nodes to destination frames in one call: trigger, navigation and an optional transition. Each item replaces that node's existing reactions, so pass every link a node should have in the same call. BACK and CLOSE take no destination_id; the other navigations require one. Figma only accepts prototype links between top-level frames on the same page — a frame nested inside another is rejected.
- **set_selection** — Select the given nodes in Figma and scroll the viewport to show them.
- **set_strokes** — Set a solid stroke (border) color, weight and alignment on a node, or remove strokes by omitting the color.
- **set_text_properties** — Change the font family, style, size, line height, letter spacing, alignment or color of existing TEXT nodes. This is the only way to restyle text after create_text, e.g. to toggle a label between Regular and Bold for a variant.
- **set_variable_value** — Set a variable's value for a mode (hex string for COLOR variables).
- **swap_component** — Swap an INSTANCE to a different COMPONENT, keeping applicable overrides.
- **ungroup_nodes** — Ungroup GROUP or FRAME nodes, releasing their children into the parent.
- **update_style** — Edit a local style in place (name, description, and its color, font or effects by style type); every layer using it follows.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "figma-mcp-console": {
    "command": "npx",
    "args": ["-y","figma-mcp-console@latest"]
  }
}
```

## Documentation

## What figma-mcp-console does

figma-mcp-console gives AI agents a two-way connection to Figma through MCP. An agent can inspect a selected frame and use it to implement a matching screen in a code project, including exported icons and images. It can also create screens in Figma from written requirements, take screenshots, and correct visible differences.

The server covers design maintenance as well as generation. It can export Figma variables as CSS or design-token JSON, import changed tokens from code, perform checks for overflow, clipped or truncated text, low WCAG contrast, and undersized tap targets, and compare a frame against a saved checkpoint. Bulk operations support layer renaming, page-wide text replacement, and frame reorganization. SVG icons can be imported as editable vectors from file components or an icon library.

## How it works

The MCP process runs over standard stdio and uses `npx` to start the package. A companion plugin runs inside Figma Desktop and connects to a shared local bridge on port 2000. Keep the plugin window open while using the tools; a green indicator shows that it is connected.

Multiple MCP sessions and Figma files can use the same bridge. Run the plugin in each file that should be available. When more than one file is connected, calls can select a file by name, and `list_files` reports the connected files. Separate AI sessions can therefore work with different code projects while reaching the same set of Figma files.

## Setup and configuration

Node.js 18 or newer and the Figma Desktop application are required. The web version of Figma cannot run the development plugin. Register the server with an MCP client using:

```sh
npx -y figma-mcp-console@latest
```

The package can be added through Claude CLI, Claude Desktop, Codex CLI, VS Code, Cursor, Antigravity, or another stdio-compatible MCP client. The Figma plugin is installed separately: download the plugin archive from the project's latest release or run `npx figma-mcp-console install-plugin`. In Figma Desktop, import its `manifest.json` through Plugins → Development, then launch Figma MCP Console.

The plugin opens in read-only mode. Leave that setting enabled for inspection, screenshots, exports, and checks; disable it when the agent should modify the design. After updating the npm package, re-import the matching plugin archive so the plugin and server versions stay aligned.

## Tools and capabilities

- Read Figma frames and implement them in a codebase.
- Create and modify Figma screens from natural-language requirements.
- Export icons, images, CSS variables, and design-token JSON.
- Import changed design tokens from code into Figma.
- Run `audit_design` for layout, text, contrast, and tap-target issues.
- Use `diff_design` with saved checkpoints and inspect component states with `get_component_states`.
- Apply bulk layer, text, and frame edits with `batch`.
- Import SVG icons as editable, resized, recolored vectors.

## Limitations and notes

Figma Desktop must be running with the development plugin open in every file the agent needs to access. The browser version cannot host this plugin. The server does not require an API token or separate rate-limit configuration, and its local bridge is shared by sessions on the same machine. Read/write behavior is controlled in the plugin window, with read-only enabled whenever the plugin opens. Export formats and scale are selected by the agent based on the request; supported outputs include SVG, PNG, and JPG, with scales from 0.5x to 4x.

_Full upstream README: https://allmcps.com/mcp/figma-mcp-console/readme_

