Basic information
About Replicate Flux MCP Server
A MCP server for running Flux AI image generation model on Replicate
Replicate Flux is a MCP server in the Other category listed in the AddMCP.net directory, published by newtype-01. Supported transport: stdio. Runtime: node. The repository has 3 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"replicate-flux": {
"command": "docker",
"args": [
"run",
"--rm",
"-e",
"REPLICATE_API_TOKEN=your_token_here",
"replicate-flux"
]
}
}
}
{
"mcpServers": {
"replicate-flux": {
"command": "docker",
"args": [
"run",
"--rm",
"-e",
"REPLICATE_API_TOKEN=your_token_here",
"replicate-flux"
]
}
}
}
{
"servers": {
"replicate-flux": {
"command": "docker",
"args": [
"run",
"--rm",
"-e",
"REPLICATE_API_TOKEN=your_token_here",
"replicate-flux"
]
}
}
}
Replicate Flux MCP Server — by newtype-01 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"
]
}
}
}
Replicate Flux MCP Server — by newtype-01 tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
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.
Frequently asked questions
1 What runtime does Replicate Flux require?
Node.js 18 or later must be installed.
2 How do I get a Replicate API token?
Obtain your token from your Replicate account at https://replicate.com/account.
3 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.
4 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.
5 How can I debug the server?
Use the MCP Inspector by running npm run inspector, which provides a URL for browser-based debugging.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In