freshcrate
Skin:/
Home > MCP Servers > MeiGen-AI-Design-MCP

MeiGen-AI-Design-MCP

MeiGen-AI-Design-MCP — Turn Claude Code / OpenClaw into your local Lovart. Local ComfyUI, 1,400+ prompt library, multi-direction parallel generation.

Why this rank:Strong adoptionRecent releaseHealthy release cadence

Description

MeiGen-AI-Design-MCP — Turn Claude Code / OpenClaw into your local Lovart. Local ComfyUI, 1,400+ prompt library, multi-direction parallel generation.

README

MeiGen AI Design MCP Mentioned in Awesome MCP Servers Featured in wshobson/agents

Turn Claude Code / OpenClaw into your personal design assistant rivaling Lovart
Local ComfyUI generation, API integration, 1,300+ pro prompt library, multi-direction parallel output

npm versionnpm downloadsMCP ServerComfyUI SupportMITDiscord Quick Start â€ĸ Demo â€ĸ Features â€ĸ Providers â€ĸ Commands

English | 中文


What Is This?

An 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.

  • Works with local ComfyUI — no external API dependency; also easily integrates with any custom API
  • Built-in 1,500+ curated prompt templates from nanobanana-trending-prompts and fine-tuned prompt engineering techniques that turn requirements into concrete image generation tasks
  • Parallel batch generation and sub-agent execution to keep the main context window clean

See It in Action

Watch Demo
â–ļ 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:

Parallel generation process

Result — 4 creative directions delivered in under 2 minutes:

Generation results

Generated images:

Luxury still life Model campaign Nature botanicals Minimalist editorial


Quick Start

Claude Code Plugin (Recommended)

# 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):

/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.8"] } } }

First-Time Setup

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:

  1. Choose a provider — local ComfyUI, MeiGen Cloud, or any OpenAI-compatible API (bring your own key & endpoint)
  2. Enter credentials — ComfyUI URL, API token, or key
  3. Done — restart Claude Code once more, then start generating

Cursor / VS Code / Windsurf / Roo Code

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.

OpenClaw

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

Other MCP-Compatible Hosts

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.


Features

MCP Tools

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.

Slash Commands

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

Smart Agents

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)

Output Styles

Switch creative modes with /output-style:

  • Creative Director — Art direction mode with visual storytelling, mood boards, and design thinking
  • Minimal — Just images and file paths, no commentary. Ideal for batch workflows

Automation Hooks

  • Config Check — Validates provider configuration on session start, guides setup if missing
  • Auto-Open — Generated images automatically open in Preview (macOS)

Providers

MeiGen MCP supports three image generation backends. Configure one or multiple — the system auto-selects the best available.

ComfyUI — Local & Free

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.

MeiGen Cloud

Cloud API with multiple models: Nanobanana 2, Seedream 5.0, GPT image 1.5, and more. No GPU required.

Get your API token:

  1. Sign in at meigen.ai
  2. Click your avatar → Settings → API Keys
  3. Create a new key (starts with meigen_sk_)
{ "meigenApiToken": "meigen_sk_..." }

Bring Your Own API (OpenAI-Compatible)

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.


Configuration

Interactive Setup (Recommended)

/meigen:setup

The 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.

Config File

Configuration is stored at ~/.config/meigen/config.json. ComfyUI workflows are stored at ~/.config/meigen/workflows/.

Environment Variables

Environment variables take priority over the config file.

