SkillAgentSearch skills...

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

Install / Use

claude mcp add jau123 -- npx -y github:jau123/MeiGen-AI-Design-MCP

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

94/100

Supported Platforms

Claude Code
Claude Desktop
<h1 align="center"> MeiGen AI Design MCP <a href="https://github.com/punkpeye/awesome-mcp-servers"><img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome MCP Servers"></a> <a href="https://github.com/wshobson/agents/tree/main/plugins/meigen-ai-design"><img src="https://img.shields.io/badge/wshobson%2Fagents-Featured-blue?style=flat&logo=github" alt="Featured in wshobson/agents"></a> </h1> <p align="center"> <strong>Open-source MCP server for AI image &amp; video generation — native to every major AI coding tool</strong><br><sub>Leading 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.</sub> </p> <p align="center"> <a href="https://www.npmjs.com/package/meigen"><img src="https://img.shields.io/npm/v/meigen?style=flat-square&color=blue" alt="npm version"></a> <a href="https://www.npmjs.com/package/meigen"><img src="https://img.shields.io/npm/dm/meigen?style=flat-square&color=green" alt="npm downloads"></a> <img src="https://img.shields.io/badge/Type-MCP_Server-blue?style=flat-square" alt="MCP Server"> <img src="https://img.shields.io/badge/Local-ComfyUI-green?style=flat-square" alt="ComfyUI Support"> <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-lightgrey?style=flat-square" alt="MIT"></a> <a href="https://discord.gg/uX6rnersUx"><img src="https://img.shields.io/badge/Discord-Join-5865F2?style=flat-square&logo=discord&logoColor=white" alt="Discord"></a> </p> <p align="center"> <a href="#quick-start">Quick Start</a> &bull; <a href="#see-it-in-action">Demo</a> &bull; <a href="#features">Features</a> &bull; <a href="#providers">Providers</a> &bull; <a href="#slash-commands">Commands</a> </p> <p align="center"> <strong>English</strong> | <a href="README.zh-CN.md">中文</a> </p>

What Is This?

An MCP server that turns any AI coding tool into a professional design assistant. 9 tools + a curated prompt library let it design logos, render product shots, animate stills into video, and orchestrate parallel batch variations. Works in Claude Code, Cursor, Codex, Windsurf, Roo Code, OpenClaw, Hermes Agent, and any MCP-compatible host — with the MeiGen platform, any OpenAI-compatible API, or your local ComfyUI as the backend.

  • Three backend modes: MeiGen cloud (DB-driven image & video model lineup — see list_models), OpenAI-compatible (bring your own key and endpoint), or local ComfyUI (offline, your GPU)
  • Built-in 1,446 curated prompt templates from nanobanana-trending-prompts plus style-aware prompt enhancement
  • Parallel batch generation via sub-agents to keep the main context clean — plus a standalone CLI for shell scripts and CI

See It in Action

<p align="center"> <a href="https://youtu.be/JQ3DZ1DXqvs"> <img src="https://img.youtube.com/vi/JQ3DZ1DXqvs/maxresdefault.jpg" alt="Watch Demo" width="400"> </a> <br> <b><a href="https://youtu.be/JQ3DZ1DXqvs">▶ Watch demo on YouTube</a></b> </p>

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:

<p align="center"> <img src="assets/demo-process.jpg" alt="Parallel generation process" width="700"> </p>

Result — 4 creative directions delivered in under 2 minutes:

<p align="center"> <img src="assets/demo-result.jpg" alt="Generation results" width="700"> </p>

Generated images:

<p align="center"> <img src="assets/sample-luxury.jpg" alt="Luxury still life" width="24%"> <img src="assets/sample-model.jpg" alt="Model campaign" width="24%"> <img src="assets/sample-botanicals.jpg" alt="Nature botanicals" width="24%"> <img src="assets/sample-minimal.jpg" alt="Minimalist editorial" width="24%"> </p>

Quick Start

Remote MCP Endpoint (zero-install, recommended)

MeiGen now hosts an official stateless remote MCP endpoint — no npm install, no local process, and its model lineup, pricing and time estimates stay in sync with production automatically (tool descriptions are rendered from the production database, refreshed hourly):

