A MCP server for running Flux AI image generation model on Replicate
A MCP server for running Flux AI image generation model on Replicate. The replicate flux mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 5 defined tools rather than through you.
After on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Everything the assistant can do here goes through one of these:
REPLICATE_API_TOKEN — Your Replicate API tokenPrerequisites — The Prerequisites tool exposed by this serverInstallation — 1. Clone this repository 2. Install dependencies: bash npm installRunning — The Running tool exposed by this serverDebugging — Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCPYou will need one environment variable: REPLICATE_API_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the AI and media services group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Replicate Flux's toolset — REPLICATE_API_TOKEN, Prerequisites, Installation and 2 more — is a fair guide to whether it matches your workflow. It is maintained by newtype-01; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| REPLICATE_API_TOKEN | Your Replicate API token |
| Prerequisites | The Prerequisites tool exposed by this server. |
| Installation | 1. Clone this repository 2. Install dependencies: bash npm install |
| Running | The Running tool exposed by this server. |
| Debugging | Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector), which is available as a package script: |
#### Using npx
```json
{
"mcpServers": {
"replicate-flux": {
"command": "npx",
"args": ["Replicate-Flux"]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| REPLICATE_API_TOKEN | Credential the server authenticates with. | Yes |
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Search built for AI, not humans — semantic web search that returns model-ready content, plus code context.
Answers, not links — delegate questions to Perplexity's search-grounded models and get cited responses back.
Give your assistant a voice — text-to-speech, voice cloning and audio tools from the ElevenLabs API.
Give your assistant a real code sandbox — isolated cloud VMs for actually running the code it writes.
The ML hub in your context window — search models, datasets, papers and run Spaces from the official server.