npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iflow-mcp/lioensky-siliconflow-flux-mcp-server

v0.1.0

Published

A Model Context Protocol server with OhMyGPT Flux that generates images.

Downloads

26

Readme

SiliconFlow Flux MCP 服务器

这是一个基于Model Context Protocol (MCP)的服务器,允许AI通过MCP协议使用SiliconFlow的Flux模型进行图像生成。

功能特点

  • 允许AI助手通过MCP协议调用SiliconFlow的Flux模型生成高质量图像
  • 支持多种图像分辨率:1024x1024, 960x1280, 768x1024, 720x1440, 720x1280
  • 可自定义生成参数,如随机种子等
  • 缓存最近的图像生成结果

系统要求

  • Node.js v18.0.0 或更高版本

您可以通过以下命令验证Node.js安装:

node --version  # 应显示v18.0.0或更高版本

安装步骤

  1. 克隆仓库:
git clone https://github.com/lioensky/siliconflow-flux-mcp-server.git
  1. 安装依赖:
npm install
  1. 构建项目:
npm run build

配置说明

API密钥配置

在使用前,您需要:

  1. 在项目根目录创建或编辑.env文件
  2. 通过https://cloud.siliconflow.cn/i/HxM1olJu 来获取14元额度密钥
  3. 添加您的SiliconFlow API密钥:
SILICONFLOW_API_KEY=您的API密钥

注意:您需要自备SiliconFlow的API密钥才能使用此服务。

MCP服务器配置

在您的MCP配置文件中添加以下内容:

{
  "mcpServers": {
    "siliconflow-flux-mcp": {
      "command": "node",
      "args": ["路径/到/siliconflow-flux-mcp-server/build/index.js"],
      "env": {
        "SILICONFLOW_API_KEY": "您的API密钥"
      }
    }
  }
}

使用方法

配置完成后,AI助手可以通过MCP协议调用此服务生成图像。服务提供了generate_image工具,接受以下参数:

  • prompt:图像生成提示词(建议使用英文以获得最佳效果)
  • resolution:图像分辨率,支持多种标准尺寸
  • seed(可选):随机种子,用于生成可重复的结果

开发者工具

您可以使用MCP Inspector工具来测试服务器:

npm run inspector

许可证

请参阅项目仓库中的许可证文件。