MCPInstall

meigen-ai-design-mcp

MCP server for AI image & video generation with 9 models (GPT Image 2, Nanobanana 2, Flux 2, Midjourney V8.1, Veo 3.1, local ComfyUI), 1,446 curated prompts, and parallel batch orchestration

Installs
213
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/reason-machines/mcp-skills --skill meigen-ai-design-mcp
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads meigen-ai-design-mcp automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

meigen-ai-design-mcp

Skill by ara.so — MCP Skills collection.

MeiGen AI Design MCP is an open-source MCP server that transforms AI coding tools (Claude Code, Cursor, Windsurf, Roo Code, OpenClaw, etc.) into professional design assistants. It provides unified access to 9 leading image and video generation models, a curated library of 1,446 trending prompts, and parallel sub-agent orchestration for batch generation.

What It Does

  • Multi-provider image generation: MeiGen Cloud (9 models), OpenAI-compatible APIs, or local ComfyUI
  • Video generation: Seedance 2.0, Happyhorse 1.0, Veo 3.1 via MeiGen platform
  • Curated prompt library: 1,446 trending prompts from nanobanana-trending-prompts
  • Smart prompt enhancement: Transform brief ideas into professional image prompts
  • Parallel batch generation: Sub-agents for efficient multi-variant creation
  • ComfyUI workflow management: Import, modify, and run custom workflows
  • Standalone CLI mode: Use without an MCP host for scripts and CI/CD

Installation

Claude Code (Recommended)

# Via MeiGen marketplace
/plugin marketplace add jau123/MeiGen-AI-Design-MCP
/plugin install meigen@meigen-marketplace

# Or via wshobson/agents (30k+ stars)
/plugin marketplace add wshobson/agents
/plugin install meigen-ai-design@claude-code-workflows

Restart Claude Code after installation.

Other MCP-Compatible Hosts

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

{
  "mcpServers": {
    "meigen": {
      "command": "npx",
      "args": ["-y", "meigen@1.3.1"],
      "env": {
        "MEIGEN_API_TOKEN": "${MEIGEN_API_TOKEN}"
      }
    }
  }
}

Cursor / VS Code / Windsurf / Roo Code

npx meigen init cursor      # Cursor
npx meigen init vscode      # VS Code
npx meigen init windsurf    # Windsurf
npx meigen init roo         # Roo Code

OpenClaw

# Full plugin (commands + skills + MCP)
openclaw bundles install clawhub:meigen-ai-design

# Or skill only
npx clawhub@latest install creative-toolkit

Hermes Agent

Add to ~/.hermes/config.yaml:

mcp_servers:
  meigen:
    command: "npx"
    args: ["-y", "meigen@1.3.1"]
    env:
      MEIGEN_API_TOKEN: "${MEIGEN_API_TOKEN}"
    timeout: 600          # Video generation can take 5-10 min
    connect_timeout: 120  # First npx download needs time

Configuration

Initial Setup

Run the setup wizard:

/meigen:setup

The wizard walks through:

  1. Provider selection: ComfyUI (local), MeiGen Cloud, or OpenAI-compatible API
  2. Credentials: API tokens, URLs, or keys
  3. Restart: One final restart to activate

Provider Options

Option 1: Local ComfyUI (Free)

Run on your own GPU with full control:

{
  "comfyuiUrl": "http://localhost:8188",
  "comfyuiDefaultWorkflow": "txt2img"
}

Environment variables:

COMFYUI_URL=http://localhost:8188
COMFYUI_DEFAULT_WORKFLOW=txt2img

Option 2: MeiGen Cloud

Get your API token at meigen.ai → Settings → API Keys:

{
  "meigenApiToken": "meigen_sk_..."
}

Environment variable:

MEIGEN_API_TOKEN=meigen_sk_...

Option 3: OpenAI-Compatible API

Bring your own key and endpoint:

{
  "openaiCompatibleApiKey": "sk-...",
  "openaiCompatibleEndpoint": "https://api.openai.com/v1"
}

Environment variables:

OPENAI_API_KEY=sk-...
OPENAI_API_BASE=https://api.openai.com/v1

MCP Tools

search_gallery (Free)

Search 1,446 curated trending prompts with visual previews.

TypeScript usage:

