IF

iannuttall/flux-ui-mcp

效率工作流

本页由 AI 翻译,技术细节请以原文为准。 查看原文

93 stars 15 forks 质量 78 趋势 8MIT

iannuttall/Flux-UI-MCP 是从 https://github.com/iannuttall/flux-ui-mcp. 导入的 MCP 服务器候选

概览

iannuttall/Flux-UI-MCP 是从 https://github.com/iannuttall/flux-ui-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

用于 Flux UI 组件引用的 MCP 服务器

这是一个基于TypeScript的MCP服务器,提供Flux UI组件的参考信息。它实现了一个模型上下文协议(MCP)服务器,帮助AI助手访问Flux UI组件的文档和示例。

特色

工具

  • list_flux_components - 获取所有可用 Flux UI 组件列表
  • get_flux_component_details - 获取特定组件的详细信息
  • get_flux_component_examples - 获取特定组件的使用示例
  • search_flux_components - 通过关键词搜索组件

功能

该服务器从以下平台抓取和缓存信息:

它提供结构化数据,包括:

  • 组件描述
  • 使用示例
  • 道具
  • 代码示例

发展

安装依赖:

搭建服务器:

关于自动重建的开发:

安装

Claude Desktop Configuration

要配合Claude Desktop使用,添加服务器配置:

在MacOS上:~/Library/Application Support/Claude/claude_desktop_config.json Windows版:%APPDATA%/Claude/claude_desktop_config.json

选项1:使用本地构建

本页由 AI 翻译,技术细节请以原文为准。

README

Flux UI MCP Server

MCP server for Flux UI component references

This is a TypeScript-based MCP server that provides reference information for Flux UI components. It implements a Model Context Protocol (MCP) server that helps AI assistants access Flux UI component documentation and examples.

Features

Tools

  • list_flux_components - Get a list of all available Flux UI components
  • get_flux_component_details - Get detailed information about a specific component
  • get_flux_component_examples - Get usage examples for a specific component
  • search_flux_components - Search for components by keyword

Functionality

This server scrapes and caches information from:

It provides structured data including:

  • Component descriptions
  • Usage examples
  • Props
  • Code samples

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

Claude Desktop Configuration

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

Option 1: Using local build

{
  "mcpServers": {
    "fluxui-server": {
      "command": "/path/to/fluxui-mcp-server/build/index.js"
    }
  }
}

Option 2: Using npx command

{
  "mcpServers": {
    "fluxui-server": {
      "command": "npx",
      "args": ["-y", "fluxui-mcp-server"]
    }
  }
}

Windsurf Configuration

Add this to your ./codeium/windsurf/model_config.json:

{
  "mcpServers": {
    "fluxui-server": {
      "command": "npx",
      "args": ["-y", "fluxui-mcp-server"]
    }
  }
}

Cursor Configuration

Add this to your .cursor/mcp.json:

{
  "mcpServers": {
    "fluxui-server": {
      "command": "npx",
      "args": ["-y", "fluxui-mcp-server"]
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

在 GitHub 查看完整 README

安装

npx -y fluxui-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "fluxui-server": { "command": "/path/to/fluxui-mcp-server/build/index.js" } } }