Figma MCP

v1.0.1
io.scalably/figma-mcp Checked 1 day ago Published 2 months ago

Figma MCP: list frames in a file and fetch one frame's JSON and image safely.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_frames

List and optionally filter all top-level FRAME nodes in a Figma file. Returns exact page/name/node-id data, nullable dimensions, current file metadata, completeness, request ID, and rate-limit proof. Requires file_content:read.

ParameterTypeDescription
file_key *stringFile key parsed from the Figma URL.
querystringOptional case-insensitive page or frame-name substring.

fetch_frame

Read one Figma frame and transactionally write frame.png, node.json, and a normalized imageRef-to-URL fills.json map under the output directory. Returns upstream request proof plus local size, SHA-256, PNG structure/dimensions, and JSON read-back proof. Existing unrelated files are preserved.

ParameterTypeDescription
file_key *stringFile key parsed from the Figma URL.
node_id *stringExact frame node ID, normally colon-form such as 2968:811.
out_dir *stringOutput directory for this frame. Relative paths resolve below the output root (default ./figma-output), which is created on first use; absolute paths must stay below it.
scalenumberPNG scale from 0.01 through 4; default 1.