A Model Context Protocol (MCP) server that enables AI assistants to generate images, text, and audio through the Pollinations APIs. Supports customizable parameters, image saving, and multiple model options.
Overview
What is MCPollinations?
MCPollinations is a multimodal Model Context Protocol (MCP) server that allows AI assistants to generate images, text, and audio through the Pollinations APIs.
How to use MCPollinations?
To use MCPollinations, you can install it via Smithery or run it directly using npx. You can also clone the repository and run the server locally.
Key features of MCPollinations?
- Generate image URLs from text prompts
- Generate images in various formats (png, jpeg, jpg, webp)
- Generate text and audio responses from text prompts
- List available image and text generation models
- No authentication required
- Simple and lightweight
Use cases of MCPollinations?
- Creating images based on user-defined prompts
- Generating audio responses for interactive applications
- Providing text responses for chatbots and virtual assistants
FAQ from MCPollinations?
- Is authentication required to use MCPollinations?
No, MCPollinations does not require authentication.
- What are the system requirements?
MCPollinations requires Node.js version 14.0.0 or higher, with version 16.0.0 recommended for best performance.
- Can I customize the output format of generated images?
Yes, you can specify the format (png, jpeg, jpg, webp) when generating images.
Server Config
{
"mcpServers": {
"mcpollinations": {
"command": "npx",
"args": [
"-y",
"@pinkpixel/mcpollinations"
],
"resources": {
"output_dir": "./mcpollinations-output"
},
"default_params": {
"image": {
"model": "flux",
"width": 1024,
"height": 1024,
"safe": false,
"enhance": true
},
"text": {
"model": "openai"
},
"audio": {
"voice": "alloy"
}
}
}
}
}