免费 MCP 服务器
概览
![NPM版本][npm-version-href]![npm下载][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 由于 Figma REST API 的速率限制,如果您受到影响,请切换到 @f2c/mcp-plugin 进行正常操作。 一个用于Figma设计到代码的模型上下文协议服务器,使用F2C。 - 🎨 Pixel-Perfect HTML/CSS:F2C 精确转换为像素完美 HTML/CSS。
概述(AI 翻译)
[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
由于 Figma REST API 的速率限制,如果您受到影响,请切换到 @f2c/mcp-plugin 以恢复正常运行。
英文 |简体中文
一个用于Figma设计到代码的模型上下文协议服务器,使用F2C。
特色
- 🎨 Pixel-Perfect HTML/CSS:F2C 精确转换为像素完美 HTML/CSS。
- ⚛️ 多框架支持:F2C 生成 React、CSS 模块和 Tailwind CSS 代码,实现快速开发。
- 🧠 Figma 设计上下文:F2C 集成设计上下文,确保与 Cursor 等 AI 工具兼容。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 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
- Configure the Server in an MCP-supported IDE (e.g., Cursor, Trae).
recommended to use Comate AI IDE
- Open your chat in IDE (e.g. agent mode in Cursor).
- Paste a link to a Figma Node (Right-click any node in the Figma Layer panel to copy it).
- 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
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →