feuse-mcp

feuse-mcp

An MCP server that provides utilities for web developers to automate API integration, convert Figma designs to code, and optimize development workflows with tools for asset management and code generation.

Category
Visit Server

README

<div align="center">

<p align="center"> <img src="https://github.com/user-attachments/assets/6f5a6011-9c4a-450d-8ebd-60b954dbc05f" alt="feuse-mcp" width="300px"> </p>

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.

<div align="center"> <img src="https://img.shields.io/badge/node-%5E22.0.0-brightgreen" alt="license"> <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="license"> </div> </div>

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 Name Category Description Input Parameters Notes
Figma-To-Code Figma Integration Generate frontend code based on Figma styling info with PNG assistance fileKey, nodeId(optional) Auto-adapts to local configs (ESLint etc), supports responsive layouts
extract-svg-assets Asset Analysis Analyze Figma DSL structure and auto-extract SVG resources fileKey, nodeId(optional) Intelligent Figma file analysis, batch extraction of SVG icons/vectors
extract-color-vars Design Tokens Extract color variables from Figma DSL to CSS framework configs fileKey, nodeId(optional) Supports UnoCSS, TailwindCSS, or custom file format output
similarity-figma Quality Control Compare Figma prototypes with project page screenshots url, fileKey, nodeId(optional) Visual comparison with intelligent similarity scoring and detailed analysis
api-automation Development Tools Parse backend API docs and generate types, constants, mock data apiDocs Supports multiple API doc formats, generates complete frontend API toolkit
initialize-project-standard Project Management Analyze project structure and generate Copilot/Cursor global rules No parameters Auto-generates intelligent coding assistant project context and standards
Download-Figma-Images Asset Management Batch download SVG and PNG image resources from Figma by node ID fileKey, nodes[], localPath Supports imageRef handling, auto-creates directory structure (low-level tool for other MCPs)
download-svg-assets Asset Management Download SVG vector resources from Figma by image/icon node ID fileKey, nodes[], localPath SVG 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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured