I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

prasanthmj_primive-go-go-mcp-server
镜像://github.com/prasanthmj/prasisival-go-mcp-server
3 years
Works with Finder
0
Github Watches
1
Github Forks
0
Github Stars
MCP Image Generation Server
A Go implementation of an MCP (Model Context Protocol) server that generates images using OpenAI's DALL-E API. This server demonstrates how to build MCP tools that can be used by Large Language Models like Claude.
Features
- Generate images from text descriptions
- Automatic handling of save locations
- Configurable image dimensions
- Proper error handling and logging
- Works with Claude Desktop and other MCP clients
Prerequisites
- Go 1.19 or higher
- OpenAI API key
- Claude Desktop (for testing)
Build command
go build -o ./bin/imagegen-go ./main
Configuration
Add this server to your Claude Desktop configuration at ~/Library/Application Support/Claude/claude_desktop_config.json
:
{
"mcpServers": {
"imagegen-go": {
"command": "/path/to/imagegen-go/bin/imagegen-go",
"env": {
"OPENAI_API_KEY": "your-api-key",
"DEFAULT_DOWNLOAD_PATH":"/path/to/downloads"
}
}
}
}
Usage
- Build the server using the command above
- Configure Claude Desktop with your server path and API key
- Restart Claude Desktop
- Ask Claude to generate images!
Example prompt: "Can you generate an image of a riverside home in cinematic style?"
Implementation Details
This server implements the MCP tools capability and provides a single tool:
-
generate-image
: Generates an image from a text prompt using OpenAI's DALL-E
License
MIT License
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven
A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.
A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!
Reviews

user_ILOWI3tg
As a huge fan of MCP applications, I must say that prasanthmj_primitive-go-mcp-server by MCP-Mirror is an amazing product! Its efficiency in handling server tasks is commendable, and the straightforward implementation in Go ensures top performance. If you're looking for a reliable MCP server, I highly recommend checking it out at the provided GitHub link.