MCP.so
登录
服务器

MCP Image Generation Server

@prasanthmj

A Go implementation of an MCP (Model Context Protocol) server tools

概览

What is MCP Image Generation Server?

A Go implementation of an MCP (Model Context Protocol) server that generates images using OpenAI's DALL‑E API. It is designed to be used by MCP clients like Claude to create images from text descriptions.

How to use MCP Image Generation Server?

Build the binary with go build -o ./bin/imagegen-go ./main, configure Claude Desktop with the server path and your OpenAI API key, then prompt Claude to generate images.

Key features of MCP Image Generation Server

  • Generates images from text descriptions via DALL‑E
  • Automatic handling of save locations
  • Configurable image dimensions
  • Proper error handling and logging
  • Works with Claude Desktop and other MCP clients

Use cases of MCP Image Generation Server

  • Generate concept art or illustrations within a chat session
  • Create visual assets for presentations or social media
  • Produce images based on creative writing prompts
  • Integrate image generation into AI assistant workflows

FAQ from MCP Image Generation Server

What does the server do?

It provides a single MCP tool, generate-image, that takes a text prompt and returns an image generated by OpenAI’s DALL‑E.

What are the system requirements?

Go 1.19 or higher, an OpenAI API key, and Claude Desktop (for testing). The server needs network access to the OpenAI API.

Where are generated images saved?

The save location is controlled by the DEFAULT_DOWNLOAD_PATH environment variable. If not set, the server handles default locations automatically.

How do I configure the server for Claude Desktop?

Add a JSON entry to ~/Library/Application Support/Claude/claude_desktop_config.json with the server binary path and environment variables for OPENAI_API_KEY and DEFAULT_DOWNLOAD_PATH.

What transport does the server use?

As an MCP server, it communicates via stdio transport (the standard input/output of the process). No details about alternative transports or authentication beyond the API key are provided.

标签

来自「媒体与设计」的更多内容