Replicate Flux
@newtype-01
About Replicate Flux
A MCP server for running Flux AI image generation model on Replicate
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"replicate-flux": {
"command": "docker",
"args": [
"run",
"--rm",
"-e",
"REPLICATE_API_TOKEN=your_token_here",
"replicate-flux"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Replicate Flux?
Replicate Flux is a TypeScript-based MCP server that runs the Flux AI image generation model (black-forest-labs/flux-dev) on the Replicate platform. It is designed for developers using MCP-compatible applications such as Claude to generate images programmatically.
How to use Replicate Flux?
Clone the repository, install dependencies with npm install, create a .env file with your Replicate API token, then build with npm run build. Run the server directly via node build/index.js, via npx Replicate-Flux, or using Docker. Configure MCP clients (e.g., Claude) by adding a JSON entry to their settings, specifying the command as the server path, npx, or docker.
Key features of Replicate Flux
- Generate images using the black-forest-labs/flux-dev model on Replicate.
- Simple integration with any MCP-compatible client (Claude, etc.).
- Customizable image generation parameters.
- Supports local, npx, and Docker execution methods.
- Environment variable configuration for the API token.
- Auto-rebuild during development with
npm run watch.
Use cases of Replicate Flux
- Generate AI images from text prompts directly within Claude.
- Integrate image generation into automated workflows using MCP.
- Test and iterate on image prompts with customizable parameters.
- Deploy image generation in containerized environments.
FAQ from Replicate Flux
What runtime does Replicate Flux require?
Node.js 18 or later must be installed.
How do I get a Replicate API token?
Obtain your token from your Replicate account at https://replicate.com/account.
Can I run Replicate Flux in a Docker container?
Yes. Build the Docker image with docker build -t replicate-flux . and run it, passing the API token via the -e flag.
How do I configure Replicate Flux for use with Claude?
Add a JSON entry to your MCP client settings using the local installation path, npx, or Docker command, and include the environment variable if not set system-wide.
How can I debug the server?
Use the MCP Inspector by running npm run inspector, which provides a URL for browser-based debugging.
Frequently asked questions
What runtime does Replicate Flux require?
Node.js 18 or later must be installed.
How do I get a Replicate API token?
Obtain your token from your Replicate account at https://replicate.com/account.
Can I run Replicate Flux in a Docker container?
Yes. Build the Docker image with `docker build -t replicate-flux .` and run it, passing the API token via the `-e` flag.
How do I configure Replicate Flux for use with Claude?
Add a JSON entry to your MCP client settings using the local installation path, npx, or Docker command, and include the environment variable if not set system-wide.
How can I debug the server?
Use the MCP Inspector by running `npm run inspector`, which provides a URL for browser-based debugging.
Basic information
More Other MCP servers

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows

Peekaboo MCP – lightning-fast macOS screenshots for AI agents
steipetePeekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Comments