imagegen-go MCP 服务器
@shawnzxx
About imagegen-go MCP 服务器
MCP server which will trigger OpenAI to generate image
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is imagegen-go MCP 服务器?
imagegen-go MCP 服务器是一个基于 MCP (Model Control Protocol) 协议的图像生成服务器,使用 OpenAI 的 DALL-E API 生成图像,适合需要将图像生成能力集成到 MCP 兼容客户端中的开发者。
How to use imagegen-go MCP 服务器?
设置环境变量 OPENAI_API_KEY,然后编译项目 (go build -o bin/imagegen-go main/*.go),接着使用提供的测试脚本(如 ./test_mcp.sh)进行初始化、获取工具列表和生成图像。服务器通过标准输入/输出与客户端通信,不是传统的 HTTP 服务器。
Key features of imagegen-go MCP 服务器
- 基于 MCP 协议,支持 JSON-RPC 2.0 通信
- 集成 OpenAI DALL-E API 生成图像
- 提供可调参数:prompt、width、height、destination
- 默认保存图像到用户的 Downloads 目录
- 提供多个 Shell 测试脚本用于调试和交互
- 日志自动保存到 logs 目录便于分析
Use cases of imagegen-go MCP 服务器
- 将图像生成能力添加到 MCP 兼容的 AI 客户端或编辑器
- 自动化批量生成图像并保存到指定目录
- 在开发过程中快速测试不同的 DALL-E 提示词和尺寸
- 作为 MCP 工具链中的图像生成节点使用
FAQ from imagegen-go MCP 服务器
imagegen-go MCP 服务器需要哪些依赖?
需要 Go 1.23.5 或更高版本,以及有效的 OpenAI API 密钥。
生成的图像保存在哪里?
默认保存到当前用户的 Downloads 目录。如果提供了 destination 参数且路径有效,则保存到该路径;否则使用默认路径。
这个服务器是 HTTP 服务吗?
不是。服务器通过标准输入/输出与客户端通信,符合 MCP 协议的标准通信方式。
支持哪些 MCP 方法?
支持 initialize、tools/list、tools/call、resources/list 和 prompts/list。
如果提供的目标路径无效会怎样?
会忽略无效路径,自动使用默认的 Downloads 目录保存图像。
More Other MCP servers
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Awesome Mlops
visengerA curated list of references for MLOps
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Blender
ahujasidOpen-source MCP to use Blender with any LLM

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Comments