Skip to main content
Glama
figma-mcp-v2

figma-mcp-v2

by LukasAnda

Download icons, images and renders

figma_download_assets

Downloads a Figma design's icons, illustrations, and image fills as SVG or original formats to a local folder. Also renders specific layers to PNG, JPG, SVG, or PDF at custom scales for direct use in code.

Instructions

Downloads a design's assets to a folder:

  • auto_detect (default on): finds icons/illustrations (vector-only layers) in the node and saves them as SVG, and saves images used as fills in their original format (png/jpg/webp/gif).

  • nodes: explicit layers to render, each as png/jpg/svg/pdf at a scale (e.g. a logo at 2x). Identical files are saved once. Returns the list of written files with the node each came from, so code can reference them.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "figma_download_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
dirNoOutput folder (relative to the server's working directory, or absolute)figma-assets
urlYesFigma link, e.g. https://www.figma.com/design/<fileKey>/<name>?node-id=12-345 (right-click a layer > Copy link to selection). A bare file key also works.
nodesNo
sourceNoWhere to read from. auto (default): Figma's viewer protocol (no token, no Dev Mode), then the REST API if FIGMA_TOKEN is set, then the plugin. web/rest/plugin force one.auto
node_idNoNode id to use instead of the one in the link, e.g. "12:345", "12-345", or an instance sublayer "I12:345;67:89".
png_scaleNoDefault scale for png/jpg renders
auto_detectNo
include_image_fillsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (readOnly=false, openWorld=true, non-idempotent, non-destructive) the description discloses real side effects: files are written into a folder, identical files are de-duplicated, and the result is a list of written files mapped to source nodes. It also notes that the default source needs no token and no Dev Mode, which is meaningful auth context. It stops short of saying whether existing files are overwritten or what happens on partial failure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight bullets plus a closing sentence on idempotent file saving and the return shape; the mode distinction is front-loaded and nothing is redundant. The phrasing is dense but every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter, no-output-schema tool the description covers what matters: the two invocation modes, format/scale semantics, de-duplication, and the shape of the return value (written files with originating node). Remaining unknowns — overwrite behavior, folder creation, partial-failure handling — are secondary but would make the write behavior fully predictable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 63% schema coverage across 8 parameters, the description meaningfully explains the two operationally important ones: auto_detect (vector-only layers become SVG, image fills keep their original png/jpg/webp/gif format) and nodes (per-layer format and scale, e.g. a logo at 2x). It adds little on dir, node_id, png_scale, or include_image_fills, which the schema already documents, so it sits at the expected baseline rather than compensating for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a concrete verb+resource ("Downloads a design's assets to a folder") and then splits the operation into two named modes (auto_detect fills/vectors vs. explicit node renders), so an agent knows exactly what the tool produces. It does not explicitly contrast itself with nearby tools such as figma_get_screenshot or figma_get_design, leaving the reader to infer that this one writes files to disk rather than returning data inline.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives usable mode-selection guidance: use auto_detect to harvest icons and image fills, or pass nodes to render specific layers at a scale, and the schema's source enum explains the auto->web->rest->plugin fallback. However it never says when to reach for this tool over a sibling (e.g. a single screenshot) or when a need is better served by another export path.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.