jpbester/pollinations-mcp-server
If you are the rightful owner of pollinations-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Pollinations MCP Server is a Model Context Protocol server designed to connect AI agents to Pollinations.ai for seamless image and text generation, specifically tailored for n8n workflows with Server-Sent Events (SSE) support.
The Pollinations MCP Server is a robust and versatile server that facilitates the integration of AI-driven content generation into various automation workflows. It leverages the Model Context Protocol (MCP) to connect AI agents with Pollinations.ai, enabling the creation of stunning images and compelling text content from simple prompts. This server is particularly optimized for use with n8n, a popular workflow automation platform, providing native support for Server-Sent Events (SSE) to ensure real-time communication and data streaming. With Docker readiness, the server is easy to deploy and manage, making it suitable for both development and production environments. It also includes features like logging, health checks, and optional security measures such as authentication and CORS protection, ensuring a secure and efficient operation. The server is ideal for enhancing automation workflows, content creation pipelines, social media automation, and more, offering a scalable solution for generating custom content and imagery at scale.
Features
- Image Generation: Create stunning images from text prompts using Pollinations AI.
- Text Generation: Generate content with multiple AI models such as OpenAI, Claude, and Mistral.
- Model Discovery: List and explore available AI models for both image and text generation.
- SSE Support: Compatible with n8n's native MCP Client Tool for real-time data streaming.
- Docker Ready: Easy deployment with Docker containers for seamless integration.
Usages
docker with n8n
bash docker run -p 3000:3000 --name pollinations-mcp-server-container ghcr.io/jpbester/pollinations-mcp-server
local development
bash # Clone the repository git clone https://github.com/jpbester/pollinations-mcp-server.git cd pollinations-mcp-server # Install dependencies npm install # Start the server npm start # For development with auto-reload npm run dev
cloud deployment with railway
bash npm install -g @railway/cli railway login railway init railway up
cloud deployment with render heroku easypanel
bash # Connect your GitHub repository # Set build command: npm install # Set start command: npm start # Deploy! ✨
Tools
generate_image
Create images from text prompts with customizable parameters.
generate_text
Generate text content using various AI language models.
list_models
Discover all available models for image and text generation.