关于
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.
主要功能
- Generates design tokens from Figma designs in CSS, SCSS, TypeScript, and JSON formats.
- Includes an inspector tool for triggering tool calls and reviewing responses.
- Extracts detailed CSS properties from Figma designs including gradients, multi-layered backgrounds, and text styling.
- Simplifies Figma API responses to provide only the most relevant layout and styling information to the AI model.
- Supports configuration via environment variables or command-line arguments.
- 0 GitHub stars
使用案例
- Generating design tokens to maintain consistency across codebases.
- Enabling AI coding tools to accurately implement designs from Figma files.
- Automating the extraction of CSS properties from Figma designs for use in front-end development.