by jau123
MeiGen-AI-Design-MCP — Turn Claude Code / OpenClaw into your local Lovart. Local ComfyUI, 1,400+ prompt library, multi-direction parallel generation.
# Add to your Claude Code skills
git clone https://github.com/jau123/MeiGen-AI-Design-MCPAn open-source MCP Server (installed via plugin marketplace) that gives LLMs creative and aesthetic capabilities through 7 tools and carefully designed skills, enabling them to handle complex design tasks. It teaches LLMs how to use various image generation models effectively, delivering professional results through reference images and multi-direction parallel workflows.
"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:
# Add the plugin marketplace
/plugin marketplace add jau123/MeiGen-AI-Design-MCP
# Install
/plugin install meigen@meigen-marketplace
Restart Claude Code after installation (close and reopen, or open a new terminal tab).
Alternative marketplace — also available via wshobson/agents (30k+ stars):
No comments yet. Be the first to share your thoughts!
/plugin marketplace add wshobson/agents
/plugin install meigen-ai-design@claude-code-workflows
This marketplace doesn't bundle MCP server config. After installing, add to your project's
.mcp.json:{ "mcpServers": { "meigen": { "command": "npx", "args": ["-y", "meigen@1.2.7"] } } }
Free features work immediately after restart — try:
"Search for some creative inspiration"
To unlock image generation, run the setup wizard:
/meigen:setup
The wizard walks you through:
One command to set up MeiGen for any supported AI coding tool:
npx meigen init cursor # Cursor
npx meigen init vscode # VS Code / GitHub Copilot
npx meigen init windsurf # Windsurf
npx meigen init roo # Roo Code
npx meigen init claude # Claude Code (project-level)
This writes the correct MCP config file with the right format and path for your tool. If a config file already exists, MeiGen is merged in without overwriting your other servers.
Install the full plugin from ClawHub (includes commands, skills, and MCP server):
openclaw bundles install clawhub:meigen-ai-design
Or install only the skill (no commands/agents):
npx clawhub@latest install creative-toolkit
Add to your MCP config (e.g. .mcp.json, claude_desktop_config.json):
{
"mcpServers": {
"meigen": {
"command": "npx",
"args": ["-y", "meigen@latest"],
"env": {
"MEIGEN_API_TOKEN": "meigen_sk_..."
}
}
}
}
Free features (inspiration search, prompt enhancement, model listing) work without any API key.
| Tool | Free | Description |
|------|------|-------------|
| search_gallery | Yes | Search 1,500+ curated trending prompts with visual previews (powered by nanobanana-trending-prompts) |
| get_inspiration | Yes | Get full prompt, all images, and metadata for any gallery entry |
| enhance_prompt | Yes | Transform a brief idea into a professional image prompt |
| list_models | Yes | List available models across all configured providers |
| comfyui_workflow | Yes | Manage ComfyUI workflow templates: list, view, import, modify, delete |
| manage_preferences | Yes | Remember your preferred style, aspect ratio, model, and favorite prompts |
| generate_image | Key | Generate an image — routes to the best available provider automatically. Local reference images are auto-compressed and uploaded. |
| Command | Description |
|---------|-------------|
| /meigen:gen <prompt> | Quick generate — skip conversation, go straight to image |
| /meigen:find <keywords> | Search 1,300+ curated prompts for inspiration |
| /meigen:models | Browse and switch AI models for this session |
| /meigen:setup | Interactive provider configuration wizard |
MeiGen uses specialized sub-agents for efficient parallel execution:
| Agent | Purpose |
|-------|---------|
| image-generator | Executes generate_image in isolated context — enables true parallel generation |
| prompt-crafter | Writes multiple distinct prompts for batch generation (runs on Haiku for cost efficiency) |
| gallery-researcher | Deep gallery exploration without cluttering the main conversation (runs on Haiku) |
Switch creative modes with /output-style:
MeiGen MCP supports three image generation backends. Configure one or multiple — the system auto-selects the best available.
Run generation on your own GPU with full control over models, samplers, and workflow parameters. Import any ComfyUI API-format workflow — MeiGen auto-detects KSampler, CLIPTextEncode, EmptyLatentImage, and LoadImage nodes.
{
"comfyuiUrl": "http://localhost:8188",
"comfyuiDefaultWorkflow": "txt2img"
}
Perfect for Flux, SDXL, or any model you run locally. Your images never leave your machine.
Cloud API with multiple models: Nanobanana 2, Seedream 5.0, GPT image 1.5, and more. No GPU required.
Get your API token:
meigen_sk_){ "meigenApiToken": "meigen_sk_..." }
Connect any image generation API that follows the OpenAI format — Together AI, Fireworks AI, DeepInfra, SiliconFlow, or your own endpoint. Just provide your key, base URL, and model name:
{
"openaiApiKey": "sk-...",
"openaiBaseUrl": "https://api.together.xyz/v1",
"openaiModel": "black-forest-labs/FLUX.1-schnell"
}
All three providers support reference images. MeiGen and OpenAI-compatible APIs accept URLs directly; ComfyUI accepts both URLs and local file paths, injecting them into LoadImage nodes in your workflow.