A Model Context Protocol server enabling AI assistants to generate images through OpenAI's DALL-E API with full support for all available options and fine-grained control.
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.
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.
src/
- Source code for the MCP server
dalle.ts
- Implementation of the DALL-E API integration with all optionsindex.ts
- Main server file with the DALL-E tool and input schemainstall.ts
- Installation script for Roo Code and Claude Desktopbuild/
- Compiled JavaScript filesdalle-test.html
- HTML page to display the generated image and document available optionstest-dalle.js
- Direct test script for the DALL-E API with examples of different optionsInstall the package globally:
npm install -g openai-mcp
Run the setup command to configure Roo Code:
openai-mcp install
Set your OpenAI API key in Roo Code settings:
"openai-mcp": { "env": { "OPENAI_API_KEY": "your-openai-api-key" } }
Restart Roo Code
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!