jau123/MeiGen-AI-Design-MCP
Supports GPT Image 2, Seedance & ComfyUI, with a 1,400+ prompt library, carefully crafted hooks and a multi-task orchestration system
1,670 ★214 forksTypeScriptUpdated 1d ago
What you need to know
Open-source MCP server (and standalone CLI) that turns any AI coding tool into an AI design assistant — logo design, product shots, and image-to-video — backed by the MeiGen cloud, any OpenAI-compatible API, or local ComfyUI, with 1,446 curated prompts and parallel sub-agent generation.
Install
Remote endpoint (zero-install): claude mcp add --transport http meigen https://www.meigen.ai/api/mcp --header "Authorization: Bearer meigen_sk_YOUR_TOKEN"
npx meigen init cursor | vscode | windsurf | roo | claude (writes the correct MCP config)
npm/MCP config: { "mcpServers": { "meigen": { "command": "npx", "args": ["-y", "meigen@1.4.0"], "env": { "MEIGEN_API_TOKEN": "meigen_sk_..." } } } }Usage
- •Run /meigen:setup in Claude Code to pick a provider (ComfyUI, MeiGen Cloud, or OpenAI-compatible) and enter credentials
- •/meigen:gen <prompt> for quick image generation; /meigen:find <keywords> to search the prompt gallery
- •CLI without an MCP host: npx meigen gen --prompt "a calico cat in a sunlit kitchen" (saves to ~/Pictures/meigen/)
- •generate_video with a required model ID from list_models (long videos can run 15+ min)
Key features
- ✓9 MCP tools: search_gallery, get_inspiration, enhance_prompt, list_models, comfyui_workflow, manage_preferences, generate_image, generate_video, check_generation
- ✓Three backends: MeiGen cloud (GPT Image 2, Nanobanana 2, Seedream 5.0, Midjourney V8.1, Veo 3.1, etc.), any OpenAI-compatible API, or local ComfyUI
- ✓1,446 curated prompt templates with style-aware prompt enhancement; parallel batch generation via sub-agents (image-generator, prompt-crafter, gallery-researcher)
- ✓Slash commands (/meigen:gen, /meigen:find, /meigen:models, /meigen:setup, /output-style) and standalone CLI mode for CI
- ✓Reference-image support (auto-compressed, max 2MB) across all providers; custom S3/R2 upload gateway option
Caveats
- ⚠Image/video generation requires a MeiGen token or your own API key; free features (gallery search, prompt enhancement, model list) work without one
- ⚠Reference images are uploaded to Cloudflare R2 and expire after 24 hours
- ⚠Video generation can take 15+ minutes — MCP clients need raised timeouts (e.g. Hermes timeout: 2700)
- ⚠ComfyUI local mode keeps everything on your machine; cloud modes send prompts/images to the provider
Platforms: macOS · Linux · WindowsClients: Claude Code · Cursor · Codex · Windsurf · Roo Code · VS Code/GitHub Copilot · OpenClaw · Hermes Agent
Documentation ↗Reviewed 2026-08-07
Topics
ai-image-generationclaudeclaude-codecomfyuimcpmcp-servermodel-context-protocolopenclawprompt-engineeringseedance2
- Stars
- 1,670★
- Forks
- 214
- Language
- TypeScript
- License
- MIT
- Created
- 2026-02-07
- Last push
- 2026-08-05