/ Directory / Playground / MeiGen-AI-Design-MCP
● Community jau123 ⚡ Instant

MeiGen-AI-Design-MCP

by jau123 · jau123/MeiGen-AI-Design-MCP

Turn Claude into a design partner — 1,500+ curated prompts, ComfyUI workflow templates, and image generation via local ComfyUI or cloud providers.

MeiGen-AI-Design-MCP gives agents a gallery of trending image prompts, a prompt enhancer, and a pluggable generation backend. Browsing/enhancing is free; actual generation requires either a local ComfyUI instance or an API key (MeiGen Cloud / OpenAI-compatible).

Why use it

Key features

Live Demo

What it looks like in practice

meigen-ai-design.replay ▶ ready
0/0

Install

Pick your client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "meigen-ai-design": {
      "command": "npx",
      "args": [
        "-y",
        "MeiGen-AI-Design-MCP"
      ],
      "_inferred": true
    }
  }
}

Open Claude Desktop → Settings → Developer → Edit Config. Restart after saving.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "meigen-ai-design": {
      "command": "npx",
      "args": [
        "-y",
        "MeiGen-AI-Design-MCP"
      ],
      "_inferred": true
    }
  }
}

Cursor uses the same mcpServers schema as Claude Desktop. Project config wins over global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "meigen-ai-design": {
      "command": "npx",
      "args": [
        "-y",
        "MeiGen-AI-Design-MCP"
      ],
      "_inferred": true
    }
  }
}

Click the MCP Servers icon in the Cline sidebar, then "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "meigen-ai-design": {
      "command": "npx",
      "args": [
        "-y",
        "MeiGen-AI-Design-MCP"
      ],
      "_inferred": true
    }
  }
}

Same shape as Claude Desktop. Restart Windsurf to pick up changes.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "meigen-ai-design",
      "command": "npx",
      "args": [
        "-y",
        "MeiGen-AI-Design-MCP"
      ]
    }
  ]
}

Continue uses an array of server objects rather than a map.

~/.config/zed/settings.json
{
  "context_servers": {
    "meigen-ai-design": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "MeiGen-AI-Design-MCP"
        ]
      }
    }
  }
}

Add to context_servers. Zed hot-reloads on save.

claude mcp add meigen-ai-design -- npx -y MeiGen-AI-Design-MCP

One-liner. Verify with claude mcp list. Remove with claude mcp remove.

Use Cases

Real-world ways to use MeiGen-AI-Design-MCP

Generate a batch of on-brand marketing images with MeiGen

👤 Marketers, solo founders, content creators ⏱ ~20 min intermediate

When to use: You need 10 variations of a hero image in a consistent style for an ad test.

Prerequisites
  • A generation backend — Local ComfyUI on 127.0.0.1:8188, MeiGen Cloud token, or OpenAI-compatible image API key
Flow
  1. Find a reference style
    Search the MeiGen gallery for 'minimalist SaaS hero illustration'. Show me the top 5 with previews.✓ Copied
    → Gallery results with prompt IDs you can reuse
  2. Enhance your specific idea in that style
    Enhance this into a production prompt in the style of gallery entry #234: 'a workspace dashboard for a tax-filing tool, warm palette'.✓ Copied
    → Detailed prompt with style modifiers and negative prompts
  3. Generate 10 variations
    Generate 10 images from the enhanced prompt, varying the seed. Save to ./assets/hero/.✓ Copied
    → 10 PNGs in the folder

Outcome: A folder of on-brand variants ready for A/B testing.

Pitfalls
  • Cloud provider cost spike from large batches — Start batch at 2 to sanity-check quality, set a budget_cap via manage_preferences
  • Local ComfyUI out of VRAM on large batches — Reduce resolution or batch_size in the workflow template
Combine with: filesystem

Learn image prompting by iterating on the MeiGen gallery

👤 Designers new to AI image workflows ⏱ ~15 min beginner

