Flux Replicate MCP
MCP server by SilasReinagel Verified · npm:flux-replicate-mcp
Flux Replicate MCP generates images with Flux 1 and Flux 2 series models through the Replicate API. It is built for people who want simple Flux image generation inside an MCP-compatible AI assistant.
Install Flux Replicate MCP
Built from the published package, never by AI.
claude mcp add flux-replicate-mcp -- npx -y flux-replicate-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"flux-replicate-mcp": {
"args": [
"-y",
"flux-replicate-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"flux-replicate-mcp": {
"args": [
"-y",
"flux-replicate-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"flux-replicate-mcp": {
"args": [
"-y",
"flux-replicate-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add flux-replicate-mcp -- npx -y flux-replicate-mcp{
"mcpServers": {
"flux-replicate-mcp": {
"args": [
"-y",
"flux-replicate-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add flux-replicate-mcp npx -y flux-replicate-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the flux-replicate-mcp block.
About
Flux Replicate MCP is an MCP server that generates images with Flux 1 and Flux 2 series models through the Replicate API. It provides the generate_image tool, which takes a text prompt and returns a saved image file along with the model used, generation time and cost. The default model is flux-2-pro, and the model, output format, quality and working directory can be set with CLI arguments or environment variables.
Images are saved to a platform-specific working directory unless an absolute output_path is given, and missing directories are created. The source describes the project as simple, with minimal setup and essential features only. It suits anyone who wants Flux image generation inside an MCP client such as Claude Desktop, Cursor, Cline or Zed.
Written from the project's README and checked against it.
Tools it gives your assistant
generate_imageGenerates an image from a text prompt with a Flux model and reports file path, time, model and cost.
What you need
- Replicate API token (REPLICATE_API_TOKEN)
- Node.js for npx, or Bun for bunx
Try asking
- Generate a mountain landscape at sunset with flux-2-pro and save it as a jpg
- Make quick concept art of a robot using flux-schnell
- Create a 1024x1024 product photo of a smartphone and save it to an absolute path
Good to know
- output_path must be an absolute path. Relative paths are rejected.
- The quality setting applies to lossy formats only.
- The source describes the project as simple, with essential features only.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Flux Replicate MCP
All alternatives →HyperFrames is HeyGen's open-source AI video editor for people and agents. It turns HTML, CSS, JavaScript and seekable animations into MP4 videos, and can be used from a desktop app, coding agents or chat.
Remocn is a hosted MCP server that helps AI assistants make Remotion videos from 935 MIT-licensed components. It searches components, reads their docs, plans a storyboard and previews results. It is for developers building videos with Remotion.
Agent-Native Assets is the Assets agent from the Agent-Native framework, which creates and organizes on-brand media. It is for developers building agents that pair autonomous work with a purpose-built UI.
Runs an open source engine for a news site that finds hot AI events and writes daily, weekly and monthly briefs. Built for people who want an industry hot-news site in their own field, with MCP access for AI agents.
Turns long videos into captioned 9:16 shorts and can publish them to TikTok, Instagram, YouTube and other networks. It suits creators, marketing agencies and developers who want a self-hosted or hosted option.
Remove AI Watermarks removes AI provenance marks from images, video, audio, and text that you generated yourself. It is aimed at developers and researchers working on AI provenance signals.
Compare with HyperFrames by HeyGen, Remocn: Remotion MCP server or Agent-Native Assets
Flux Replicate MCP: common questions
Which Flux models does it support?
It supports the Flux 2 series (flux-2-pro, flux-2-max, flux-2-flex, flux-2-dev, flux-2-klein) and the Flux 1 series (flux-1.1-pro, flux-pro, flux-schnell, flux-ultra).
Does it show what each image costs?
Each generation reports the cost and model used. The source lists per-image prices, such as $0.003 for flux-schnell.
Where are generated images saved?
Images go to a platform-specific working directory, such as ~/Pictures/FluxImages on macOS, unless output_path is set to an absolute path.
How do I install Flux Replicate MCP?
In Claude Code run claude mcp add flux-replicate-mcp -- npx -y flux-replicate-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Flux Replicate MCP the official server?
Flux Replicate MCP is published by npm:flux-replicate-mcp from its verified domain in the official MCP Registry.
Is Flux Replicate MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Flux Replicate MCP safe to use?
It scores 56 of 100. Grades: maintenance D, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Flux Replicate MCP?
Similar MCP servers: HyperFrames by HeyGen, Remocn: Remotion MCP server, Agent-Native Assets, AIHOT.
Does Flux Replicate MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
