DALL-E MCP Server
Uses DALL-E to generate/edit images, an MCP (Model Context Protocol) server
Overview
DALL-E MCP Server is a Model Context Protocol server that utilizes OpenAI's DALL-E API to generate and edit images.
To use the DALL-E MCP Server, clone the repository, install dependencies, and run the server. You can generate images by sending a JSON request with a prompt and other parameters.
- 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
- Generating unique artwork based on text prompts.
- Editing images to add or modify elements.
- Creating variations of existing images for creative projects.
Add to your AI client
Use these steps to connect DALL-E MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"dalle-mcp-garoth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dalle-mcp-garoth"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"dalle-mcp-garoth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dalle-mcp-garoth"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"dalle-mcp-garoth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dalle-mcp-garoth"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"dalle-mcp-garoth": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dalle-mcp-garoth"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"dalle-mcp-garoth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dalle-mcp-garoth"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"dalle-mcp-garoth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dalle-mcp-garoth"
]
}
}
}FAQ
Can I use DALL-E MCP Server for commercial purposes?
Yes, but ensure compliance with OpenAI's usage policies.
Is there a limit to the number of images I can generate?
The limit depends on your OpenAI API key's usage quota.
How do I get my OpenAI API key?
You can obtain your API key from OpenAI's API Keys page.