LI

lansespirit/image-gen-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

69 stars 18 forks 质量 57 趋势 0

lanseSpirit/image-gen-mcp 是从 https://github.com/lansespirit/image-gen-mcp. 导入的 MCP 服务器候选

概览

lanseSpirit/image-gen-mcp 是从 https://github.com/lansespirit/image-gen-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

赋能AI聊天机器人通用图像生成

传统的AI聊天机器人界面仅限于纯文本交互,无论其底层语言模型多么强大。图像生成MCP服务器通过使任何基于LLM的聊天机器人客户端都能通过标准化的模型上下文协议(MCP)生成专业级图像,弥合了这一差距。

无论你使用Claude Desktop、自定义ChatGPT界面、基于Llama的应用程序,还是任何支持MCP的其他LLM客户端,该服务器都实现了对多个AI图像生成模型的访问,包括OpenAI的gpt-image-2、gpt-image-1、dall-e-3、dall-e-2以及谷歌的Imagen系列(imagen-4、imagen-4-ultra、imagen-4-fast、imagen-3),将纯文本对话转化为丰富且视觉化的体验。

** 📦 包管理器**:本项目使用 UV 实现快速且可靠的 Python 包管理。与传统 pip/venv 工作流程相比,UV 提供了更好的依赖分辨率、更快的安装和良好的环境隔离。

为什么这很重要

人工智能生态系统已经发展到包含来自多个平台(OpenAI、Anthropic、Meta、Google等)的强大语言模型。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Image Gen MCP Server

Empowering Universal Image Generation for AI Chatbots

Traditional AI chatbot interfaces are limited to text-only interactions, regardless of how powerful their underlying language models are. Image Gen MCP Server bridges this gap by enabling any LLM-powered chatbot client to generate professional-quality images through the standardized Model Context Protocol (MCP).

Whether you’re using Claude Desktop, a custom ChatGPT interface, Llama-based applications, or any other LLM client that supports MCP, this server democratizes access to multiple AI image generation models including OpenAI’s gpt-image-2, gpt-image-1.5, gpt-image-1, dall-e-3, dall-e-2, and Google’s Imagen series (imagen-4, imagen-4-ultra, imagen-4-fast, imagen-3), transforming text-only conversations into rich, visual experiences.

📦 Package Manager: This project uses UV for fast, reliable Python package management. UV provides better dependency resolution, faster installs, and proper environment isolation compared to traditional pip/venv workflows.

Why This Matters

The AI ecosystem has evolved to include powerful language models from multiple providers (OpenAI, Anthropic, Meta, Google, etc.), but image generation capabilities remain fragmented and platform-specific. This creates a significant gap:

  • 🚫 Limited Access: Only certain platforms offer built-in image generation
  • 🔒 Vendor Lock-in: Image capabilities tied to specific LLM providers
  • ⚡ Poor Integration: Switching between text and image tools breaks workflow
  • 🛠️ Complex Setup: Each client needs custom integrations

Image Gen MCP Server solves this by providing:

  • 🌐 Universal Compatibility: Works with any MCP-enabled LLM client
  • 🔄 Seamless Integration: No context switching or workflow interruption
  • ⚡ Standardized Protocol: One server, multiple client support
  • 🎨 Multi-Provider Support: Access to OpenAI and Google’s latest image generation models
  • 🔧 Unified Interface: Single API for multiple AI providers with automatic model discovery

Visual Showcase

Real-World Usage

Claude Desktop seamlessly generating images through MCP integration

Generated Examples

High-quality images generated through the MCP server, demonstrating professional-grade output

Use Cases & Applications

🎯 Content Creation Workflows

  • Bloggers & Writers: Generate custom illustrations directly in writing tools
  • Social Media Managers: Create platform-specific graphics without leaving chat interfaces
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "image-gen-mcp": { "command": "uv", "args": [ "--directory", "/path/to/image-gen-mcp", "run", "image-gen-mcp" ], "env": { "PROVIDERS__OPENAI__API_KEY": "your-api-key-here" } } } }