generateImageUrlLABSCO SUMMARY
The saving mode is what makes it usable in a pipeline.
A URL is fine for looking at an image; a written file with a name and a format you chose is what a build step or a document generator can consume. Listing the available models first is worth the extra call — the default is a fast model, and which alternatives exist depends on what the upstream service is serving that day.
What it is
An image generator with two output modes. It can hand back a URL for the generated image, or generate and save the file locally, which is the difference between showing something in the chat and producing an asset.
What you get
generateImageUrlreturns a URL for an image from a prompt, with optional model, width, height, enhance and safe settingsgenerateImagedoes the same but writes the file, taking an output path, a file name and a formatlistImageModelsreturns the models available, each with an id, a name and a description- The model defaults to flux when you do not name one
Requirements
Node.js >= 16.0.0 and NPM >= 7.0.0. Clone the repository, install dependencies, and run server.js; the client points at that file directly. Published as imagegen-mcp-server, version 1.0.0. The generation is backed by Pollinations AI and the documented setup names no API key.
Setup effort
Build from source — git clone https://github.com/falahgs/flux-imagegen-mcp-server
USE CASES
Illustrating something you are writing
Describe the image and get a URL back in the same turn, with no separate tool to open.
Producing an asset for a project
Generate straight to a folder with the file name and format you want.
Choosing a model deliberately
List what is available and pick, instead of accepting the default for every request.
3 tools
Listed in project docs. Your client may show a different list.
generateImagelistImageModelsBEFORE YOU INSTALL
What to know first
Tools you get
3 tools named in the project's documentation.
Requires
- Node.js >= 16.0.0
- NPM >= 7.0.0
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
You clone this one yourself.
Server setup
git clone https://github.com/falahgs/flux-imagegen-mcp-server
cd flux-imagegen-mcp-server
npm installMCP Clients
Claude Desktop
{
"mcpServers": {
"mcpollinations": {
"command": "cmd",
"args": [
"/c",
"node",
"<YOUR_PATH_TO_SERVER>\\server.js"
],
"tools": [
"generateImageUrl",
"generateImage",
"listImageModels"
]
}
}
}This is the README's Windows form: <YOUR_PATH_TO_SERVER> is the full path to your clone. On macOS or Linux there is no cmd — use "command": "node" with the full path to server.js as the only argument.