f2c-mcp
F2C MCP Server TypeScript-based implementation.
Documentation
F2C MCP Server
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![github][github-src]][github-href]
[![node][node-src]][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.
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
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
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.
Frequently asked questions
What is f2c-mcp?
f2c-mcp is F2C MCP Server TypeScript-based implementation.
How do I install f2c-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is f2c-mcp open source?
Yes — it is hosted on GitHub at https://github.com/f2c-ai/f2c-mcp and has 295 stars.
Related MCP tools
A simple MCP server for Obsidian TypeScript-based implementation. Trusted by 500+ developers. Trusted by 500+ developers.
Security scanner for MCP servers TypeScript-based implementation. Trusted by 500+ developers. Trusted by 500+ developers.
MCP server for interacting with Neon Management API and databases TypeScript-based implementation. Trusted by 500+ developers.
MCP server for querying Apple Health data with natural language and SQL TypeScript-based implementation.
A MCP server for Home Assistant TypeScript-based implementation.
Example of an MCP server with custom tools that can be called directly from cursor TypeScript-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP