About Azure Dalle MCP Server
Azure Dalle MCP Server connects Azure OpenAI’s DALL·E 3 image generation to MCP clients. It provides tools for generating images and downloading them to local storage.
Key features
- 01Generate images with DALL·E 3
- 02Set image size, quality, and style
- 03Download images to a local path
Use cases
- 01Generate images from text descriptions
- 02Choose image dimensions and style
- 03Save generated image files
MCP support
The MCP server exposes generate_image and download_image tools to clients for image generation and downloading.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEAzure OpenAI DALL-E 3 MCP Server
An Azure OpenAI DALL-E 3 integration server implementing the Model Context Protocol (MCP). This server provides a bridge between Azure OpenAI's DALL-E 3 image generation capability and MCP clients.
Available Tools
generate_image
Generates images using AOAI DALL-E 3 with the following parameters:
prompt(required): Text description of the image to generate-
size(optional): Image dimensions (default: 1024x1024). Available options:1024x10241792x10241024x1792
quality(optional): Image quality (default: hd). Available options:standardhd
style(optional): Image style (default: natural). Available options:vividnatural
download_image
Downloads generated images to local storage:
imageUrl(required): URL of the image to downloadlocalPath(required): Local directory path for savingfileName(required): Name for the downloaded file
Environment Variables
The following environment variables must be set to configure the server:
AZURE_OPENAI_ENDPOINT: The endpoint URL for your Azure OpenAI resource. You can find this in the Azure portal under your OpenAI resource's "Keys and Endpoint" section.AZURE_OPENAI_API_KEY: The API key for your Azure OpenAI resource. This is also available in the "Keys and Endpoint" section.AZURE_OPENAI_DEPLOYMENT_NAME(optional, default: "dalle3"): The name of the DALL-E 3 deployment in your Azure OpenAI resource.OPENAI_API_VERSION(optional, default: "2024-02-15-preview"): The API version to use. Ensure this matches the version supported by your Azure OpenAI resource.
Build
- Install dependencies:
npm install
- Build the server:
npm run build
MCP Client Configuration
{
"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>"
}
}
}
}
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.