/ Каталог / Песочница / MeiGen-AI-Design-MCP
● Сообщество jau123 ⚡ Сразу

MeiGen-AI-Design-MCP

автор 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).

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

meigen-ai-design.replay ▶ готово
0/0

Установка

Выберите клиент

~/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
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

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

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

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

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

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

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

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

Continue использует массив объектов серверов, а не map.

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

Добавьте в context_servers. Zed перезагружается автоматически.

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

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: MeiGen-AI-Design-MCP

Generate a batch of on-brand marketing images with MeiGen

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

Когда использовать: You need 10 variations of a hero image in a consistent style for an ad test.

Предварительные требования
  • A generation backend — Local ComfyUI on 127.0.0.1:8188, MeiGen Cloud token, or OpenAI-compatible image API key
Поток
  1. Find a reference style
    Search the MeiGen gallery for 'minimalist SaaS hero illustration'. Show me the top 5 with previews.✓ Скопировано
    → 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'.✓ Скопировано
    → 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/.✓ Скопировано
    → 10 PNGs in the folder

Итог: A folder of on-brand variants ready for A/B testing.

Подводные камни
  • 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
Сочетать с: filesystem

Learn image prompting by iterating on the MeiGen gallery

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

Когда использовать: You want to understand why certain prompts work before writing your own.

Поток
  1. Browse the gallery by theme
    Show me the top 10 trending prompts in the 'product photography' theme. Include the full prompt text.✓ Скопировано
    → 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?✓ Скопировано
    → Annotated breakdown

Итог: 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

Когда использовать: You maintain multiple workflows (SDXL, Flux, inpaint) and want to switch based on task.

Предварительные требования
  • Local ComfyUI — github.com/comfyanonymous/ComfyUI; default port 8188
Поток
  1. List saved templates
    Use comfyui_workflow to list my saved workflow templates.✓ Скопировано
    → Templates by name and purpose
  2. Load and run
    Load the 'flux-portrait' template, inject my prompt, run and save the output.✓ Скопировано
    → Image saved; workflow JSON cached for reuse

Итог: Faster iteration without leaving the chat.

Комбинации

Сочетайте с другими MCP — эффект x10

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.✓ Скопировано
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.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
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

Стоимость и лимиты

Во что обходится

Квота API
Gallery browsing: unlimited. Generation: depends on backend
Токенов на вызов
Prompt ops: 500–3000. Image results: no tokens (paths only)
Деньги
Free for browse/enhance; generation billed by chosen backend
Совет
Iterate the prompt at low resolution (512px), only upscale the winner

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: Provider tokens in env vars (MEIGEN_TOKEN, OPENAI_API_KEY, etc.)
Исходящий трафик: Gallery: meigen.ai. Generation: configured provider endpoint only

Устранение неполадок

Частые ошибки и исправления

generate_image returns 'no backend configured'

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

Проверить: 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

Проверить: 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

Альтернативы

MeiGen-AI-Design-MCP в сравнении

АльтернативаКогда использоватьКомпромисс
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

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills