Figma Context

•

Enables AI coding tools to access and interpret Figma designs for code generation and design token extraction.

Figma Context bridges the gap between Figma designs and AI-powered coding tools like Cursor, Windsurf, and Cline, by acting as a Model Context Protocol (MCP) server. It allows these tools to access Figma files, extract detailed CSS properties, and generate design tokens in various formats (CSS, SCSS, TypeScript, JSON). This enhanced data access significantly improves the accuracy of AI-driven code generation and ensures that designs are translated into code more faithfully than using screenshots alone.

主な機能

01Generates design tokens from Figma designs in CSS, SCSS, TypeScript, and JSON formats.
02Includes an inspector tool for triggering tool calls and reviewing responses.
03Extracts detailed CSS properties from Figma designs including gradients, multi-layered backgrounds, and text styling.
04Simplifies Figma API responses to provide only the most relevant layout and styling information to the AI model.
05Supports configuration via environment variables or command-line arguments.
060 GitHub stars

ユースケース

01Generating design tokens to maintain consistency across codebases.
02Enabling AI coding tools to accurately implement designs from Figma files.
03Automating the extraction of CSS properties from Figma designs for use in front-end development.