
openai mcp
MCP server that enables Roo Code to make OpenAI API calls, with full support for DALL-E image generation
Repository Info
About This Server
MCP server that enables Roo Code to make OpenAI API calls, with full support for DALL-E image generation
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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 serverdalle.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 Desktop
build/- 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 options
Setup Instructions for Roo Code
Installation
-
Install 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:
- 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" } }
-
Restart Roo Code
Quick Start
Clone the repository
git clone https://github.com/jezweb/openai-mcpInstall dependencies
cd openai-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.