mcpField
A
AOAI Dalle3 MCP Server

AOAI Dalle3 MCP Server

Local
github.com/jacwuMedia & Design4Updated 73w ago

About AOAI Dalle3 MCP Server

AOAI Dalle3 MCP Server connects MCP clients to image generation through Azure OpenAI DALL-E 3. It provides tools to generate images with configurable dimensions, quality, and style, and to download them locally.

Key features

  1. 01DALL-E 3 image generation
  2. 02Configurable image dimensions
  3. 03Quality and style options
  4. 04Download images to local storage

Use cases

  1. 01Generate images from text prompts
  2. 02Choose image dimensions and style
  3. 03Save generated images locally

MCP support

Exposes generate_image and download_image tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Azure 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:
    • 1024x1024
    • 1792x1024
    • 1024x1792
  • quality (optional): Image quality (default: hd). Available options:
    • standard
    • hd
  • style (optional): Image style (default: natural). Available options:
    • vivid
    • natural
download_image

Downloads generated images to local storage:

  • imageUrl (required): URL of the image to download
  • localPath (required): Local directory path for saving
  • fileName (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

  1. Install dependencies:
npm install
  1. 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

Markdown supported

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.