MeiGen-AI-Design-MCP
jau123 · jau123/MeiGen-AI-Design-MCP
Máy chủ MCP này cho phép các tác nhân AI tạo hình ảnh và video, cung cấp các khả năng như loại bỏ nền, tạo hình ảnh sản phẩm và nâng cấp chất lượng trên nhiều mô hình.
Hỗ trợ GPT Image 2, Seedance & ComfyUI, với thư viện hơn 1.400 prompt, các hook được thiết kế cẩn thận và hệ thống điều phối đa nhiệm.
Xem trước
Bạn có thể làm gì với nó
- Tạo áp phích tiếp thị độc đáo và hình ảnh chi tiết sản phẩm cho danh sách thương mại điện tử.
- Tự động loại bỏ nền khỏi ảnh sản phẩm và tạo nền do AI tạo ra.
- Nâng cấp hình ảnh độ phân giải thấp để có nội dung hình ảnh chất lượng cao hơn trong bài thuyết trình hoặc trang web.
Kiểm tra an toàn
Không thấy dấu hiệu rủi ro trong các file đã quét.
Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.
Trích từ README
MeiGen AI Design MCP
Open-source MCP server for AI image & video generation — native to every major AI coding toolLeading models (GPT Image 2 · Nanobanana 2 · Seedream 5.0 · Midjourney V8.1 · Flux 2 Klein · Grok Imagine · Seedance 2.0 · Veo 3.1 · Grok Video · Agnes Video · local ComfyUI) · 1,446 curated prompts · parallel sub-agent orchestration · standalone CLI mode. Works in Claude Code, Cursor, Codex, Windsurf, Roo Code, OpenClaw, Hermes Agent, and any MCP-compatible host.
Quick Start • Five Skills • HTTP API • Upgrade to 2.0 • Demo • Features • Providers • Commands
English | 中文
New in 2.0.1:
generate_videoaccepts multiple reference videos and reference audio (referenceVideos/referenceAudios; local.mp4/.mov/.wav/.mp3files are uploaded automatically). Per-model limits come fromlist_models.New in 2.0.0: five guided ecommerce/image Skills, original-image enhancement, upload validation, request recovery and Codex setup. Use a Skill · Upgrade guide · HTTP API
What Is This?
An MCP server that helps your AI assistant create images, videos and ecommerce assets. Connect to the remote server (14 tools) or install the local npm server (17 tools). Works in Claude Code, Cursor, Codex, Windsurf, Roo Code, OpenClaw, Hermes Agent, and other compatible MCP hosts.
Version 2.0.0 adds five guided Skills: background removal, Product Detail Images, Marketing Poster, AI Backgrounds and Upscale. These run on MeiGen Cloud and require an authorized MeiGen account and purchased credits. Remote HTTP clients can use OAuth when enabled; the local npm/API Key compatibility path uses a private MeiGen key. The local server also supports OpenAI-compatible APIs and ComfyUI for general image generation; those providers do not run the five Skills.
- Local general image generation supports three backends: MeiGen Cloud, OpenAI-compatible APIs, or local ComfyUI. Use
list_modelsfor current capabilities. - Built-in 1,446 curated prompt templates from nanobanana-trending-prompts plus style-aware prompt enhancement
- Callable image/video steps for upstream workflows, optional creative helpers, and a standalone CLI for shell scripts and CI
See It in Action
▶ Watch demo on YouTube
Product Photo — 4 Directions in Parallel
"Create 4 product display images for this perfume, one of which should feature a model."
Process — AI uploads the reference image, crafts 4 distinct prompts, then generates all 4 in parallel:
Result — 4 creative directions delivered in under 2 minutes:
Generated images:
Quick Start
Ask your AI assistant to install
Copy this entire block into Codex, Claude Code, Cursor, or another AI assistant that can configure MCP servers. It can set up the connection and guide you through credentials. ChatGPT web uses the separate setup below.
Install MeiGen MCP for this AI client using this guide:
https://github.com/jau123/MeiGen-AI-Design-MCP#quick-start
Detect the current client and inspect its MCP configuration without printing
credentials. Preserve other servers and reuse an existing MeiGen entry.
Prefer Streamable HTTP at https://www.meigen.ai/api/mcp. For Codex, use
codex mcp add meigen --url https://www.meigen.ai/api/mcp
When the server and client support automatic OAuth, run codex mcp login meigen
or use the client authentication UI, and let me sign in and approve consent.
Otherwise use a private API key; do not combine it with OAuth.
If I need automatic local-file preparation, ComfyUI, or local-only tools, use
the stdio command npx -y meigen@2.0.2 instead. Check that this exact npm
version exists before configuring it; report an unavailable version.
If using a key, guide me to enter it in local credentials or the launch
environment, never in this chat. Public lookups can be tested without a key.
Reload/reconnect, inspect the actual tool list, and call list_skills to verify.
If you cannot configure or reconnect this client, give me the exact manual
steps and say what remains unverified. If list_skills is missing, report it.
Do not upload images, generate anything, or spend credits during installation.
For manual setup, jump to Codex desktop / CLI / IDE, ChatGPT web, or the client-specific instructions below.
1. Prepare your account
You can browse inspiration and inspect models or Skill prices without signing in. For MeiGen Cloud generation:
- In a compatible remote HTTP client, use OAuth to sign in and review permissions when automatic account login is enabled. No brand-specific client ID or shared secret is required. For local npm or clients without OAuth, create a private key at API Keys.
- Use purchased credits on the connected account. MCP generation does not use daily free credits or Web free attempts. Check live prices with
list_models/list_skills. - Approve only the connection you started. You can revoke OAuth in Connected apps. Never put API keys in chat or shared configuration.
2. Choose one connection
| Remote MCP — recommended | Local npm MCP 2.0.2 | |
|---|---|---|
| Connection | Streamable HTTP at https://www.meigen.ai/api/mcp | Node.js process over stdio |
| Tools | 14: MeiGen generation, gallery and the five Skills | The same 14, plus prompt enhancement, preferences and ComfyUI management |
| Reference images | Public image link, an existing MeiGen URL, or actual attachment bytes readable by the host | Local files and public image links are prepared automatically |
| Local extras | Result URLs; the host handles preview/download | Ge |