Back to catalog
Azure OpenAI DALL-E 3 MCP Server
An MCP server that provides a bridge between Azure OpenAI's DALL-E 3 image generation capabilities and MCP clients, enabling text-to-image creation through the Model Context Protocol.
An MCP server that provides a bridge between Azure OpenAI's DALL-E 3 image generation capabilities and MCP clients, enabling text-to-image creation through the Model Context Protocol.
Installation
From Source Code
npm install
npm run build
Configuration
MCP Client
{
"mcpServers": {
"dalle3": {
"command": "node",
"args": [
"path/to/mcp-server-aoai-dalle3/build/index.js"
],
"env": {
"AZURE_OPENAI_ENDPOINT": "<endpoint>",
"AZURE_OPENAI_API_KEY": "<key>",
"AZURE_OPENAI_DEPLOYMENT_NAME": "<deployment>"
}
}
}
}
Available Tools
| Tool | Description |
|---|---|
generate_image |
Generates images using Azure OpenAI DALL-E 3 with customizable size, quality, and style parameters |
download_image |
Downloads generated images to local storage with a specified filename and directory path |
Features
- Image generation using Azure OpenAI DALL-E 3
- Customizable image sizes (1024x1024, 1792x1024, 1024x1792)
- Quality options (standard, hd)
- Style options (vivid, natural)
- Download generated images to local storage
Environment Variables
Required
AZURE_OPENAI_ENDPOINT- The endpoint URL for your Azure OpenAI resourceAZURE_OPENAI_API_KEY- The API key for your Azure OpenAI resource
Optional
AZURE_OPENAI_DEPLOYMENT_NAME- The name of your DALL-E 3 deployment in your Azure OpenAI resourceOPENAI_API_VERSION- The API version to use
Notes
The default deployment name is 'dalle3' and the default API version is '2024-02-15-preview'. The server requires building from source code using npm.
