mcp-replicate-flux MCP Server

A Model Context Protocol (MCP) server that generates images using Replicate's FLUX model and stores them in Cloudflare R2.

Local serverstdioISC

What is the mcp-replicate-flux MCP Server?

mcp-replicate-flux source profile. From the maintainer documentation: “A Model Context Protocol (MCP) server that generates images using Replicate's FLUX model and stores them in Cloudflare R2.”

Local setup

The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares REPLICATE_API_TOKEN, STORAGE_ENDPOINT, STORAGE_ACCESS_KEY, STORAGE_SECRET_KEY, STORAGE_BUCKET, STORAGE_DOMAIN. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the mcp-replicate-flux MCP Server

{
  "mcpServers": {
    "replicate-flux": {
      "command": "node",
      "args": [
        "C:\\Users\\YourUsername\\path\\to\\mcp-replicate-flux\\index.js"
      ],
      "description": "使用Replicate的FLUX模型生成图片并存储到Cloudflare R2的MCP服务器",
      "env": {
        "REPLICATE_API_TOKEN": "YOUR_REPLICATE_API_TOKEN",
        "STORAGE_ENDPOINT": "your_r2_endpoint",
        "STORAGE_ACCESS_KEY": "YOUR_STORAGE_ACCESS_KEY",
        "STORAGE_SECRET_KEY": "YOUR_STORAGE_SECRET_KEY",
        "STORAGE_BUCKET": "your_bucket_name",
        "STORAGE_DOMAIN": "your_domain"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
REPLICATE_API_TOKENDeclared in the maintainer’s client configuration.Check documentation
STORAGE_ENDPOINTDeclared in the maintainer’s client configuration.Check documentation
STORAGE_ACCESS_KEYDeclared in the maintainer’s client configuration.Check documentation
STORAGE_SECRET_KEYDeclared in the maintainer’s client configuration.Check documentation
STORAGE_BUCKETDeclared in the maintainer’s client configuration.Check documentation
STORAGE_DOMAINDeclared in the maintainer’s client configuration.Check documentation