Dalle MCP Server

MCP server for generating images using OpenAI's DALL-E API

Local serverstdio

What is the Dalle MCP MCP server?

MCP server for generating images using OpenAI's DALL-E API. That is what the dalle mcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

  • Generate images using DALL-E 2 or DALL-E 3
  • Edit existing images (DALL-E 2 only)
  • Create variations of existing images (DALL-E 2 only)
  • Validate OpenAI API key

The tools it exposes

The server publishes 4 tools. What each one is for:

  • generate_image — Parameters: - prompt (required): Text description of the desired image - model (optional): DALL-E model to use ("dall-e-2" or "dall-e-3", default
  • edit_image — Parameters: - prompt (required): Text description of the desired edits - imagePath (required): Path to the image to edit - mask (optional): Path to
  • create_variation — Parameters: - imagePath (required): Path to the image to create variations of - model (optional): DALL-E model to use (currently only "dall-e-2"
  • validate_key — The validate_key tool exposed by this server

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What it needs from you

Configuration is passed through the environment: OPENAI_API_KEY, SAVE_DIR. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Among the AI and media services options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Dalle MCP's toolset — generate_image, edit_image, create_variation and 1 more — is a fair guide to whether it matches your workflow. It is maintained by Garoth; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Dalle MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
generate_imageParameters: - prompt (required): Text description of the desired image - model (optional): DALL-E model to use ("dall-e-2" or "dall-e-3", default: "dall-e-3") - size (optional): Size of the generated image (default: "102
edit_imageParameters: - prompt (required): Text description of the desired edits - imagePath (required): Path to the image to edit - mask (optional): Path to the mask image (white areas will be edited, black areas preserved) - mod
create_variationParameters: - imagePath (required): Path to the image to create variations of - model (optional): DALL-E model to use (currently only "dall-e-2" supports variations, default: "dall-e-2") - size (optional): Size of the ge
validate_keyThe validate_key tool exposed by this server.

How to install the Dalle MCP MCP server

{
  "mcpServers": {
    "dalle-mcp": {
      "command": "node",
      "args": ["/path/to/dalle-mcp-server/build/index.js"],
      "env": {
        "OPENAI_API_KEY": "your-api-key-here",
        "SAVE_DIR": "/path/to/save/directory"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes
SAVE_DIRFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Dalle MCP to generate image.
  • Use Dalle MCP to edit image.
  • Use Dalle MCP to create variation.

Frequently asked questions

It connects Dalle MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (generate_image, edit_image, create_variation, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Dalle MCP directly.