@f2c/mcp 0.2.5 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -54
- package/dist/cli.js +8 -15
- package/dist/cli.js.map +15 -16
- package/dist/stdio.js +8 -15
- package/dist/stdio.js.map +15 -16
- package/dist/streamable-http.js +70 -77
- package/dist/streamable-http.js.map +18 -19
- package/package.json +74 -74
- package/dist/cli.d.mts +0 -1
- package/dist/cli.d.ts +0 -1
- package/dist/cli.mjs +0 -8
- package/dist/stdio.d.mts +0 -2
- package/dist/stdio.d.ts +0 -2
- package/dist/stdio.mjs +0 -7
- package/dist/streamableHttp.d.mts +0 -2
- package/dist/streamableHttp.d.ts +0 -2
- package/dist/streamableHttp.js +0 -83
- package/dist/streamableHttp.mjs +0 -83
package/README.md
CHANGED
@@ -1,55 +1,55 @@
|
|
1
|
-
# F2C MCP Server
|
2
|
-

|
3
|
-
[](https://smithery.ai/server/@f2c-ai/f2c-mcp)
|
4
|
-
[![npm version][npm-version-src]][npm-version-href]
|
5
|
-
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
6
|
-
[![github][github-src]][github-href]
|
7
|
-
[![node][node-src]][node-href]
|
8
|
-
|
9
|
-
|
10
|
-
[npm-version-src]: https://img.shields.io/npm/v/@f2c/mcp?style=flat&colorA=18181B&colorB=F0DB4F
|
11
|
-
[npm-version-href]: https://npmjs.com/package/@f2c/mcp
|
12
|
-
[npm-downloads-src]: https://img.shields.io/npm/dm/@f2c/mcp?style=flat&colorA=18181B&colorB=F0DB4F
|
13
|
-
[npm-downloads-href]: https://npmjs.com/package/@f2c/mcp
|
14
|
-
[github-src]: https://img.shields.io/badge/github-@f2c/mcp-blue?style=flat&colorA=18181B&colorB=F0DB4F
|
15
|
-
[github-href]: https://github.com/f2c-ai/f2c-mcp
|
16
|
-
[node-src]: https://img.shields.io/node/v/@f2c/mcp?style=flat&colorA=18181B&colorB=F0DB4F
|
17
|
-
[node-href]: https://nodejs.org/en/about/previous-releases
|
18
|
-
|
19
|
-
English | [简体中文](./README-zh-CN.md)
|
20
|
-
|
21
|
-
A Model Context Protocol server for Figma Design to Code using [F2C](https://f2c.yy.com/).
|
22
|
-
|
23
|
-
<a href="https://glama.ai/mcp/servers/@f2c-ai/f2c-mcp">
|
24
|
-
<img width="380" height="200" src="https://glama.ai/mcp/servers/@f2c-ai/f2c-mcp/badge" alt="f2c-mcp-server MCP server" />
|
25
|
-
</a>
|
26
|
-
|
27
|
-
## Features
|
28
|
-
<img alt="f2c" src="https://raw.githubusercontent.com/f2c-ai/f2c-mcp/main/docs/bannerv3.png" />
|
29
|
-
|
30
|
-
- 🎨 Pixel-Perfect HTML/CSS:F2C converts Figma designs to pixel-perfect HTML/CSS with precision.
|
31
|
-
- ⚛️ Multi-Framework Support:F2C generates React, CSS Modules, and Tailwind CSS code for fast development.
|
32
|
-
- 🧠 Figma Design Context:F2C integrates design context, ensuring compatibility with AI tools like Cursor.
|
33
|
-
- 🔗 Figma File URL Parsing:F2C converts design nodes via Figma URLs, streamlining workflows.
|
34
|
-
- 🖼️ Remote Image Localization:F2C automates downloading Figma images to local assets for efficiency.
|
35
|
-
|
36
|
-
## How it works
|
37
|
-
1. [Configure the Server](docs/en/GettingStarted.md) in an MCP-supported IDE (e.g., Cursor, Trae).
|
38
|
-
2. Open your chat in IDE (e.g. agent mode in Cursor).
|
39
|
-
3. Paste a link to a Figma Node (Right-click any node in the Figma Layer panel to copy it).
|
40
|
-
4. Enter your requirements in the chat, such as fetching node data, downloading images, converting to code, etc.
|
41
|
-
|
42
|
-
## Configuration and Development
|
43
|
-
|
44
|
-
See [Configuration and Development](docs/en/GettingStarted.md)
|
45
|
-
|
46
|
-
## FAQ
|
47
|
-
See [FAQ](docs/en/FAQ.md)
|
48
|
-
|
49
|
-
## Credits
|
50
|
-
|
51
|
-
Thanks to:
|
52
|
-
|
53
|
-
+ [Framelink Figma MCP Server](https://github.com/GLips/Figma-Context-MCP) Give Cursor and other AI-powered coding tools access to your Figma files with this Model Context Protocol server.
|
54
|
-
+ [Cursor Talk to Figma MCP](https://github.com/sonnylazuardi/cursor-talk-to-figma-mcp) Allowing Cursor to communicate with Figma for reading designs and modifying them programmatically.
|
1
|
+
# F2C MCP Server
|
2
|
+

|
3
|
+
[](https://smithery.ai/server/@f2c-ai/f2c-mcp)
|
4
|
+
[![npm version][npm-version-src]][npm-version-href]
|
5
|
+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
6
|
+
[![github][github-src]][github-href]
|
7
|
+
[![node][node-src]][node-href]
|
8
|
+
|
9
|
+
|
10
|
+
[npm-version-src]: https://img.shields.io/npm/v/@f2c/mcp?style=flat&colorA=18181B&colorB=F0DB4F
|
11
|
+
[npm-version-href]: https://npmjs.com/package/@f2c/mcp
|
12
|
+
[npm-downloads-src]: https://img.shields.io/npm/dm/@f2c/mcp?style=flat&colorA=18181B&colorB=F0DB4F
|
13
|
+
[npm-downloads-href]: https://npmjs.com/package/@f2c/mcp
|
14
|
+
[github-src]: https://img.shields.io/badge/github-@f2c/mcp-blue?style=flat&colorA=18181B&colorB=F0DB4F
|
15
|
+
[github-href]: https://github.com/f2c-ai/f2c-mcp
|
16
|
+
[node-src]: https://img.shields.io/node/v/@f2c/mcp?style=flat&colorA=18181B&colorB=F0DB4F
|
17
|
+
[node-href]: https://nodejs.org/en/about/previous-releases
|
18
|
+
|
19
|
+
English | [简体中文](./README-zh-CN.md)
|
20
|
+
|
21
|
+
A Model Context Protocol server for Figma Design to Code using [F2C](https://f2c.yy.com/).
|
22
|
+
|
23
|
+
<a href="https://glama.ai/mcp/servers/@f2c-ai/f2c-mcp">
|
24
|
+
<img width="380" height="200" src="https://glama.ai/mcp/servers/@f2c-ai/f2c-mcp/badge" alt="f2c-mcp-server MCP server" />
|
25
|
+
</a>
|
26
|
+
|
27
|
+
## Features
|
28
|
+
<img alt="f2c" src="https://raw.githubusercontent.com/f2c-ai/f2c-mcp/main/docs/bannerv3.png" />
|
29
|
+
|
30
|
+
- 🎨 Pixel-Perfect HTML/CSS:F2C converts Figma designs to pixel-perfect HTML/CSS with precision.
|
31
|
+
- ⚛️ Multi-Framework Support:F2C generates React, CSS Modules, and Tailwind CSS code for fast development.
|
32
|
+
- 🧠 Figma Design Context:F2C integrates design context, ensuring compatibility with AI tools like Cursor.
|
33
|
+
- 🔗 Figma File URL Parsing:F2C converts design nodes via Figma URLs, streamlining workflows.
|
34
|
+
- 🖼️ Remote Image Localization:F2C automates downloading Figma images to local assets for efficiency.
|
35
|
+
|
36
|
+
## How it works
|
37
|
+
1. [Configure the Server](docs/en/GettingStarted.md) in an MCP-supported IDE (e.g., Cursor, Trae).
|
38
|
+
2. Open your chat in IDE (e.g. agent mode in Cursor).
|
39
|
+
3. Paste a link to a Figma Node (Right-click any node in the Figma Layer panel to copy it).
|
40
|
+
4. Enter your requirements in the chat, such as fetching node data, downloading images, converting to code, etc.
|
41
|
+
|
42
|
+
## Configuration and Development
|
43
|
+
|
44
|
+
See [Configuration and Development](docs/en/GettingStarted.md)
|
45
|
+
|
46
|
+
## FAQ
|
47
|
+
See [FAQ](docs/en/FAQ.md)
|
48
|
+
|
49
|
+
## Credits
|
50
|
+
|
51
|
+
Thanks to:
|
52
|
+
|
53
|
+
+ [Framelink Figma MCP Server](https://github.com/GLips/Figma-Context-MCP) Give Cursor and other AI-powered coding tools access to your Figma files with this Model Context Protocol server.
|
54
|
+
+ [Cursor Talk to Figma MCP](https://github.com/sonnylazuardi/cursor-talk-to-figma-mcp) Allowing Cursor to communicate with Figma for reading designs and modifying them programmatically.
|
55
55
|
+ [Figma MCP Server](https://github.com/MatthewDailey/figma-mcp) This server provides tools for viewing, commenting, and analyzing Figma designs directly through the ModelContextProtocol.
|