MCP.so
Sign In
Servers

DALL-E MCP Server

@Garoth

Uses DALL-E to generate/edit images, an MCP (Model Context Protocol) server

Overview

What is DALL-E MCP Server?

An MCP server that generates, edits, and creates variations of images using OpenAI's DALL-E API. It provides tools for integration with AI assistants like Cline.

How to use DALL-E MCP Server?

Clone the repository, install dependencies (npm install), build (npm build), and run (node build/index.js). Configure your OpenAI API key in the MCP settings for Cline (e.g., ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json). Tools such as generate_image, edit_image, create_variation, and validate_key are available with JSON parameters.

Key features of DALL-E MCP Server

  • Generate images using DALL‑E 2 or DALL‑E 3
  • Edit existing images with text prompts (DALL‑E 2 only)
  • Create variations of existing images (DALL‑E 2 only)
  • Validate OpenAI API key with a dedicated tool
  • Customizable image size, quality, style, and number of outputs

Use cases of DALL-E MCP Server

  • Generate illustrations or concept art from text descriptions
  • Edit an existing image by adding or removing elements
  • Produce multiple variations of an image for creative exploration
  • Validate API key configuration before heavy usage

FAQ from DALL-E MCP Server

Which DALL‑E models does the server support?

The server supports DALL‑E 2 and DALL‑E 3. DALL‑E 3 offers hd quality and vivid/natural style options; DALL‑E 2 supports image editing and variations.

How do I configure the server for use with Cline?

Add a dalle-mcp entry to your Cline MCP settings JSON with command, args pointing to the built index.js, and env containing OPENAI_API_KEY and optionally SAVE_DIR. For Cline to display images, set saveDir to the current workspace directory.

What are the limitations of edit_image?

As of March 18, 2025, the DALL‑E 2 edit API may ignore the prompt and return the original image. If that happens, try using create_variation instead, which appears more reliable.

How do I validate my OpenAI API key?

Use the validate_key tool with no parameters. It returns whether the API key is valid.

Where are generated images saved by default?

Images are saved to the current directory or the directory specified by the SAVE_DIR environment variable. You can override this per‑tool with the saveDir parameter.

More from Other