const result = await use_mcp_tool({
  server_name: "meigen",
  tool_name: "search_gallery",
  arguments: {
    keywords: "product photography luxury",
    limit: 10
  }
});

Natural language prompt:

"Search the gallery for luxury product photography inspiration"

get_inspiration (Free)

Get full prompt, all images, and metadata for a specific gallery entry.

TypeScript usage:

const inspiration = await use_mcp_tool({
  server_name: "meigen",
  tool_name: "get_inspiration",
  arguments: {
    id: "nanobanana_12345"
  }
});

enhance_prompt (Free)

Transform brief ideas into professional image prompts with style awareness.

TypeScript usage:

const enhanced = await use_mcp_tool({
  server_name: "meigen",
  tool_name: "enhance_prompt",
  arguments: {
    userPrompt: "cat in kitchen",
    style: "photorealistic",
    additionalContext: "sunlit, warm tones"
  }
});

Natural language prompt:

"Enhance this prompt: a cat in a kitchen"

list_models (Free)

List available models across all configured providers.

TypeScript usage:

const models = await use_mcp_tool({
  server_name: "meigen",
  tool_name: "list_models",
  arguments: {}
});

generate_image (Requires API Key)

Generate an image with automatic provider routing, reference image upload, and aspect ratio handling.

TypeScript usage:

const image = await use_mcp_tool({
  server_name: "meigen",
  tool_name: "generate_image",
  arguments: {
    prompt: "a minimalist tech logo, geometric shapes, blue gradient",
    model: "midjourney-v8.1",
    aspectRatio: "1:1",
    referenceImagePath: "/Users/dev/Desktop/sketch.jpg"  // Optional
  }
});

Natural language prompt:

"Generate a minimalist tech logo in 1:1 ratio using Midjourney V8.1"

With reference image:

"Generate a product shot based on this bottle.jpg in my Downloads folder"

generate_video (Requires API Key)

Generate video via MeiGen platform (Seedance 2.0, Happyhorse 1.0, or Veo 3.1).

TypeScript usage:

const video = await use_mcp_tool({
  server_name: "meigen",
  tool_name: "generate_video",
  arguments: {
    prompt: "Camera slowly zooms into the perfume bottle, bokeh background",
    model: "seedance-2.0-fast",
    firstFrameImagePath: "/Users/dev/Pictures/bottle.jpg",  // Optional
    duration: 5
  }
});

Natural language prompt:

"Animate this product photo into a 5-second video with a slow zoom"

comfyui_workflow (Free)

Manage ComfyUI workflow templates.

TypeScript usage:

// List workflows
const workflows = await use_mcp_tool({
  server_name: "meigen",
  tool_name: "comfyui_workflow",
  arguments: {
    action: "list"
  }
});

// View a workflow
const workflow = await use_mcp_tool({
  server_name: "meigen",
  tool_name: "comfyui_workflow",
  arguments: {
    action: "view",
    name: "txt2img"
  }
});

// Import a workflow
await use_mcp_tool({
  server_name: "meigen",
  tool_name: "comfyui_workflow",
  arguments: {
    action: "import",
    name: "custom-flux",
    workflow: JSON.stringify(workflowJson)
  }
});

manage_preferences (Free)

Store user preferences (style, aspect ratio, model, favorite prompts).

TypeScript usage:

await use_mcp_tool({
  server_name: "meigen",
  tool_name: "manage_preferences",
  arguments: {
    action: "set",
    key: "preferredStyle",
    value: "minimalist editorial"
  }
});

const prefs = await use_mcp_tool({
  server_name: "meigen",
  tool_name: "manage_preferences",
  arguments: {
    action: "get"
  }
});

Slash Commands

Quick shortcuts for common tasks:

CommandDescription
/meigen:gen <prompt>Skip conversation, generate image immediately
/meigen:find <keywords>Search prompt library
/meigen:modelsBrowse and switch models
/meigen:setupRun provider configuration wizard

Example:

/meigen:gen a calico cat in a sunlit kitchen, photorealistic
/meigen:find luxury product photography
/meigen:models

Standalone CLI Mode

Use MeiGen without an MCP host (for shell scripts, CI/CD, etc.):

# Set token once
export MEIGEN_API_TOKEN=meigen_sk_...

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

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

