{"id":45103040,"url":"https://github.com/jau123/MeiGen-AI-Design-MCP","last_synced_at":"2026-03-04T17:00:54.850Z","repository":{"id":337079891,"uuid":"1152145571","full_name":"jau123/MeiGen-AI-Design-MCP","owner":"jau123","description":"MeiGen-AI-Design-MCP — Turn Claude Code / OpenClaw into your local Lovart. Local ComfyUI, 1,400+ prompt library, multi-direction parallel generation.","archived":false,"fork":false,"pushed_at":"2026-02-27T06:14:00.000Z","size":3220,"stargazers_count":62,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-27T12:45:59.070Z","etag":null,"topics":["ai-image-generation","claude","claude-code","comfyui","lovart","mcp","mcp-server","model-context-protocol","openclaw","prompt-engineering"],"latest_commit_sha":null,"homepage":"https://www.meigen.ai","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jau123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-07T12:39:26.000Z","updated_at":"2026-02-27T06:14:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jau123/MeiGen-AI-Design-MCP","commit_stats":null,"previous_names":["jau123/libreart","jau123/meigen-ai-design-mcp"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jau123/MeiGen-AI-Design-MCP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jau123%2FMeiGen-AI-Design-MCP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jau123%2FMeiGen-AI-Design-MCP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jau123%2FMeiGen-AI-Design-MCP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jau123%2FMeiGen-AI-Design-MCP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jau123","download_url":"https://codeload.github.com/jau123/MeiGen-AI-Design-MCP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jau123%2FMeiGen-AI-Design-MCP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30086511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T15:40:14.053Z","status":"ssl_error","status_checked_at":"2026-03-04T15:40:13.655Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-image-generation","claude","claude-code","comfyui","lovart","mcp","mcp-server","model-context-protocol","openclaw","prompt-engineering"],"created_at":"2026-02-19T21:01:56.198Z","updated_at":"2026-03-04T17:00:54.836Z","avatar_url":"https://github.com/jau123.png","language":"TypeScript","funding_links":[],"categories":["Integrations \u0026 Bridges","MCP Support","TypeScript","Art \u0026 Culture","What is this?","Containerised MCP Servers"],"sub_categories":["Deployment","MCP Servers","Use with AI Coding Tools","AI \u0026 Machine Learning"],"readme":"\u003ch1 align=\"center\"\u003e\n  MeiGen AI Design MCP \u003ca href=\"https://github.com/SamurAIGPT/awesome-openclaw\"\u003e\u003cimg src=\"https://img.shields.io/badge/Awesome-OpenClaw-fc60a8?style=flat-square\u0026logo=awesomelists\u0026logoColor=white\" alt=\"Awesome OpenClaw\"\u003e\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eTurn Claude Code / OpenClaw into your personal design assistant rivaling Lovart\u003c/strong\u003e\u003cbr\u003e\u003csub\u003eLocal ComfyUI generation, API integration, 1,300+ pro prompt library, multi-direction parallel output\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/meigen\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/meigen?style=flat-square\u0026color=blue\" alt=\"npm version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/meigen\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/meigen?style=flat-square\u0026color=green\" alt=\"npm downloads\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Type-MCP_Server-blue?style=flat-square\" alt=\"MCP Server\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Local-ComfyUI-green?style=flat-square\" alt=\"ComfyUI Support\"\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-lightgrey?style=flat-square\" alt=\"MIT\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://mcp-cn.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/MCP_Hub-China-red?style=flat-square\" alt=\"MCP Hub China\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#quick-start\"\u003eQuick Start\u003c/a\u003e \u0026bull;\n  \u003ca href=\"#see-it-in-action\"\u003eDemo\u003c/a\u003e \u0026bull;\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e \u0026bull;\n  \u003ca href=\"#providers\"\u003eProviders\u003c/a\u003e \u0026bull;\n  \u003ca href=\"#slash-commands\"\u003eCommands\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eEnglish\u003c/strong\u003e | \u003ca href=\"README.zh-CN.md\"\u003e中文\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## What Is This?\n\nAn open-source MCP Server (installed via plugin marketplace) that gives LLMs creative and aesthetic capabilities through 8 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.\n\n- Works with local ComfyUI — no external API dependency; also easily integrates with any custom API\n- Built-in 1,500+ curated prompt templates from [nanobanana-trending-prompts](https://github.com/jau123/nanobanana-trending-prompts) and fine-tuned prompt engineering techniques that turn requirements into concrete image generation tasks\n- Parallel batch generation and sub-agent execution to keep the main context window clean\n\n---\n\n## See It in Action\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://youtu.be/JQ3DZ1DXqvs\"\u003e\n    \u003cimg src=\"https://img.youtube.com/vi/JQ3DZ1DXqvs/maxresdefault.jpg\" alt=\"Watch Demo\" width=\"400\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  \u003cb\u003e\u003ca href=\"https://youtu.be/JQ3DZ1DXqvs\"\u003e▶ Watch demo on YouTube\u003c/a\u003e\u003c/b\u003e\n\u003c/p\u003e\n\n### Product Photo — 4 Directions in Parallel\n\n\u003e *\"Create 4 product display images for this perfume, one of which should feature a model.\"*\n\n**Process** — AI uploads the reference image, crafts 4 distinct prompts, then generates all 4 in parallel:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/demo-process.jpg\" alt=\"Parallel generation process\" width=\"700\"\u003e\n\u003c/p\u003e\n\n**Result** — 4 creative directions delivered in under 2 minutes:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/demo-result.jpg\" alt=\"Generation results\" width=\"700\"\u003e\n\u003c/p\u003e\n\n**Generated images:**\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/sample-luxury.jpg\" alt=\"Luxury still life\" width=\"24%\"\u003e\n  \u003cimg src=\"assets/sample-model.jpg\" alt=\"Model campaign\" width=\"24%\"\u003e\n  \u003cimg src=\"assets/sample-botanicals.jpg\" alt=\"Nature botanicals\" width=\"24%\"\u003e\n  \u003cimg src=\"assets/sample-minimal.jpg\" alt=\"Minimalist editorial\" width=\"24%\"\u003e\n\u003c/p\u003e\n\n---\n\n## Quick Start\n\n### Claude Code Plugin (Recommended)\n\n```bash\n# Add the plugin marketplace\n/plugin marketplace add jau123/MeiGen-AI-Design-MCP\n\n# Install\n/plugin install meigen@meigen-marketplace\n```\n\n**Restart Claude Code** after installation (close and reopen, or open a new terminal tab).\n\n#### First-Time Setup\n\nFree features work immediately after restart — try:\n\n\u003e \"Search for some creative inspiration\"\n\nTo unlock image generation, run the setup wizard:\n\n```\n/meigen:setup\n```\n\nThe wizard walks you through:\n1. **Choose a provider** — local ComfyUI, MeiGen Cloud, or OpenAI-compatible API\n2. **Enter credentials** — ComfyUI URL, API token, or key\n3. **Done** — restart Claude Code once more, then start generating\n\n### Cursor / VS Code / Windsurf / Roo Code\n\nOne command to set up MeiGen for any supported AI coding tool:\n\n```bash\nnpx meigen init cursor      # Cursor\nnpx meigen init vscode      # VS Code / GitHub Copilot\nnpx meigen init windsurf    # Windsurf\nnpx meigen init roo         # Roo Code\nnpx meigen init claude      # Claude Code (project-level)\n```\n\nThis 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.\n\n### OpenClaw\n\nOur skills follow the [Agent Skills](https://agentskills.io) open standard — copy them into your OpenClaw workspace and they work directly. For MCP tools, use OpenClaw's MCP adapter to connect the MeiGen server.\n\n### Other MCP-Compatible Hosts\n\nAdd to your MCP config (e.g. `.mcp.json`, `claude_desktop_config.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"meigen\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"meigen@latest\"],\n      \"env\": {\n        \"MEIGEN_API_TOKEN\": \"meigen_sk_...\"\n      }\n    }\n  }\n}\n```\n\n\u003e Free features (inspiration search, prompt enhancement, model listing) work without any API key.\n\n---\n\n\u003ch2 id=\"features\"\u003eFeatures\u003c/h2\u003e\n\n### MCP Tools\n\n| Tool | Free | Description |\n|------|------|-------------|\n| `search_gallery` | Yes | Search 1,500+ curated trending prompts with visual previews (powered by [nanobanana-trending-prompts](https://github.com/jau123/nanobanana-trending-prompts)) |\n| `get_inspiration` | Yes | Get full prompt, all images, and metadata for any gallery entry |\n| `enhance_prompt` | Yes | Transform a brief idea into a professional image prompt |\n| `list_models` | Yes | List available models across all configured providers |\n| `upload_reference_image` | Yes | Compress and upload a local image for use as a reference |\n| `comfyui_workflow` | Yes | Manage ComfyUI workflow templates: list, view, import, modify, delete |\n| `manage_preferences` | Yes | Remember your preferred style, aspect ratio, model, and favorite prompts |\n| `generate_image` | Key | Generate an image — routes to the best available provider automatically |\n\n### Slash Commands\n\n| Command | Description |\n|---------|-------------|\n| `/meigen:gen \u003cprompt\u003e` | Quick generate — skip conversation, go straight to image |\n| `/meigen:find \u003ckeywords\u003e` | Search 1,300+ curated prompts for inspiration |\n| `/meigen:models` | Browse and switch AI models for this session |\n| `/meigen:ref \u003cfile\u003e` | Upload a local image as reference, get a URL back |\n| `/meigen:setup` | Interactive provider configuration wizard |\n\n### Smart Agents\n\nMeiGen uses specialized sub-agents for efficient parallel execution:\n\n| Agent | Purpose |\n|-------|---------|\n| `image-generator` | Executes `generate_image` in isolated context — enables true parallel generation |\n| `prompt-crafter` | Writes multiple distinct prompts for batch generation (runs on Haiku for cost efficiency) |\n| `gallery-researcher` | Deep gallery exploration without cluttering the main conversation (runs on Haiku) |\n\n### Output Styles\n\nSwitch creative modes with `/output-style`:\n\n- **Creative Director** — Art direction mode with visual storytelling, mood boards, and design thinking\n- **Minimal** — Just images and file paths, no commentary. Ideal for batch workflows\n\n### Automation Hooks\n\n- **Config Check** — Validates provider configuration on session start, guides setup if missing\n- **Auto-Open** — Generated images automatically open in Preview (macOS)\n\n---\n\n\u003ch2 id=\"providers\"\u003eProviders\u003c/h2\u003e\n\nMeiGen MCP supports three image generation backends. Configure one or multiple — the system auto-selects the best available.\n\n### ComfyUI — Local \u0026 Free\n\nRun 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.\n\n```json\n{\n  \"comfyuiUrl\": \"http://localhost:8188\",\n  \"comfyuiDefaultWorkflow\": \"txt2img\"\n}\n```\n\n\u003e Perfect for Flux, SDXL, or any model you run locally. Your images never leave your machine.\n\n### MeiGen Cloud\n\nCloud API with multiple models: Nanobanana 2, Seedream 5.0, GPT image 1.5, and more. No GPU required.\n\n**Get your API token:**\n1. Sign in at [meigen.ai](https://www.meigen.ai)\n2. Click your avatar → **Settings** → **API Keys**\n3. Create a new key (starts with `meigen_sk_`)\n\n```json\n{ \"meigenApiToken\": \"meigen_sk_...\" }\n```\n\n### OpenAI-Compatible API\n\nBring your own API key for OpenAI (gpt-image-1.5), Together AI, Fireworks AI, or any compatible service.\n\n```json\n{\n  \"openaiApiKey\": \"sk-...\",\n  \"openaiBaseUrl\": \"https://api.openai.com\",\n  \"openaiModel\": \"gpt-image-1.5\"\n}\n```\n\n\u003e All three providers support **reference images**. MeiGen and OpenAI accept URLs directly; ComfyUI injects them into LoadImage nodes in your workflow.\n\n---\n\n## Configuration\n\n### Interactive Setup (Recommended)\n\n```\n/meigen:setup\n```\n\nThe wizard walks you through provider selection, API key entry, and ComfyUI workflow import. You can also paste a `curl` command from your API provider's docs — it auto-extracts the key, URL, and model.\n\n### Config File\n\nConfiguration is stored at `~/.config/meigen/config.json`. ComfyUI workflows are stored at `~/.config/meigen/workflows/`.\n\n### Environment Variables\n\nEnvironment variables take priority over the config file.\n\n| Variable | Description |\n|----------|-------------|\n| `MEIGEN_API_TOKEN` | MeiGen platform token |\n| `OPENAI_API_KEY` | OpenAI / compatible API key |\n| `OPENAI_BASE_URL` | API base URL (default: `https://api.openai.com`) |\n| `OPENAI_MODEL` | Default model (default: `gpt-image-1.5`) |\n| `COMFYUI_URL` | ComfyUI server URL (default: `http://localhost:8188`) |\n\n---\n\n## Privacy\n\nMeiGen MCP respects your privacy. Here's what happens with your data:\n\n- **ComfyUI (local)** — All processing stays on your machine. No data is sent externally.\n- **MeiGen Cloud** — Prompts and reference images are sent to `api.meigen.ai` for generation. Generated images are stored temporarily on Cloudflare R2. See [meigen.ai/privacy](https://www.meigen.ai/privacy).\n- **OpenAI-compatible** — Prompts and reference images are sent to the configured API endpoint. See your provider's privacy policy.\n- **Reference image upload** — Images are compressed locally (max 2MB) and uploaded to Cloudflare R2 via `gen.meigen.ai`. No authentication required.\n- **Gallery search \u0026 prompt enhancement** — Run locally against bundled data. No external API calls.\n\nNo telemetry, analytics, or tracking of any kind.\n\n---\n\n## License\n\n[MIT](LICENSE) — free for personal and commercial use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjau123%2FMeiGen-AI-Design-MCP","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjau123%2FMeiGen-AI-Design-MCP","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjau123%2FMeiGen-AI-Design-MCP/lists"}