Figma

Figma

A blazingly fast MCP server to read and export your Figma design files.

6
Stars
0
Forks
0
Releases

Overview

The Figma MCP Server is a Model Context Protocol (MCP) server that provides access to Figma files and design assets through a standardized interface. It exposes endpoints for retrieving file structures with depth-controlled responses, navigating specific nodes, and exporting images in PNG, JPG, SVG, or PDF formats. Depth management lets clients fetch only the desired levels of hierarchy (depth=1, 2, or 3+). File keys can be extracted from Figma URLs using parse_figma_url, enabling smooth integration into workflows. Exported images are also available as MCP resources with base64-encoded content, and are accessible via MCP resource URIs such as figma://file/{file_key}/node/{node_id}.{format}. The server authenticates using a Figma Personal Access Token supplied via the FIGMA_TOKEN environment variable. Supported URL patterns include https://www.figma.com/file/FILE_ID/filename and https://www.figma.com/design/FILE_ID/filename, including optional ?node-id parameters. Available tools include parse_figma_url, get_file, get_file_nodes, export_images, get_me, and help. It can be installed from crates.io as figma-mcp or built from source with cargo build --release. This MCP server is designed for developers and teams who need programmatic access to Figma data and assets.

Details

Owner
paulvandermeijs
Language
Rust
License
MIT License
Updated
2025-12-07

Features

File Access

Retrieve Figma file structures with depth control to limit response size.

Node Navigation

Access specific components within files with depth-aware traversal.

Image Export

Export design assets in PNG, JPG, SVG, or PDF formats.

URL Parsing

Extract file keys from Figma URLs using parse_figma_url.

Depth Management

Control response size and traversal depth to avoid token limits.

Resource Support

Exported images are available as MCP resources with base64-encoded content.

Audience

DevelopersBuild MCP-based integrations to access Figma data with depth control.
Design teamsExport assets as MCP resources for tooling and pipelines.

Tags

FigmaMCPserverfile accessnode navigationimage exportURL parsingdepth managementresourcesbase64figma token