FA

f2c-ai/f2c-mcp

Developer tools
410 stars 0 forks Quality 97 Trend 97

F2C MCP Server

Overview

![npm version][npm-version-href] ![npm downloads][npm-downloads-href] ![github][github-href] ![node][node-href] [npm-version-src]: https://img.shields.io/npm/v/@f2c/mcp?style=flat&colorA=18181B&colorB=F0DB4F [npm-version-href]: https://npmjs.com/package/@f2c/mcp [npm-downloads-src]: https://img.shields.io/npm/dm/@f2c/mcp?style=flat&colorA=18181B&colorB=F0DB4F [npm-downloads-href]: https://npmjs.com/package/@f2c/mcp [github-src]: https://img.shields.io/badge/github-@f2c/mcp-blue?style=flat&colorA=18181B&colorB=F0DB4F [github-href]: https://github.com/f2c-ai/f2c-mcp [node-src]: https://img.shields.io/node/v/@f2c/mcp?style=flat&colorA=18181B&colorB=F0DB4F [node-href]: https://nodejs.org/en/about/previous-releases Due to Figma REST API rate limits, if you are affected, please switch to @f2c/mcp-plugin for normal operation. A Model Context Protocol server for Figma Design to Code using F2C. - 🎨 Pixel-Perfect HTML/CSS:F2C converts Figma designs to pixel-perfect HTML/CSS with precision.

README

F2C MCP Server

Due to Figma REST API rate limits, if you are affected, please switch to @f2c/mcp-plugin for normal operation.

English | 简体中文

A Model Context Protocol server for Figma Design to Code using F2C.

Features

  • 🎨 Pixel-Perfect HTML/CSS:F2C converts Figma designs to pixel-perfect HTML/CSS with precision.
  • ⚛️ Multi-Framework Support:F2C generates React, CSS Modules, and Tailwind CSS code for fast development.
  • 🧠 Figma Design Context:F2C integrates design context, ensuring compatibility with AI tools like Cursor.
  • 🔗 Figma File URL Parsing:F2C converts design nodes via Figma URLs, streamlining workflows.
  • 🖼️ Remote Image Localization:F2C automates downloading Figma images to local assets for efficiency.

How it works

  1. Configure the Server in an MCP-supported IDE (e.g., Cursor, Trae).

recommended to use Comate AI IDE

  1. Open your chat in IDE (e.g. agent mode in Cursor).
  2. Paste a link to a Figma Node (Right-click any node in the Figma Layer panel to copy it).
  3. Enter your requirements in the chat, such as fetching node data, downloading images, converting to code, etc.

Configuration and Development

See Configuration and Development

Data Privacy Notice

The logging tools integrated in this project are used solely for basic usage statistics and error log reporting. No sensitive information or user data is collected. All reported data is used exclusively to improve product quality and user experience.

FAQ

See FAQ

Credits

Thanks to:

  • Framelink Figma MCP Server Give Cursor and other AI-powered coding tools access to your Figma files with this Model Context Protocol server.
  • Cursor Talk to Figma MCP Allowing Cursor to communicate with Figma for reading designs and modifying them programmatically.
  • Figma MCP Server This server provides tools for viewing, commenting, and analyzing Figma designs directly through the ModelContextProtocol.
View this README on GitHub

Install

This server does not publish a one-line install command.

Open the repository installation guide