Replicate-Flux MCP Server

Replicate-Flux MCP Server

replicate-flux-mcp-newtype-01•bynewtype-01

A TypeScript MCP server that generates images using the black-forest-labs/flux-dev model through Replicate.

License: Not specified•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Generates images using the black-forest-labs/flux-dev model through Replicate.
  • •Integrates with MCP-compatible applications such as Claude.
  • •Supports customizable image generation parameters.

BEST FOR

  • •Users who want to generate Flux images from within MCP clients like Claude.

ABOUT REPLICATE-FLUX-MCP-NEWTYPE-01

Replicate-Flux MCP Server is cataloged as an MCP server attributed to newtype-01. A TypeScript MCP server that generates images using the black-forest-labs/flux-dev model through Replicate. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Replicate-Flux MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server require a Replicate API token?

Yes, it requires a Replicate API token set in the REPLICATE_API_TOKEN environment variable.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 1eaa16872f13 · 采集于 2026-11-13 10:41:12 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Replicate-Flux MCP Server

English | 中文

A TypeScript-based MCP server for running the Flux AI image generation model on Replicate.

Features

  • Generate images using the black-forest-labs/flux-dev model through Replicate
  • Simple integration with any MCP-compatible application (Claude, etc.)
  • Customizable image generation parameters

Quick Start

Prerequisites

Installation

  1. Clone this repository
  2. Install dependencies:
npm install
  1. Create a .env file with your Replicate API token:
REPLICATE_API_TOKEN=your_token_here
  1. Build the server:
npm run build

Running

Using Node directly

Run the server directly:

node build/index.js

Using npx

After installation, you can run the server via npx:

npx Replicate-Flux

Using Docker

Build the Docker image:

docker build -t replicate-flux .

Run the container (passing your API token):

docker run -e REPLICATE_API_TOKEN=your_token_here replicate-flux

Client Configuration

Claude and Other MCP Clients

Most MCP clients require configuration in their settings. Here are examples:

Using local installation

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

Using npx

{
  "mcpServers": {
    "replicate-flux": {
      "command": "npx",
      "args": ["Replicate-Flux"]
    }
  }
}

Using Docker

{
  "mcpServers": {
    "replicate-flux": {
      "command": "docker",
      "args": ["run", "--rm", "-e", "REPLICATE_API_TOKEN=your_token_here", "replicate-flux"]
    }
  }
}

Note: If you've already configured your environment variables in a .env file or system-wide, you can omit the env field in most configurations. However, for Docker, you'll still need to pass the environment variable through the container.

Environment Variables

This project requires the following environment variables:

  • REPLICATE_API_TOKEN - Your Replicate API token

You can set this in a .env file, in your system environment, or directly in your MCP client configuration.

Security Notes

  • Never commit your .env file or any file containing API keys to version control
  • The .gitignore file is configured to exclude .env files from Git
  • When deploying, set environment variables securely according to your hosting platform's instructions

Development

For development with auto-rebuild:

npm run watch

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.


Replicate-Flux MCP 服务器

English | 中文

这是一个基于TypeScript的MCP服务器,用于在Replicate上运行Flux AI图像生成模型。

功能特点

  • 使用Replicate上的black-forest-labs/flux-dev模型生成图像
  • 与任何MCP兼容应用(如Claude等)简单集成
  • 可自定义的图像生成参数

快速开始

前提条件

安装

  1. 克隆此仓库
  2. 安装依赖:
npm install
  1. 创建一个包含Replicate API令牌的.env文件:
REPLICATE_API_TOKEN=你的令牌
  1. 构建服务器:
npm run build

运行方式

直接使用Node

直接运行服务器:

node build/index.js

使用npx

安装后,可以通过npx运行服务器:

npx Replicate-Flux

使用Docker

构建Docker镜像:

docker build -t replicate-flux .

运行容器(传入你的API令牌):

docker run -e REPLICATE_API_TOKEN=你的令牌 replicate-flux

客户端配置

Claude和其他MCP客户端

大多数MCP客户端需要在其设置中进行配置。以下是一些例子:

使用本地安装

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

使用npx

{
  "mcpServers": {
    "replicate-flux": {
      "command": "npx",
      "args": ["Replicate-Flux"]
    }
  }
}

使用Docker

{
  "mcpServers": {
    "replicate-flux": {
      "command": "docker",
      "args": ["run", "--rm", "-e", "REPLICATE_API_TOKEN=你的令牌", "replicate-flux"]
    }
  }
}

注意:如果你已经在.env文件或系统环境中配置了环境变量,在大多数配置中可以省略env字段。但对于Docker,你仍然需要通过容器传递环境变量。

环境变量

此项目需要以下环境变量:

  • REPLICATE_API_TOKEN - 你的Replicate API令牌

你可以在.env文件中设置、在系统环境中设置,或直接在MCP客户端配置中设置。

安全须知

  • 切勿将.env文件或任何包含API密钥的文件提交到版本控制系统
  • .gitignore文件已配置为从Git中排除.env文件
  • 部署时,根据你的托管平台的说明安全地设置环境变量

开发

用于开发的自动重建:

npm run watch

调试

由于MCP服务器通过标准输入输出通信,调试可能具有挑战性。我们推荐使用MCP Inspector,可通过以下包脚本使用:

npm run inspector

Inspector将提供一个URL,让你在浏览器中访问调试工具。

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Replicate-Flux MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/replicate-flux-mcp-newtype-01)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design