MCP ExplorerExplorer

F2c Mcp

@f2c-aion 21 days ago
114 MIT
FreeCommunity
AI Systems
F2C MCP Server

Overview

What is F2c Mcp

f2c-mcp is a Model Context Protocol server designed to facilitate AI coding assistants in accessing Figma design data and converting it into HTML/CSS code.

Use cases

Use cases for f2c-mcp include automating the conversion of Figma designs to code, enhancing collaboration between designers and developers, and streamlining the workflow in projects that require rapid prototyping.

How to use

To use f2c-mcp, set up your Figma API key in the ‘.env’ file, install the necessary dependencies using ‘npm install’, and start the development server with ‘npm run dev’.

Key features

Key features include providing Figma design context to AI coding tools, converting Figma nodes to styled HTML content, supporting Figma file URLs with specific parameters, fetching design metadata via the Figma API, and implementing the JSON-RPC 2.0 protocol for communication.

Where to use

f2c-mcp can be used in web development environments where integration between design and coding is essential, particularly in projects that utilize Figma for design.

Content

F2C MCP Server

MCP Server
smithery badge
npm version
npm downloads
github
node

English | 简体中文

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

f2c-mcp-server MCP server

Features

f2c
  • 🎨 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).
  2. Open your chat in IDE (e.g. agent mode in Cursor).
  3. Paste a link to a Figma Node (Right-click any node in the Figma Layer panel to copy it).
  4. Enter your requirements in the chat, such as fetching node data, downloading images, converting to code, etc.

Configuration and Development

See Configuration and Development

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.

Tools

No tools

Comments