Figma-Context-MCP

tothienbao6a0/Figma-Context-MCP

3.5

If you are the rightful owner of Figma-Context-MCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Figma MCP Server by Bao To is an advanced server for extracting and analyzing design systems from Figma, optimized for AI-driven development.

Tools

Functions exposed to the LLM to take actions

get_figma_data

When the nodeId cannot be obtained, obtain the layout information about the entire Figma file

download_figma_images

Download SVG and PNG images used in a Figma file based on the IDs of image or icon nodes

get_figma_variables

Retrieves all variables and variable collections from a Figma file. Variables are different from design tokens - they are Figma's dynamic values system that can store colors, numbers, strings, and booleans with different modes/themes.

generate_design_tokens

Extracts design tokens (colors, typography, spacing, effects) from a Figma file and saves them as a JSON file.

generate_design_system_doc

Generates a comprehensive set of Markdown documents detailing the design system from a Figma file into a specified directory.

compare_design_tokens

Compare design tokens between two Figma files or token sets to identify changes, additions, and removals.

validate_design_system

Validate design tokens against design system best practices and rules.

check_accessibility

Check design tokens for accessibility compliance issues (contrast, text sizes, etc.).

migrate_tokens

Convert design tokens to different formats (Tailwind, CSS Variables, Style Dictionary, Figma Tokens).

check_design_code_sync

Compare Figma design tokens with code tokens to identify sync issues between design and implementation.

analyze_figma_components

Analyzes Figma components to understand structure, variants, and relationships for intelligent AI-driven code generation. This tool helps AI agents understand component semantics, props, variants, and implementation patterns.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources