mcpField
F
Feuse Mcp

Feuse Mcp

Local
github.com/Panzer-JackDeveloper Tools38Updated 58w ago

About Feuse Mcp

Feuse Mcp provides web developers with tools for Figma design conversion, API code generation, and project standards. It can also extract design assets and color variables, and compare page screenshots with Figma prototypes.

Key features

  1. 01Generate frontend code from Figma designs
  2. 02Extract and download SVG and PNG assets
  3. 03Generate types and request code from API docs
  4. 04Convert Figma color variables to design tokens
  5. 05Compare page screenshots with Figma prototypes
  6. 06Create project rules for Copilot and Cursor

Use cases

  1. 01Turn Figma page designs into frontend code
  2. 02Batch-download image assets from design files
  3. 03Generate frontend code from backend API docs
  4. 04Check an implementation against a design prototype

MCP support

Feuse Mcp is an MCP server that exposes tools for Figma operations, API automation, and project management to MCP clients. Figma features require a configured FIGMA_API_KEY.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"feuse": {
"command": "npx",
"args": [
"-y",
"feuse-mcp"
],
"env": {
"FIGMA_API_KEY": "<FIGMA_API_KEY>"
}
}
}
}
Run commandnpx -y feuse-mcp
Environment variables to set
FIGMA_API_KEYSecret

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmfeuse-mcp

Tools

8

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
fileKeystringYesThe key of the Figma file to fetch, often found in a provided URL like figma.com/(file|design)/<fileKey>/...
nodeIdstringNoThe ID of the node to fetch, often found as URL parameter node-id=<nodeId>, always use if provided

Details

From the project README

feuse-mcp

Frontend Useful MCP (Model Context Protocol) Tools - Essential utilities for web developers to automate API integration, Figma design-to-code conversion, and development workflow optimization.

license license

English | 中文

📖 Documentation

feuse-mcp Official Documentation

✨ Features

  • 🎨 Figma Integration: Built-in integration with Figma-Context-MCP for seamless Figma design-to-code conversion and automatic asset extraction
  • 📝 API Automation: Generate TypeScript interface types, API URL constants, mock data, and request functions from API documentation
  • 🖼️ Asset Management: Download SVG and PNG images from Figma files with organized file structure
  • 🎯 Similarity Comparison: Compare generated code pages with original Figma prototypes for accuracy validation
  • 🛠️ Project Standards: Generate global specification guidance files for Copilot & Cursor based on current project architecture
  • 🔧 Color Variables: Extract and convert Figma color variables to CSS/design tokens in specified standards (UnoCSS, TailwindCSS, or custom structures)

🔧 Available Toolset (Continuously Updated)

Tool NameCategoryDescriptionInput ParametersNotes
Figma-To-CodeFigma IntegrationGenerate frontend code based on Figma styling info with PNG assistancefileKey, nodeId(optional)Auto-adapts to local configs (ESLint etc), supports responsive layouts
extract-svg-assetsAsset AnalysisAnalyze Figma DSL structure and auto-extract SVG resourcesfileKey, nodeId(optional)Intelligent Figma file analysis, batch extraction of SVG icons/vectors
extract-color-varsDesign TokensExtract color variables from Figma DSL to CSS framework configsfileKey, nodeId(optional)Supports UnoCSS, TailwindCSS, or custom file format output
similarity-figmaQuality ControlCompare Figma prototypes with project page screenshotsurl, fileKey, nodeId(optional)Visual comparison with intelligent similarity scoring and detailed analysis
api-automationDevelopment ToolsParse backend API docs and generate types, constants, mock dataapiDocsSupports multiple API doc formats, generates complete frontend API toolkit
initialize-project-standardProject ManagementAnalyze project structure and generate Copilot/Cursor global rulesNo parametersAuto-generates intelligent coding assistant project context and standards
Download-Figma-ImagesAsset ManagementBatch download SVG and PNG image resources from Figma by node IDfileKey, nodes[], localPathSupports imageRef handling, auto-creates directory structure (low-level tool for other MCPs)
download-svg-assetsAsset ManagementDownload SVG vector resources from Figma by image/icon node IDfileKey, nodes[], localPathSVG format only, supports complex node structures (low-level tool for other MCPs)

🚀 Quick Start

Configuration

Add to your MCP client configuration:

Get your Figma API key from Figma Developer Settings.

{
  "feuse-mcp": {
    "command": "npx",
    "args": ["feuse-mcp@latest"],
    "env": {
      "FIGMA_API_KEY": "YOUR_FIGMA_API_KEY"
    }
  }
}

🔧 For Code Contributors

Setup
# Clone the repository
git clone https://github.com/your-username/feuse-mcp.git
cd feuse-mcp

# Install dependencies
pnpm install

# Build
pnpm build

Add to your MCP client configuration:

Get your Figma API key from Figma Developer Settings.

{
  "feuse-mcp": {
    "command": "npx",
    // Configure path
    "args": ["YOUR/PATH/TO/dist/main.cjs"],
    "env": {
      "FIGMA_API_KEY": "YOUR_FIGMA_API_KEY"
    }
  }
}

📁 Project Structure

feuse-mcp/
├── src/
│   ├── main.ts              # Main entry point
│   ├── services/            # Core services
│   │   ├── figma/          # Figma integration
│   │   ├── similarity/     # Visual comparison
│   │   └── utility/        # Utility toolset
│   ├── types/              # TypeScript definitions
│   └── utils/              # Helper functions
├── docs/                   # Documentation
└── dist/                   # Built files

🤝 Contributing

Contributions are welcome! Feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

Development Guidelines
  1. Follow the existing code style
  2. Update documentation as needed

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

If you have more interesting, fun, and cool ideas, please submit them in issues immediately ! ! !

🙏 Acknowledgments

  • Figma-Context-MCP for providing Figma design analysis capabilities
  • fastmcp for providing MCP rapid development framework
  • All contributors and users of this project

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.