DALL-E

by jezweb

Not rated
GitHub

About

Integrates with OpenAI's DALL-E API to enable image generation with fine-grained control over parameters including model selection, size, quality, and style through a command-line interface.

Details

Author
jezweb
Repository
jezweb/openai-mcp
License
MIT License
Categories
AI, Design, Developer Tools, Media, Infrastructure, API, Frontend

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name DALL-E
    Command (node, npx, python, etc.) openai-mcp
    Environment
    • OPENAI_API_KEY your-openai-api-key

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Install the package globally:

   npm install -g openai-mcp

2. Run the setup command to configure Roo Code:

   openai-mcp install

3. Set your OpenAI API key in Roo Code settings:
- Open Roo Code
- Go to Settings
- Add the following environment variable to the MCP server configuration:

     "openai-mcp": {
"env": {
"OPENAI_API_KEY": "your-openai-api-key"
}
}

4. Restart Roo Code

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "dall-e": {
            "env": {
                "OPENAI_API_KEY": "your-openai-api-key"
            },
            "args": [],
            "command": "openai-mcp"
        }
    }
}

Linux

{
    "env": {
        "OPENAI_API_KEY": "your-openai-api-key"
    },
    "args": [],
    "command": "openai-mcp"
}

Macos

{
    "env": {
        "OPENAI_API_KEY": "your-openai-api-key"
    },
    "args": [],
    "command": "openai-mcp"
}

Windows

{
    "env": {
        "OPENAI_API_KEY": "your-openai-api-key"
    },
    "args": [],
    "command": "openai-mcp"
}

OpenAI MCP - DALL-E API Integration for Roo Code

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.

Overview

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.

Project Structure

- src/ - Source code for the MCP server
- dalle.ts - Implementation of the DALL-E API integration with all options
- index.ts - Main server file with the DALL-E tool and input schema
- install.ts - Installation script for Roo Code and Claude Desktop
- build/ - Compiled JavaScript files
- dalle-test.html - HTML page to display the generated image and document available options
- test-dalle.js - Direct test script for the DALL-E API with examples of different options

Setup Instructions for Roo Code

Installation

1. Install the package globally:

   npm install -g openai-mcp

2. Run the setup command to configure Roo Code:

   openai-mcp install

3. Set your OpenAI API key in Roo Code settings:
- Open Roo Code
- Go to Settings
- Add the following environment variable to the MCP server configuration:

     "openai-mcp": {
"env": {
"OPENAI_API_KEY": "your-openai-api-key"
}
}

4. Restart Roo Code

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.