Nectar-MCP
Nectar is a stdio MCP server for Pollinations image and video generation. It gives MCP clients a small, focused toolset for generating images, editing images, generating videos, listing available image/video models, and checking pollen balance.
README
<p align="center"> <img src="./logo.png" width="300" alt="Nectar MCP logo" /> </p>
<p align="center"> <a href="https://pollinations.ai"> <img src="./pollinations-badge.svg" width="200" alt="Pollinations.ai" /> </a> </p>
Nectar MCP
Nectar is a stdio MCP server for Pollinations image and video generation. It gives MCP clients a small, focused toolset for generating images, editing images, generating videos, listing available image/video models, and checking pollen balance.
It is intentionally not a full Pollinations wrapper. No text generation, no audio, no embeddings, no sprawling control panel. Just the creative media tools this server actually needs.
Tools
| Tool | Purpose |
|---|---|
pollinations_list_models |
Lists current image and video models from Pollinations using a 15-minute cache, compact summaries by default, sorting, and capability filters. |
pollinations_get_model_details |
Returns full metadata for one model by name or alias. |
pollinations_generate_image |
Generates an image from a text prompt with model, size/dimensions, quality, seed, safety, transparency, prompt enhancement, negative prompt, reference image, and response format options. |
pollinations_edit_image |
Edits one or more image URLs using a text prompt, with model, size/dimensions, quality, seed, safety, transparency, prompt enhancement, negative prompt, and response format options. |
pollinations_generate_video |
Generates a video from a text prompt, with model, duration, aspect ratio, resolution, seed, audio, safety, quality, and reference-frame controls. |
pollinations_check_balance |
Checks the authenticated pollen balance or API key budget. |
Requirements
- Node.js 20 or newer
- A Pollinations API key from enter.pollinations.ai
Model listing does not require authentication. Generation and balance tools require POLLINATIONS_API_KEY.
Generated images, edited images, and videos are saved locally by default. Set NECTAR_OUTPUT_DIR in your MCP client env block to choose the default output folder, or pass output_dir per tool call.
Install
MCP Client Config
Most MCP clients should pass the API key through the server env block:
{
"mcpServers": {
"pixara": {
"command": "npx",
"args": ["-y", "@pinkpixel/nectar-mcp"],
"env": {
"POLLINATIONS_API_KEY": "sk_your_key_here",
"NECTAR_OUTPUT_DIR": "/absolute/path/to/nectar-output"
}
}
}
}
For local development:
git clone https://github.com/pinkpixel-dev/nectar-mcp.git
cd nectar-mcp
npm install
npm run build
{
"mcpServers": {
"nectar": {
"command": "node",
"args": ["/absolute/path/to/nectar-mcp/dist/index.js"],
"env": {
"POLLINATIONS_API_KEY": "sk_your_key_here",
"NECTAR_OUTPUT_DIR": "/absolute/path/to/nectar-output"
}
}
}
}
Example Requests
Ask your MCP client:
List Pollinations video models and help me choose one for a 9:16 product teaser.
Generate a 1024x1024 image of a tiny yellow robot painter in a polished dark UI style.
Edit this image URL so the background is transparent and the subject looks more premium.
Generate a 6 second 16:9 video of a glowing pollen trail drifting across a dark studio surface.
Notes
- Image generation uses Pollinations' OpenAI-compatible image generation endpoint.
- Image editing currently supports image URLs. Local multipart file upload is intentionally left out of v1.
- Image/video tools default to
save_output: true, converting base64 responses and downloaded URLs into local files. - Image generation and image editing default to Pollinations
response_format: "b64_json"because local decoding is the most reliable save path. - Saved files go to
output_dir,NECTAR_OUTPUT_DIR, or./nectar-output, in that order. - Saved Pollinations media URLs are downloaded with the configured
POLLINATIONS_API_KEY. Nectar does not send that key to non-Pollinations URLs. - Tool descriptions intentionally include model examples, parameter guidance, return shape notes, and error-handling hints so MCP clients have enough context to call the tools correctly.
- Model listing is compact by default. Use
pollinations_get_model_detailswhen an agent needs full raw metadata for one model. - Video generation returns the final media URL and response metadata.
- Model support varies by capability, so call
pollinations_list_modelsbefore using model-specific options. - The server never stores your API key. Your MCP client passes it through the process environment.
Development
npm run typecheck
npm run build
The server communicates over stdio and will stay running when started directly. Use an MCP client or inspector to interact with it.
License
Apache-2.0
Made by Pink Pixel.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。