MCP Catalogs
首页MCPollinations screenshot

MCPollinations

by pinkpixel-dev·41·综合分 45

MCP 服务器,让 AI 助手通过 Pollinations API 生成图像、文本和音频。

ai-llmmediadeveloper-tools
14
Forks
1
活跃 Issue
2 个月前
最近提交
2 天前
收录于

概述

MCPollinations 是一个功能丰富的模型上下文协议服务器,使 AI 助手能够通过 Pollinations API 生成多模态内容。它提供了图像生成(支持自定义模型、尺寸和格式)、文本响应和不同语音的音频生成工具。该服务器支持可选的身份验证以获得增强访问权限,并提供诸如多种格式图像保存、图像到图像编辑以及通过 MCP 设置进行配置定制等功能。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:根据文本提示生成图像并以各种格式保存
:创建带有可定制语音的文本音频响应
:编辑现有图像或基于参考图像创建新图像
:有哪些身份验证选项?
:可以保存哪些图像格式?

什么时候选它

当您需要在 AI 工作流程中生成多模态内容且不希望处理复杂设置或 API 管理时,选择 MCPollinations。

什么时候不要选它

如果您需要专有模型访问或严格的内容过滤,请避免使用 MCPollinations,因为它依赖于外部 Pollinations API,对内容政策的控制有限。

此 server 暴露的工具

从 README 抽取出 9 个工具
  • generateImageUrl

    Generates an image URL from a text prompt

  • generateImage

    Generates an image as base64 data and saves it to a file

  • editImage

    Edits or modifies existing images based on text prompts

  • generateImageFromReference

    Generates new images using existing images as reference

  • listImageModels

    Lists available models for image generation

  • respondText

    Responds with text to a prompt using customizable parameters

  • respondAudio

    Generates an audio response to a text prompt

  • listTextModels

    Lists available models for text generation

  • listAudioVoices

    Lists all available voices for audio generation

可对比工具

dalle-mcpstable-diffusion-mcpwhisper-mcpelevenlabs-mcp

安装

安装

通过 Smithery 安装(推荐用于 Claude Desktop)

npx -y @smithery/cli install @pinkpixel-dev/mcpollinations --client claude

使用 npx(无需安装)

npx @pinkpixel-dev/mcpollinations

全局安装

npm install -g @pinkpixel-dev/mcpollinations
mcpollinations

从仓库克隆

git clone https://github.com/pinkpixel-dev/mcpollinations.git
cd mcpollinations
node pollinations-mcp-server.js

Claude Desktop 集成

添加到您的 Claude Desktop config.json:

{
  "mcpollinations": {
    "command": "npx",
    "args": ["-y", "@pinkpixel-dev/mcpollinations"],
    "env": {
      "token": "YOUR_TOKEN_OPTIONAL",
      "referrer": "your-app-or-domain-optional",
      "IMAGE_MODEL": "flux",
      "IMAGE_WIDTH": "1024",
      "IMAGE_HEIGHT": "1024",
      "OUTPUT_DIR": "./mcpollinations-output"
    }
  }
}

FAQ

有哪些身份验证选项?
MCPollinations 支持通过环境变量(POLLINATIONS_TOKEN 和 POLLINATIONS_REFERRER)或通过 MCP 配置文件的 env 部分进行可选的身份验证。服务器在免费模式下无需身份验证即可工作。
可以保存哪些图像格式?
图像可以保存为 PNG、JPEG、JPG 或 WebP 格式。PNG 是默认格式。图像默认保存到磁盘,同时也会返回 base64 编码的数据。

MCPollinations 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。