dalle-mcp

dalle-mcp

6

The DALL-E MCP Server is a tool for generating and editing images using the DALL-E API from OpenAI. It supports generating images with DALL-E 2 or 3, editing images, and creating variations, specifically catering to users interacting with the Cline platform.

DALL-E MCP Server

An MCP (Model Context Protocol) server designed for generating images using OpenAI's DALL-E API.

Features

  • Generate images with DALL-E 2 or 3
  • Edit and create image variations (DALL-E 2 only)
  • Validate OpenAI API key

Important Note for Cline Users

Ensure images are saved in your current workspace directory by setting the saveDir parameter correctly.

Usage

  • Running the Server: Execute the server to generate images.
  • Configuration for Cline: Configure the server using VSCode settings to allow proper image handling.

Available Tools

  • generate_image: Create images based on a text prompt.
  • edit_image: Modify existing images based on text prompts.
  • create_variation: Generate variations of an existing image.
  • validate_key: Validate your OpenAI API key.

Testing

  • Configure a .env file with your OpenAI API key for testing.
  • Run various tests including basic, edit, and variation tests using NPM scripts.