# With reference image
npx meigen gen -p "product hero shot" --ref ~/Desktop/bottle.jpg

# Submit only (no polling, good for CI)
npx meigen gen -p "..." --no-wait

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

Full CLI flags:

npx meigen gen --help

Options:
  -p, --prompt <text>        Image prompt (required)
  -m, --model <name>         Model name (default: nanobanana-2)
  -r, --ratio <ratio>        Aspect ratio (e.g. 16:9, 1:1, 3:4)
  --ref <path>               Reference image path
  --no-wait                  Submit only, don't poll for result
  --json                     Machine-readable JSON output
  -h, --help                 Display help

Output:

  • Images saved to ~/Pictures/meigen/ (override with MEIGEN_OUTPUT_DIR)
  • Videos saved to ~/Movies/meigen/

Common Patterns

Parallel Batch Generation

Generate multiple variations in parallel using sub-agents:

Natural language prompt:

"Create 4 product display images for this perfume, one of which should feature a model"

The AI will:

  1. Upload the reference image
  2. Craft 4 distinct prompts (luxury still life, model campaign, botanical, minimalist)
  3. Spawn 4 image-generator sub-agents in parallel
  4. Return all 4 images in ~2 minutes

Style-Aware Prompt Enhancement

Natural language prompt:

"Enhance this for a cinematic feel: a coffee cup on a desk"

Enhanced result:

A pristine white ceramic coffee cup on a dark walnut desk, steam rising 
gracefully, shot with shallow depth of field, warm morning light streaming 
through venetian blinds creating dramatic shadows, cinematic color grading, 
shot on Arri Alexa, 35mm lens, f/1.4

ComfyUI Workflow Import

Import any ComfyUI API-format workflow:

// Read workflow from file
const workflowJson = JSON.parse(
  fs.readFileSync('path/to/workflow_api.json', 'utf8')
);

// Import into MeiGen
await use_mcp_tool({
  server_name: "meigen",
  tool_name: "comfyui_workflow",
  arguments: {
    action: "import",
    name: "flux-lora-custom",
    workflow: JSON.stringify(workflowJson)
  }
});

// Use it
await use_mcp_tool({
  server_name: "meigen",
  tool_name: "generate_image",
  arguments: {
    prompt: "cyberpunk street scene",
    model: "comfyui",
    workflow: "flux-lora-custom"
  }
});

Video from Still Image

Animate a product photo into a 5-second video:

const video = await use_mcp_tool({
  server_name: "meigen",
  tool_name: "generate_video",
  arguments: {
    prompt: "Slow camera push towards product, bokeh background, cinematic lighting",
    model: "seedance-2.0-fast",
    firstFrameImagePath: "/Users/dev/Desktop/product.jpg",
    duration: 5
  }
});

Models:

  • seedance-2.0-fast: 5s, 1280×720, ~30s generation
  • seedance-2.0-pro: 5s, 1280×720, higher quality, ~2min
  • happyhorse-1.0: 6s, 1360×768, realistic motion
  • veo-3.1: 8s+, 1280×720, ultra-realistic, ~5-10min

Multi-Model Comparison

Generate the same prompt with different models:

Natural language prompt:

"Generate this prompt with Nanobanana 2, Midjourney V8.1, and Flux 2 Klein: a serene Japanese garden at dawn"

The AI will parallelize across 3 sub-agents and present all results.

Troubleshooting

"No provider configured"

Symptom: generate_image fails with "No provider configured"

Solution:

/meigen:setup
# Or set environment variables manually:
export MEIGEN_API_TOKEN=meigen_sk_...

ComfyUI connection refused

Symptom: ECONNREFUSED 127.0.0.1:8188

Solution:

  1. Ensure ComfyUI is running: http://localhost:8188
  2. Check firewall isn't blocking the port
  3. Verify COMFYUI_URL matches your actual URL

Reference image upload fails

Symptom: Local image path not found

Solution:

  • Use absolute paths: /Users/username/Desktop/image.jpg
  • Or relative to project root: ./assets/image.jpg
  • MeiGen auto-compresses images >5MB before upload

Video generation timeout

Symptom: MCP tool times out before video finishes

Solution:

  • For Hermes Agent, set timeout: 600 in config
  • For other hosts, increase MCP server timeout (default 120s → 600s)
  • Veo 3.1 can take 5-10 minutes for high-quality 8s videos

