generate_imageLABSCO SUMMARY
URL first, file second — the picture only lands on disk when you ask.
Splitting generation from download is the design decision worth knowing: the model gets back a link it can iterate on cheaply, and only a deliberate second call writes bytes to your filesystem. Prompts do better in English, and short concrete phrasing beats long descriptions.
What it is
A TypeScript server that calls the Pollinations.ai image and text endpoints over stdio. Images come back as a URL first, and a separate call writes the file locally, so nothing large travels through the conversation unless you ask for it.
What you get
generate_imagetakes a prompt and returns an image URL —widthandheightdefault to 1024, andnologodefaults to true so the watermark is offseedreproduces the same picture;modelselects flux, variation, dreamshaper, anything or pixartenhance,safeandprivatetoggle the quality filter, the content filter and whether the image shows in the public feeddownload_imagesaves a generated URL tooutput_path, defaulting to image.jpggenerate_textruns a prompt through openai, mistral or gemini, with optionalsystemprompt and JSON output
Requirements
The package pollinations-mcp, version 1.0.0. There is no published binary — clone the repository, run npm install and npm run build, then point your client at dist/index.js with node. The author reports that the Cursor path may not work and recommends Cline. No API key is mentioned.
Setup effort
Build from source — git clone https://github.com/bendusy/pollinations-mcp.git
USE CASES
Drafting an image without leaving the chat
Describe the picture, look at the returned URL, adjust the prompt, repeat.
Keeping a version you like
Save the chosen URL to a path you name, rather than downloading every attempt.
Reproducing the same picture later
Fix the seed so a re-run returns the identical image instead of a new one.
Getting text from a second model
Route a prompt to mistral or gemini and compare it with what you already have.
3 tools
Listed in project docs. Your client may show a different list.
download_imagegenerate_textBEFORE YOU INSTALL
What to know first
Tools you get
3 tools named in the project's documentation.
Requires
- git
- Node.js with npm
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
You clone and build this one yourself.
Server setup
Clone the repository
git clone https://github.com/bendusy/pollinations-mcp.git
cd pollinations-mcpInstall dependencies
npm installBuild the project
npm run buildMCP Clients
Cline
{
"mcpServers": {
"pollinations-mcp": {
"command": "node",
"args": [
"<YOUR_PATH_TO_POLLINATIONS_MCP>/dist/index.js"
],
"disabled": false,
"autoApprove": [
"download_image",
"generate_image",
"generate_text"
]
}
}
}