When to use: You want to understand why certain prompts work before writing your own.

Flow
  1. Browse the gallery by theme
    Show me the top 10 trending prompts in the 'product photography' theme. Include the full prompt text.✓ Copied
    → Full prompts with structure visible
  2. Dissect structure
    For entry #5, break down the prompt into: subject, style, lighting, camera, modifiers. What makes it work?✓ Copied
    → Annotated breakdown

Outcome: You understand the anatomy of a working prompt — reusable knowledge.

Swap ComfyUI workflows from Claude without opening the UI

👤 ComfyUI power users ⏱ ~10 min advanced

When to use: You maintain multiple workflows (SDXL, Flux, inpaint) and want to switch based on task.

Prerequisites
  • Local ComfyUI — github.com/comfyanonymous/ComfyUI; default port 8188
Flow
  1. List saved templates
    Use comfyui_workflow to list my saved workflow templates.✓ Copied
    → Templates by name and purpose
  2. Load and run
    Load the 'flux-portrait' template, inject my prompt, run and save the output.✓ Copied
    → Image saved; workflow JSON cached for reuse

Outcome: Faster iteration without leaving the chat.

Combinations

Pair with other MCPs for X10 leverage

meigen-ai-design + filesystem

Generate and immediately organize into project folders

Generate 5 hero variants and save them under ./campaigns/{timestamp}/ with a manifest.json noting seed + prompt.✓ Copied
meigen-ai-design + claude-talk-to-figma

Design in Figma → refine with MeiGen → drop back into the Figma frame

Export the selected Figma frame's content brief, enhance with MeiGen, generate 3 options, import back into a new frame.✓ Copied

Tools

What this MCP exposes

ToolInputsWhen to callCost
search_gallery query: str, theme?: str, limit?: int Find a starting style 0
get_inspiration prompt_id: str Expand a gallery hit into copyable prompt text 0
enhance_prompt rough_idea: str, style_ref?: prompt_id Convert a rough idea to a production prompt 0 or 1 API call
list_models See what providers are configured 0
comfyui_workflow action: list|load|run, name?, params? Drive a local ComfyUI instance Local compute
manage_preferences style?, aspect?, model?, budget_cap? Set defaults once 0
generate_image prompt, negative?, aspect?, model?, count? Actually produce images Per-image, backend-dependent

Cost & Limits

What this costs to run

API quota
Gallery browsing: unlimited. Generation: depends on backend
Tokens per call
Prompt ops: 500–3000. Image results: no tokens (paths only)
Monetary
Free for browse/enhance; generation billed by chosen backend
Tip
Iterate the prompt at low resolution (512px), only upscale the winner

Security

Permissions, secrets, blast radius

Credential storage: Provider tokens in env vars (MEIGEN_TOKEN, OPENAI_API_KEY, etc.)
Data egress: Gallery: meigen.ai. Generation: configured provider endpoint only

Troubleshooting

Common errors and fixes

generate_image returns 'no backend configured'

Run /meigen:setup or manually set one of: COMFYUI_URL, MEIGEN_TOKEN, OPENAI_API_KEY

Verify: list_models should show at least one provider
ComfyUI connection refused

Start ComfyUI (python main.py) and confirm it binds to 127.0.0.1:8188

Verify: curl http://127.0.0.1:8188/system_stats
Enhanced prompts are generic

Pass a style_ref from the gallery so the enhancer has an anchor

Alternatives

MeiGen-AI-Design-MCP vs others

AlternativeWhen to use it insteadTradeoff
Direct ComfyUI MCPYou only want ComfyUI control, no gallery/enhancerNo curated prompts or cloud fallback
OpenAI Images API directlyYou just want dall-e / gpt-image from codeNo style library, no local option

More

Resources

📖 Read the official README on GitHub

🐙 Browse open issues

🔍 Browse all 400+ MCP servers and Skills