"Model not available"

Symptom: Requested model not found

Solution:

/meigen:models
# Or use tool:
use_mcp_tool({
  server_name: "meigen",
  tool_name: "list_models",
  arguments: {}
})

Available models depend on your provider:

  • MeiGen Cloud: nanobanana-2, gpt-image-2, seedream-5.0, midjourney-v8.1, flux-2-klein, seedance-2.0-fast, seedance-2.0-pro, happyhorse-1.0, veo-3.1
  • ComfyUI: Uses local workflows, model specified in workflow JSON
  • OpenAI-compatible: dall-e-3, dall-e-2, or custom models at your endpoint

Prompt library search returns no results

Symptom: search_gallery finds nothing

Solution:

  • Try broader keywords: "product" instead of "luxury minimalist product photography"
  • Use style terms: "cinematic", "minimalist", "vintage", "3D render"
  • Browse without keywords (empty search) to see all 1,446 prompts

Environment Variables Reference

VariableDescriptionRequired
MEIGEN_API_TOKENMeiGen Cloud API token (get at meigen.ai)For MeiGen provider
COMFYUI_URLComfyUI server URLFor ComfyUI provider
COMFYUI_DEFAULT_WORKFLOWDefault workflow nameOptional (default: txt2img)
OPENAI_API_KEYOpenAI or compatible API keyFor OpenAI provider
OPENAI_API_BASEAPI endpoint URLOptional (default: OpenAI endpoint)
MEIGEN_OUTPUT_DIROverride image output directoryOptional (default: ~/Pictures/meigen)

Resources

FAQ

What does the meigen-ai-design-mcp skill do?

MCP server for AI image & video generation with 9 models (GPT Image 2, Nanobanana 2, Flux 2, Midjourney V8.1, Veo 3.1, local ComfyUI), 1,446 curated prompts, and parallel batch orchestration

How do I install meigen-ai-design-mcp?

Run npx skills add https://github.com/reason-machines/mcp-skills --skill meigen-ai-design-mcp in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/meigen-ai-design-mcp/ (personal) or .claude/skills/meigen-ai-design-mcp/ (project).

Which AI agents can use meigen-ai-design-mcp?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is meigen-ai-design-mcp safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains meigen-ai-design-mcp?

It is published by reason-machines in reason-machines/mcp-skills. It has 213 recorded installs.

More from reason-machines/mcp-skills

View all →

codebase-memory-mcp-intelligence

reason-machines/mcp-skills

High-performance code intelligence MCP server that indexes codebases into knowledge graphs for structural queries, call traces, and architecture analysis

AI & Agents505 installs

playwright-mcp-server

reason-machines/mcp-skills

Browser automation MCP server using Playwright's accessibility tree for LLM-friendly web interaction

AI & Agents285 installs

tradingview-mcp-assistant

reason-machines/mcp-skills

AI-assisted TradingView chart analysis and automation via Chrome DevTools Protocol for Claude Code

AI & Agents262 installs

lanhu-mcp-collaboration

reason-machines/mcp-skills

AI-powered design collaboration server connecting Lanhu design platform with AI coding assistants for requirements analysis, UI design extraction, and team knowledge sharing

AI & Agents256 installs

google-meta-ads-ga4-mcp

reason-machines/mcp-skills

MCP server for Google Ads, Meta Ads & GA4 — 250+ tools for campaign management, analytics & optimization across all platforms

Marketing & SEO240 installs

chrome-devtools-mcp-automation

reason-machines/mcp-skills

Expert guidance for Chrome DevTools MCP server - browser automation, debugging, and performance analysis for AI agents

AI & Agents239 installs

Popular ai & agents skills

View category →

google-agents-cli-publish

google/agents-cli

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

AI & Agents513.9K installs

google-agents-cli-eval

google/agents-cli

This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).

AI & Agents513.5K installs

skill-creator

anthropics/skills

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

OfficialAI & Agents416.4K installs

codex-pet

prime-skills/runcomfy-agent-skills

Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.

AI & Agents402.1K installs

full-output-enforcement

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

AI & Agents401K installs

executing-plans

obra/superpowers

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

AI & Agents245.7K installs