DALL-E API Integration for Roo Code

MCP server that enables Roo Code to make OpenAI API calls, with full support for DALL-E image generation

Installation

Installing for Claude Desktop

Option 1: One-Command Installation

npx mcpbar@latest install jezweb/openai-mcp -c claude

This command will automatically install and configure the DALL-E API Integration for Roo Code MCP server for your selected client.

Option 2: Manual Configuration

Run the command below to open your configuration file:

npx mcpbar@latest edit -c claude

After opening your configuration file, copy and paste this configuration:

View JSON configuration
{
  "mcpServers": {
    "DALL-E API Integration for Roo Code": {
      "command": "npx",
      "args": [
        "-y",
        "openai-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "${input:openai_api_key}"
      }
    }
  }
}

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

Share:
Details:
  • Stars


    1
  • Forks


    3
  • Last commit


    15 days ago
  • Repository age


    3 months
  • License


    MIT
View Repository

Auto-fetched from GitHub .

MCP servers similar to DALL-E API Integration for Roo Code:

 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


DALL-E API Integration for Roo Code: MCP Server – MCP.Bar