Cover image
Try Now
2025-03-03

Un serveur de protocole de contexte de modèle pour générer des images

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

Generate images MCP server

兼容OpenAI DALL-E 模型 API调用的 Model Context Protocol (MCP) 服务器实现。

本项目基于https://github.com/nicekate/flux-dev-mcp改编,感谢原作者的贡献。 使用了完全兼容OpenAI接口的 转发API 服务,包含openai以及Anthropic等多家大语言模型API,MidJourney和Flux等文生图绘画模型API, 最新模型claude-3-7-sonnet已上线!!

使用我的邀请链接 https://xiaohumini.site/register?aff=Zbtb 注册,可以获得0.4刀免费调用!

技术栈

  • TypeScript
  • Node.js
  • 端脑云 API

快速开始

环境要求

  • Node.js 16+
  • npm 或 yarn
  • Windows 或 MacOS 系统

安装依赖

# Windows/MacOS 通用命令
npm install

构建项目

# Windows/MacOS 通用命令
npm run build

开发模式

启动带有自动重新构建的开发模式:

# Windows/MacOS 通用命令
npm run watch

Cline/ROO CODE 插件配置说明

在 Cline/ROO CODE 插件中,需要配置 MCP 服务器的启动命令。请按照以下步骤进行配置:

配置内容示例:

Windows:

{
  "mcpServers": {
    "genimg-mcp": {
      "command": "node",
      "arg": ["C:\\path\\to\\genimg-mcp\\dist\\index.js"],
      "env": {
        "OPENAI_API_KEY": "sk-xxxxx",
        "OPENAI_MODEL_ID": "dall-e-3"  # 可选
      }
    }
  }
}

MacOS:

{
  "mcpServers": {
    "genimg-mcp": {
      "command": "/path/to/genimg-mcp/dist/index.js",
      "env": {
        "OPENAI_API_KEY": "sk-xxxxx",
        "OPENAI_MODEL_ID": "dall-e-3"  # 可选
      }
    }
  }
}

注意:

  • Windows 路径使用双反斜杠 \\ 或单正斜杠 /
  • MacOS 路径使用单正斜杠 /
  • 请确保路径指向实际安装位置

调试指南

由于 MCP 服务器通过标准输入输出(stdio)通信,调试可能会比较困难。我们推荐使用 MCP Inspector 工具:

# Windows/MacOS 通用命令
npm run inspector

Inspector 将提供一个浏览器访问地址,用于访问调试工具。

联系方式

如需支持,请联系1813345945@qq.com

许可证

本项目采用 MIT 许可证,详见 LICENSE 文件。

相关推荐

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

  • 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.

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

  • Khalid kalib
  • Write professional emails

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

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

  • Gil kaminski
  • Make sure you are post-ready before you post on social media

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: MQTT + MCP + LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocole de connecteur de message) 服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

    Reviews

    3 (1)
    Avatar
    user_NQl6vcEl
    2025-04-15

    I recently upgraded to the MCP Montano Server by palattine, and it has exceeded my expectations. The setup was seamless, and the performance has been top-notch. It's fast, reliable, and handles high traffic effortlessly. I highly recommend it for any business in need of a robust server solution. Check it out at https://mcp.so/server/mcp-huggy-server/palattine.