Cover image
Try Now
2025-03-15

启用Roo Code可以进行OpenAI API调用的MCP服务器,并全力支持DALL-E图像生成

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

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

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    3 (1)
    Avatar
    user_9cFC2t5g
    2025-04-17

    As a dedicated user of openai-mcp, I am thoroughly impressed by the seamless integration and powerful features this application offers. Developed by jezweb, it has significantly enhanced my productivity with its intuitive design and reliable performance. The open-source nature on GitHub allows for constant improvements and community collaboration, making it a must-have tool for any developer.