OpenAI MCP
OpenAI MCP - Roo 代码的 DALL-E API 集成
该项目提供了一个模型上下文协议 (MCP) 服务器,用于连接 OpenAI 的 DALL-E API 进行图像生成,并全面支持所有可用选项。它专为与 Roo Code 和其他兼容 MCP 的 AI 助手配合使用而设计。
概述
该 MCP 服务器提供 DALL-E 图像生成工具,全面支持所有 DALL-E API 选项。它允许像 Roo Code 这样的 AI 助手通过模型上下文协议 (MCP) 生成图像,并对生成过程进行细粒度控制。
Related MCP server: OpenAI GPT Image MCP
项目结构
src/- MCP 服务器的源代码dalle.ts- 实现 DALL-E API 与所有选项的集成index.ts- 包含 DALL-E 工具和输入模式的主服务器文件install.ts- Roo Code 和 Claude Desktop 的安装脚本
build/——编译的 JavaScript 文件dalle-test.html- HTML 页面,用于显示生成的图像和文档可用选项test-dalle.js- DALL-E API 的直接测试脚本,包含不同选项的示例
Roo 代码设置说明
安装
全局安装包:
npm install -g openai-mcp运行setup命令来配置Roo代码:
openai-mcp install在 Roo Code 设置中设置您的 OpenAI API 密钥:
打开Roo代码
前往“设置”
将以下环境变量添加到 MCP 服务器配置中:
"openai-mcp": { "env": { "OPENAI_API_KEY": "your-openai-api-key" } }
重新启动 Roo 代码
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that allows users to generate, edit, and create variations of images through OpenAI's DALL-E API, supporting both DALL-E 2 and DALL-E 3 models.49
- AlicenseNot gradedqualityFmaintenanceAn MCP tool server that enables generating and editing images through OpenAI's image models, supporting text-to-image generation and advanced image editing (inpainting, outpainting) across various MCP-compatible clients.110MIT
- AlicenseDqualityFmaintenanceA Model Context Protocol server that enables generating and editing images using OpenAI's gpt-image-1 model, allowing AI assistants to create and modify images from text prompts.21,77518MIT
- AlicenseBqualityCmaintenanceA Model Context Protocol server that provides OpenAI's DALL-E 3 image generation capabilities, allowing LLMs to generate high-quality images through a standardized interface.1261MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Generate AI images, video, music, and sound effects, and upscale them, from any MCP client.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jezweb/openai-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server