Feuse (Figma Design-to-Code) logo

Feuse (Figma Design-to-Code)

Community
Panzer-Jack

Frontend Useful MCP Tools - Essential utilities for web developers to automate API integration and code generation

PublisherPanzer-Jack
Repositoryfeuse-mcp
LanguageTypeScript
Forks
10
Stars
38
Available tools
0
Transport typestdio
Categories
LicenseMPL-2.0
Links
  • Connect tools to AI workflows

    Feuse (Figma Design-to-Code) exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    38 stars and 10 forks from the linked repository.

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.

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.

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

🔧 For Code Contributors

Setup

bash
# 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.

json
{
  "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

Installation

TypingMind
Prerequisites:

Node.js 18+

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

Use Feuse (Figma Design-to-Code) MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Feuse (Figma Design-to-Code) is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Feuse (Figma Design-to-Code) as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Feuse (Figma Design-to-Code) MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "feuse-figma-design-to-code": {
      "command": "npx",
      "args": [
        "-y",
        "feuse-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Feuse (Figma Design-to-Code) MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Feuse (Figma Design-to-Code) MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Feuse (Figma Design-to-Code) to help me with this task?
Feuse (Figma Design-to-Code)
Sure. I read it.
Here is what I found using Feuse (Figma Design-to-Code).

Frequently asked questions

What is the Feuse (Figma Design-to-Code) MCP server used for?

Feuse (Figma Design-to-Code) is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Feuse (Figma Design-to-Code) MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Feuse (Figma Design-to-Code) with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Feuse (Figma Design-to-Code) MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Feuse (Figma Design-to-Code) connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Feuse (Figma Design-to-Code) MCP to TypingMind?

Feuse (Figma Design-to-Code) runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Feuse (Figma Design-to-Code) MCP provide in TypingMind?

Feuse (Figma Design-to-Code) exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Feuse (Figma Design-to-Code) MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Feuse (Figma Design-to-Code) requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