generate_imageLABSCO SUMMARY
One model, one tool, no configuration surface.
There is nothing to tune here beyond the prompt — no size, seed or step parameters exposed — which makes it trivially easy to wire in and correspondingly inflexible. It bills against your own Replicate account, so image spend shows up where you can see it. If you want control over generation parameters, this is not the server for that; if you want a model to be able to produce an illustration mid-conversation, it is exactly enough.
What it is
A small MCP server that calls the Flux Schnell model on Replicate. You give it a prompt, it handles the Replicate API exchange and returns the full API response, which includes the generated image URL and the rest of the metadata.
What you get
generate_image— takes a requiredpromptstring and returns Replicate's full response, including the image URL- Detailed prompts pay off: style, scene and detail can all go in the one string
- Error handling around the Replicate exchange, so failures come back as messages rather than silence
Requirements
A Replicate API token, created at Replicate's API tokens page and passed as REPLICATE_API_TOKEN in the server's env block. Node.js v14 or higher. Installation is a clone plus npm install and npm run build, then pointing the client at build/index.js — the package is flux-schnell-mcp, 1.0.0 in package.json. Generation takes time; the README notes responses are not instant. Documentation is in Chinese.
Setup effort
Build from source
USE CASES
Illustrating something mid-conversation
Describe the image you want in detail and get back a URL to the rendered result.
Trying several visual directions quickly
Re-prompt with different style and scene descriptions and compare the returned images.
1 tool
Listed in project docs. Your client may show a different list.
BEFORE YOU INSTALL
What to know first
Tools you get
1 tool named in the project's documentation.
Requires
REPLICATE_API_TOKEN in your environment
INSTALLATION
Connect your client
MCP Clients
Claude Desktop
Clone the repository and build it
Needs Node.js 14 or newer.
git clone https://github.com/ckz/flux-schnell-mcp.git
cd flux-schnell-mcp
npm install
npm run buildAdd this to claude_desktop_config.json
<YOUR_PATH_TO_FLUX_SCHNELL_MCP> is the absolute path of that clone, and <YOUR_REPLICATE_API_TOKEN> a token from https://replicate.com/account/api-tokens.
{
"mcpServers": {
"flux-schnell": {
"command": "node",
"args": [
"<YOUR_PATH_TO_FLUX_SCHNELL_MCP>/build/index.js"
],
"env": {
"REPLICATE_API_TOKEN": "<YOUR_REPLICATE_API_TOKEN>"
},
"disabled": false,
"alwaysAllow": []
}
}
}Roo Cline
Clone the repository and build it
Needs Node.js 14 or newer.
git clone https://github.com/ckz/flux-schnell-mcp.git
cd flux-schnell-mcp
npm install
npm run buildAdd this to cline_mcp_settings.json
macOS: ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json. Windows: %APPDATA%/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json. Linux: ~/.vscode-remote/data/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json.
{
"mcpServers": {
"flux-schnell": {
"command": "node",
"args": [
"<YOUR_PATH_TO_FLUX_SCHNELL_MCP>/build/index.js"
],
"env": {
"REPLICATE_API_TOKEN": "<YOUR_REPLICATE_API_TOKEN>"
},
"disabled": false,
"alwaysAllow": []
}
}
}