flux-dev MCP Server

flux-dev MCP Server

Implements a Model Context Protocol (MCP) server powered by Flux API from Cephalon Cloud, enabling users to utilize advanced AI capabilities through standardized communication.

nicekate

Cloud Platforms
Developer Tools
Local
JavaScript
Visit Server

README

flux-dev MCP 服务器

一个基于端脑云 Flux 模型 API 的 Model Context Protocol (MCP) 服务器实现。

本项目使用了端脑云的 API 服务,为用户提供强大的 AI 能力支持。

🎁 福利时间

使用我的邀请链接 https://cephalon.cloud/share/register-landing?invite_id=X46Dzv 或邀请码 X46Dzv 注册端脑云, 可以获得专属注册奖励,额外免费赠送 5000 端脑值!

技术栈

  • TypeScript
  • Node.js
  • 端脑云 API

快速开始

环境要求

  • Node.js 16+
  • npm 或 yarn
  • Windows 或 MacOS 系统

安装依赖

# Windows/MacOS 通用命令
npm install

构建项目

# Windows/MacOS 通用命令
npm run build

开发模式

启动带有自动重新构建的开发模式:

# Windows/MacOS 通用命令
npm run watch

Claude Desktop 配置说明

要在 Claude Desktop 中使用本服务器,需要添加服务器配置。配置文件位置因操作系统而异:

MacOS

配置文件路径:

~/Library/Application Support/Claude/claude_desktop_config.json

Windows

配置文件路径:

%APPDATA%\Claude\claude_desktop_config.json

配置内容示例:

Windows:

{
  "mcpServers": {
    "flux-dev": {
      "command": "C:\\path\\to\\flux-dev\\build\\index.js"
    }
  }
}

MacOS:

{
  "mcpServers": {
    "flux-dev": {
      "command": "/path/to/flux-dev/build/index.js"
    }
  }
}

注意:

  • Windows 路径使用双反斜杠 \\ 或单正斜杠 /
  • MacOS 路径使用单正斜杠 /
  • 请确保路径指向实际安装位置

调试指南

由于 MCP 服务器通过标准输入输出(stdio)通信,调试可能会比较困难。我们推荐使用 MCP Inspector 工具:

# Windows/MacOS 通用命令
npm run inspector

Inspector 将提供一个浏览器访问地址,用于访问调试工具。

常见问题

  1. Windows 系统权限问题

    • 如果遇到权限相关错误,请尝试以管理员身份运行命令提示符或 PowerShell
  2. MacOS 系统权限问题

    • 如果遇到 "Permission denied" 错误,请确保已正确设置执行权限:
      chmod +x build/index.js
      

许可证

本项目采用 MIT 许可证,详见 LICENSE 文件。

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
Excel MCP Server

Excel MCP Server

A Model Context Protocol server that enables AI assistants to read from and write to Microsoft Excel files, supporting formats like xlsx, xlsm, xltx, and xltm.

Featured
Local
Go
Playwright MCP Server

Playwright MCP Server

Provides a server utilizing Model Context Protocol to enable human-like browser automation with Playwright, allowing control over browser actions such as navigation, element interaction, and scrolling.

Featured
Local
TypeScript
MCP Package Docs Server

MCP Package Docs Server

Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.

Featured
Local
TypeScript
Claude Code MCP

Claude Code MCP

An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.

Featured
Local
JavaScript
@kazuph/mcp-taskmanager

@kazuph/mcp-taskmanager

Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.

Featured
Local
JavaScript
Apple MCP Server

Apple MCP Server

Enables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.

Featured
Local
TypeScript
contentful-mcp

contentful-mcp

Update, create, delete content, content-models and assets in your Contentful Space

Featured
TypeScript