Variable Description
MEIGEN_API_TOKEN MeiGen platform token
OPENAI_API_KEY Your API key (any OpenAI-compatible provider)
OPENAI_BASE_URL API base URL — change this to use Together AI, Fireworks AI, etc.
OPENAI_MODEL Model name at your provider (e.g., gpt-image-1.5, flux-schnell)
COMFYUI_URL ComfyUI server URL (default: http://localhost:8188)

Privacy

MeiGen MCP respects your privacy. Here's what happens with your data:

  • ComfyUI (local) — All processing stays on your machine. No data is sent externally.
  • 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.
  • OpenAI-compatible — Prompts and reference images are sent to the configured API endpoint. See your provider's privacy policy.
  • Reference image upload — Images are compressed locally (max 2MB) and uploaded to Cloudflare R2 via gen.meigen.ai. Uploaded images expire automatically after 24 hours. No authentication required. ComfyUI users can skip uploading entirely by passing local file paths directly.
  • Gallery search & prompt enhancement — Run locally against bundled data. No external API calls.

No telemetry, analytics, or tracking of any kind.

Custom Storage Backend

If you prefer to use your own S3/R2 bucket for reference image uploads, set the UPLOAD_GATEWAY_URL environment variable or uploadGatewayUrl in ~/.config/meigen/config.json to point to your own presign endpoint. The endpoint must implement:

POST /upload/presign
Content-Type: application/json

Request:  { "filename": "photo.jpg", "contentType": "image/jpeg", "size": 123456 }
Response: { "success": true, "presignedUrl": "https://...", "publicUrl": "https://..." }

The presignedUrl is used for a PUT upload, and publicUrl is the publicly accessible URL returned to the user.


License

MIT — free for personal and commercial use.

Release History

VersionChangesUrgencyDate
v1.3.2## Highlights - **đŸĒŸ Windows local reference-image paths now detected correctly** — when an LLM client (Claude Code, Cursor, etc.) on Windows passes a path like `C:/Users/.../photo.jpg` (forward-slash, the cross-platform form most clients emit), `generate_image` now auto-uploads the file as expected. Previously this form fell through to the URL branch and was relayed unchanged to the cloud provider, producing an opaque `Unsupported file URI type` error. Backslash form (`C:\Users\...`) already wHigh5/19/2026
v1.3.1## Highlights - **đŸŽŦ Veo 3.1 capability expansion** — Google Veo on MeiGen now exposes **fast/pro tiers**, **4/6/8 second durations** (default 4), and **720p / 1080p / 4K resolutions** at the same price per tier+duration. Pick the output size you actually want — 4K renders slower (~8 min) but doesn't cost more than 720p. - **đŸŽžī¸ Seedance 2.0 reference-video continuation** — new `referenceVideo` + `referenceVideoDuration` params. Pass a previous clip's HTTPS URL plus its actual duration, prefix High5/13/2026
v1.3.0## Highlights - **đŸŽŦ Video generation** — new `generate_video` MCP tool with **Seedance 2.0** (fast/pro tiers), **Happyhorse 1.0**, and **Veo 3.1**. Supports text-to-video and first-frame / last-frame image-to-video. Local files are auto-uploaded; MP4 saves to `~/Movies/meigen/`. - **đŸ’ģ Standalone CLI** — `npx meigen gen --prompt "..."` works without an MCP host. Shell-friendly: `--json` for jq pipelines, `--no-wait` for CI, `--reference` for local files (auto-upload). Subcommand sits next tHigh5/11/2026
v1.2.10## âš ī¸ Pricing hotfix — please upgrade from 1.2.9 **v1.2.9 had a pricing regression**: GPT Image 2.0 became the default model but the server-side `resolution` fallback stayed at 2K, silently doubling credit cost for users who did not pass `resolution` explicitly. **v1.2.10 fixes it.** `gpt-image-2*` now defaults to **1K / medium = 10 credits**, matching the MeiGen platform product default. 1.2.9 has been deprecated on npm. If you ran generations with 1.2.9 and relied on the default, your cost High4/23/2026
v1.2.9## What's New - **Default model switched to GPT Image 2.0** (10 credits) — state-of-the-art text rendering for posters, logos, and any typography-heavy imagery - **Retired GPT Image 1.5** from model tables, docs, and examples across all channels ## Other Changes - Cleaned up stale `dall-e-3` / `flux-schnell` references in OpenAI-compatible provider examples - OpenAI-compatible provider docs now use generic "your model ID" wording — any OpenAI-format endpoint works with any model your service High4/22/2026
v1.2.8## Highlights ### Midjourney V7 support V7 and Niji 7 now have parallel guidance in the MCP server instructions. V7 targets photorealistic / general aesthetics (product photography, portraits, landscapes, cinematic shots); Niji 7 remains anime / illustration only. Both share the same trade-offs (15 credits, ~60s, 1 reference image max, 4 candidate images per generation) but differ in content focus and prompt enhancement style. ### Aspect ratio `auto` by default The MeiGen backend now supportsHigh4/15/2026
v1.2.7## Changes - **Remove `upload_reference_image` tool** — local file paths in `referenceImages` are now auto-compressed and uploaded inline via `generate_image`. Prevents free storage abuse and resolves ClawHub/VirusTotal security scanner flags. - **Remove `/meigen:ref` command** — no longer needed. - **Tool count**: 8 → 7 - **Update OpenClaw install** to bundle plugin: `openclaw bundles install clawhub:meigen-ai-design` ### How reference images work now Pass local file paths or URLs directly tMedium4/1/2026
v1.2.6## What's Changed ### Midjourney Niji 7 Support Improvements - **Anime-only guidance**: Niji 7 is exclusively for anime/illustration styles - **Multi-image support**: Niji 7 returns 4 candidate images; MCP server now displays all 4 URLs - **Prompt enhancement**: enhance_prompt recommends style anime for Niji 7 - **SERVER_INSTRUCTIONS**: Added Niji 7 usage notes ### Documentation & Skill Updates - Updated model tables in OpenClaw and Claude Code plugin skills - OpenClaw skill version 1.0.16 - IMedium3/25/2026
v1.2.5## What's New - **24-hour expiry notice** — `upload_reference_image` now clearly informs users that uploaded URLs expire after 24 hours - **Magic bytes validation** — File uploads now verify actual image content (JPEG/PNG/WebP/GIF signatures), preventing fake file extensions - **ComfyUI local file support** — ComfyUI users can pass local file paths directly to `referenceImages`, skipping the cloud upload roundtrip entirely - **OpenAI-compatible provider naming** — All descriptions now say "OpenLow3/6/2026
v1.2.4## What's New - **Gallery categories renamed** — 3D → Illustration & 3D, Food → Food & Drink, Photograph → Photography, Product → Product & Brand (backward-compatible mapping included) - **SKILL.md security compliance** — Improved wording to pass VirusTotal/ClawHub security scans - **Model pricing table** — Added to SKILL.md for quick reference - **ClawHub install link** — Added to OpenClaw section in READMEs - **Awesome badges** — Updated to Awesome MCP Servers (82k stars), replaced MCP Hub ChLow3/6/2026
v1.2.3## What's New - **New models** — Added support for Nanobanana 2 and Seedream 5.0 Lite - **Default model** — MeiGen provider now defaults to `nanobanana-2` (5 credits, 4K support) when no model is specified - **Updated docs** — Model references updated across README, SKILL.md, and plugin metadataLow2/27/2026
v1.2.2## What's New - **Semantic search** — `search_gallery` now uses hybrid vector + keyword search, finding conceptually similar results instead of just keyword matches - **Automatic fallback** — gracefully falls back to local keyword search if API is unavailable - **Glama listing** — added `glama.json` and `Dockerfile` for Glama directory submission - **Version sync** — fixed MCP server version reporting across all filesLow2/26/2026
v1.2.1## What's New - **Semantic search** — `search_gallery` now uses hybrid vector + keyword search via website API, finding conceptually similar results instead of just keyword matches - **Automatic fallback** — gracefully falls back to local keyword search if API is unavailable - **Glama listing** — added `glama.json` and `Dockerfile` for Glama directory submission ### Install / Update ``` npx -y meigen@latest ```Low2/26/2026
v1.2.0## MeiGen v1.2.0 AI design MCP server with multi-provider image generation. ### Features - 7 MCP tools: search_gallery, get_inspiration, enhance_prompt, list_models, upload_reference_image, comfyui_workflow, generate_image - 3 provider backends: MeiGen Cloud, OpenAI-compatible APIs, local ComfyUI - 1,300+ curated prompt library - Style-aware prompt enhancement - Reference image support across all providers - User preferences system - Multi-platform init command ### Install ``` npx -y meigen@lLow2/26/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

chromadb-remote-mcpRemote MCP server for ChromaDBv3.0.0
spaceship-mcp🚀 Manage domains, DNS, contacts, and listings with spaceship-mcp, a community-built MCP server for the Spaceship API.main@2026-06-02
thoughtboxThoughtbox is an intention ledger for agents. Evaluate AI's decisions against its decision-making.main@2026-06-01
comfy-pilot🤖 Create and modify workflows effortlessly with ComfyUI's AI assistant, enabling natural conversations with agents like Claude and Gemini.main@2026-06-01
better-notion-mcpMarkdown-first MCP server for Notion API - composite tools optimized for AI agentsv2.34.4

More in MCP Servers

node9-proxyThe Execution Security Layer for the Agentic Era. Providing deterministic "Sudo" governance and audit logs for autonomous AI agents.
claude-plugins-officialOfficial, Anthropic-managed directory of high quality Claude Code Plugins.
langchain4jLangChain4j is an open-source Java library that simplifies the integration of LLMs into Java applications through a unified API, providing access to popular LLMs and vector databases. It makes impleme
hyperframesWrite HTML. Render video. Built for agents.