Figma-Context-MCP

v0.13.2
io.github.GLips/Figma-Context-MCP Checked 2 days ago Published 5 months ago

Give your coding agent access to your Figma data.

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

get_figma_data Get Figma Data

Get comprehensive Figma file data including layout, content, visuals, and component information

ParameterTypeDescription
fileKey *stringThe key of the Figma file to fetch, often found in a provided URL like figma.com/(file|design)/<fileKey>/...
depthnumberOPTIONAL. Do NOT use unless explicitly requested by the user. Controls how many levels deep to traverse the node tree.
nodeIdstringThe ID of the node to fetch, often found as URL parameter node-id=<nodeId>, always use if provided. Use format '1234:5678' for a standard node, or 'I5666:180910;1:10515;1:10336' for a deeply nested in…

download_figma_images Download Figma Images

Download SVG and PNG images used in a Figma file based on the IDs of image or icon nodes. Images will be saved relative to the server's image directory: /tmp

ParameterTypeDescription
fileKey *stringThe key of the Figma file containing the images
localPath *stringThe directory to save images in. Provide a path relative to the server's image directory (e.g., 'public/images' or 'assets/icons'). Either separator works. Absolute paths are accepted only if they poi…
nodes *arrayThe nodes to fetch as images
pngScalenumberExport scale for PNG images. Optional, defaults to 2 if not specified. Affects PNG images only.