OpenAI MCP - 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
Overview
OpenAI MCP is a Model Context Protocol server that enables integration with OpenAI's DALL-E API for image generation, specifically designed for use with Roo Code and other MCP-compatible AI assistants.
To use OpenAI MCP, install the package globally, configure your OpenAI API key in Roo Code settings, and run the setup command to integrate it with Roo Code.
- Full support for DALL-E image generation options - Integration with Roo Code and other MCP-compatible AI assistants - Fine-grained control over the image generation process
- Generating images based on textual descriptions using DALL-E.
- Enhancing AI assistants with image generation capabilities.
- Creating visual content for applications that require dynamic image generation.
Add to your AI client
Use these steps to connect OpenAI MCP - DALL-E API Integration for Roo Code in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"openai-mcp-jezweb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-openai-mcp-jezweb"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"openai-mcp-jezweb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-openai-mcp-jezweb"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"openai-mcp-jezweb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-openai-mcp-jezweb"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"openai-mcp-jezweb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-openai-mcp-jezweb"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"openai-mcp-jezweb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-openai-mcp-jezweb"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"openai-mcp-jezweb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-openai-mcp-jezweb"
]
}
}
}FAQ
What is the purpose of OpenAI MCP?
It serves as a bridge between Roo Code and the DALL-E API, allowing for seamless image generation.
Is OpenAI MCP free to use?
The usage of OpenAI MCP is free, but you will need an OpenAI API key which may have associated costs based on usage.
How do I set up OpenAI MCP?
Follow the installation instructions provided in the documentation, including setting your OpenAI API key.