primitive-go-mcp-server

primitive-go-mcp-server

9

The MCP Image Generation Server is a Go-based implementation designed to interact with large language models like Claude. It allows users to generate images from text descriptions using OpenAI's DALL-E API, with features such as configurable image dimensions and automatic save handling.

MCP Image Generation Server

A Go implementation of an MCP server that generates images using OpenAI's DALL-E API, designed for use with Large Language Models like Claude.

Features

  • Generate images from text descriptions
  • Automatic handling of save locations
  • Configurable image dimensions
  • Error handling and logging
  • Compatible with Claude Desktop and other MCP clients

Prerequisites

  • Go 1.19 or higher
  • OpenAI API key
  • Claude Desktop (for testing)

Usage

  1. Build the server
  2. Configure Claude Desktop
  3. Restart Claude Desktop
  4. Use prompts to generate images

Implementation Details

Provides a tool generate-image using OpenAI's DALL-E for image generation.