OpenAI DALL MCP Server

Enables AI assistants to generate images through the OpenAI DALL-E API with fine-grained control.

Local serverstdioGo 1

What is the OpenAI DALL MCP server?

If you already use OpenAI DALL, the openai dall mcp server is the piece that lets your assistant work with it directly. Enables AI assistants to generate images through the OpenAI DALL-E API with fine-grained control.

What the server does

This project provides a Model Context Protocol (MCP) server for connecting to OpenAI's DALL-E API for image generation with full support for all available options. It's specifically designed to work with Roo Code and other MCP-compatible AI assistants.

This MCP server provides a tool for DALL-E image generation with comprehensive support for all DALL-E API options. It allows AI assistants like Roo Code to generate images through the Model Context Protocol (MCP) with fine-grained control over the generation process.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Installation — 1. Install the package globally: npm install -g openai-mcp

Installation

Installation goes through your MCP client rather than a global install: point it at openai-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Credentials and setup notes

Configuration is passed through the environment: OPENAI_API_KEY. 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.

Where it fits

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. OpenAI DALL's toolset — Installation — is a fair guide to whether it matches your workflow. It is maintained by jezweb; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • 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
Installation1. Install the package globally: npm install -g openai-mcp

How to install the OpenAI DALL MCP server

{
  "mcpServers": {
    "openai-dall-e": {
      "command": "npx",
      "args": ["-y", "openai-mcp"],
      "env": {
        "OPENAI_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use OpenAI DALL to Installation.

Frequently asked questions

Comprehensive DALL-E API option support, integration with Roo Code and other MCP-compatible AI assistants, installation scripts for easy setup, a testing script for direct DALL-E API testing, and an HTML page for displaying generated images and documenting available options.