imagegen-go
0
The imagegen-go project is a server designed to generate images using the MCP protocol and OpenAI's DALL-E API. It supports various MCP methods, providing a tool for image creation with configurable parameters and includes detailed testing scripts. This server communicates via standard input/output instead of a traditional HTTP server.
imagegen-go MCP Server
This is an image generation server based on the MCP (Model Control Protocol), utilizing OpenAI's DALL-E API.
Requirements
- Go version 1.23.5 or higher
- OpenAI API key
MCP Protocol
The server implements the following MCP methods:
- Initialize the server
- List available tools
- Call tools (generate images)
- List available resources
- List available prompts
Features
- Image generation with
generate-image
tool with configurable prompt, width, height, and destination. - Includes test scripts for debugging and testing the server capabilities.
Project Structure
bin/
- Compiled binaries.main/
- Main program source code.pkg/
- Dependencies, including the OpenAI API client.logs/
- Logs directory.