@f2c/mcp-plugin
v1.0.1
Published

Readme
F2C MCP Server Plugin Version
English | 简体中文
Plugin version of @f2c/mcp. Due to Figma's REST API rate limits, if you're affected, please switch to this version for normal operation.
This version requires the Chrome extension: Download here
Running in STDIO Mode
npx -y @f2c/mcp-plugin --mcpServer=http://localhost:3000 --accessToken=your-unique-tokenmcpServeris the MCP server address, defaults tohttps://f2c-figma-mcp.yy.comaccessTokenis the MCP client token, defaults to an empty string, generated from the Chrome extension
IDE Configuration Examples (STDIO)
macOS / Linux
{
"mcpServers": {
"f2c-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@f2c/mcp-plugin",
"--mcpServer=https://f2c-figma-mcp.yy.com",
"--accessToken=xxx-xxx-xxx-xxx"
]
}
}
}Windows
{
"mcpServers": {
"f2c-mcp": {
"type": "stdio",
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"@f2c/mcp-plugin",
"--mcpServer=https://f2c-figma-mcp.yy.com",
"--accessToken=xxx-xxx-xxx-xxx"
]
}
}
}Quick Start
After installing the Chrome extension and MCP, select the layer you want to generate code for in your design file, then ask the Agent in the chat to convert the selected node to code and place it in your desired directory.