claude mcp add --transport http meigen https://www.meigen.ai/api/mcp \
  --header "Authorization: Bearer meigen_sk_YOUR_TOKEN"

Works with any Streamable-HTTP MCP client (2026-07-28 stateless protocol, with fallback for 2025-era clients). Read-only tools (search, model list, inspiration, generation status check) work without a token. The remote endpoint returns media URLs; if you want automatic local file saving, prompt-library offline search, ComfyUI bridging or the CLI, use the npm package below — both share the same account and credits.

Claude Code Plugin (npm, local tools)

# 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.4.0"] } } }

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

Use as CLI (no MCP host required)

For shell scripts, CI pipelines, or anyone who wants AI image generation without an MCP host, MeiGen ships a one-shot gen command in the same npm package.

# Set your token once (get it at https://www.meigen.ai → Settings → API Keys)
export MEIGEN_API_TOKEN=meigen_sk_...

# Generate
npx meigen gen --prompt "a calico cat in a sunlit kitchen"

# With a specific model + aspect ratio
npx meigen gen -p "tech logo" -m midjourney-v8.1 -r 1:1

# With a reference image (local file auto-uploaded)
npx meigen gen -p "product hero shot" --ref ~/Desktop/bottle.jpg

# Submit only — print generationId without polling (good for CI)
npx meigen gen -p "..." --no-wait

# Machine-readable output (good for jq pipes)
npx meigen gen -p "..." --json | jq -r '.imageUrls[0]'

The image is saved to ~/Pictures/meigen/ (override with MEIGEN_OUTPUT_DIR).

meigen gen --help lists all flags.

Other MCP-Compatible Hosts

Add to your MCP config (e.g. .mcp.json, claude_desktop_config.json):

{
  "mcpServers": {
    "meigen": {
      "command": "npx",
      "args": ["-y", "meigen@1.4.0"],
      "env": {
        "MEIGEN_API_TOKEN": "meigen_sk_..."
      }
    }
  }
}

Free features (inspiration search, prompt enhancement, model listing) work without any API key.

Hermes Agent (NousResearch)

Hermes Agent is a first-class MCP client — add MeiGen to ~/.hermes/config.yaml:

mcp_servers:
  meigen:
    command: "npx"
    args: ["-y", "meigen@1.4.0"]
    env:
      MEIGEN_API_TOKEN: "meigen_sk_..."
    timeout: 2700         # generate_video polls until the server reports a terminal state (long videos can run 15+ min) — default 120s is not enough
    connect_timeout: 120  # first npx download can take a minute

The timeout: 2700 and connect_timeout: 120 overrides are important — Hermes defaults (120s / 60s) are tuned for short-running tools and will time out on video generation or first-run npx downloads.


<h2 id="features">Features</h2>

MCP Tools

| Tool | Free | Description | |------|------|-------------| | search_gallery | Yes | Search 1,446 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. | | generate_video | Key | Generate video with a required model ID. Run list_models for the live lineup, tiers, resolutions, duration enum/range and reference-video limits. Local frame images are auto-uploaded; MP4 results save to ~/Movies/meigen/. | | check_generation | No | Check a generation by ID — follow-up after interrupted polling (the error message includes the ID). Retry instead of re-submitting to avoid double charges. |

Slash Commands

| Command | Description | |---------|-------------| | /meigen:gen <prompt> | Quick generate — skip conversation, go straight to image | | /meigen:find <keywords> | Search 1,446 curated prompts for inspiration | | /meigen:models | Browse and switch AI models for this session | | /meigen:setup | Interactive provider configuration wizard |

Standalone CLI Mode

For shell scripts, CI pipelines, and terminal users who don't run an MCP host:

export MEIGEN_API_TOKEN=meigen_sk_...
npx meigen gen --prompt "a calico cat in a sunlit kitchen"
npx meigen gen -p "logo design" -m midjourney-v8.1 -r 1:1 --json

See Use as CLI (no MCP host required) for the full flag list.

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 comme

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars1.8k
CategoryAI
Updated4d ago
Forks231

Languages

TypeScript

Security Score

100/100

Audited on Sep 17, 2026

No findings