Skip to main content
Glama
jau123

MeiGen AI Image Generation MCP

by jau123

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COMFYUI_URLNoLocal ComfyUI server URL
OPENAI_API_KEYNoOpenAI-compatible API key (optional alternative provider)
OPENAI_BASE_URLNoCustom base URL for OpenAI-compatible provider
MEIGEN_API_TOKENNoMeiGen platform API token (optional, starts with meigen_sk_)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
enhance_promptA

Transform a simple idea into a professional image generation prompt. Use when the user provides a brief description (e.g., "a cat in a garden") and needs a detailed, high-quality prompt. Combine with gallery inspiration for best results. Free, no API key needed.

search_galleryA

Search AI image prompts with semantic understanding — finds visually and conceptually similar results, not just keyword matches. Results include image URLs — render them as markdown images () so users can visually browse and pick styles. Use when users need inspiration, want to explore styles, or say "generate an image" without a specific idea.

list_modelsA

List available AI image generation models and their capabilities. For up-to-date pricing, see https://www.meigen.ai/model-comparison.

get_inspirationA

Get the full prompt and all image URLs for a gallery entry. Show the images to the user as visual examples. The prompt can be used directly with generate_image(), and image URLs can be passed as referenceImages for style transfer.

manage_preferencesA

Read or update user preferences: default style, aspect ratio, model, style notes, and favorite prompts. Call with action "get" at conversation start to load preferences.

comfyui_workflowA

Manage ComfyUI workflow templates: list, view parameters, import from file, modify settings, or delete.

generate_imageA

Generate an image using AI. Supports MeiGen platform, local ComfyUI, or OpenAI-compatible APIs. Tip: get prompts from get_inspiration() or enhance_prompt(), and use gallery image URLs as referenceImages for style guidance. For Midjourney V8.1, an optional style reference can be passed by appending --sref <code> at the end of the prompt — only when the user provides a Midjourney style code (numeric or text). Do NOT pass URLs or local paths via --sref; for any image-based reference, use the referenceImages parameter instead.

generate_videoA

Generate a video using AI via MeiGen platform. Supports text-to-video, image-to-video (first/last frame), and reference-video continuation (Seedance 2.0 only — pass referenceVideo URL + referenceVideoDuration together, and prompt must explicitly say "extend / continue"). Available models include Seedance 2.0 (mini/fast/pro tiers, mini is the cheapest default, 4-15s), Happyhorse 1.0 (cost-effective, 3-15s), Veo 3.1 (fast/pro tiers, 4/6/8s, native audio), and Grok Video 1.5 (grok-video, xAI — IMAGE-TO-VIDEO ONLY, firstFrame required, native audio, 4-15s, 480p/720p). Pricing varies — seedance/happyhorse/grok are per-second, veo is per-generation by tier × duration. See https://www.meigen.ai/model-comparison for the current schedule. With a reference video (seedance only), billable seconds = max(reference_duration + duration, min_billable[duration]); total often higher than direct generation. Generation typically takes 1–5 minutes (veo at 4k can take up to ~8 min).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 8 tools

Disambiguation4/5

Most tools have distinct purposes (prompt enhancement, gallery search, model listing, generation). Some ambiguity exists between search_gallery and get_inspiration — both relate to gallery content, but search_gallery is for browsing while get_inspiration retrieves specific details. Similarly, generate_image and generate_video are clearly separated by output type.

Naming Consistency4/5

The naming pattern is mostly verb_noun (enhance_prompt, search_gallery, list_models, get_inspiration, manage_preferences, generate_image, generate_video). However, comfyui_workflow breaks the pattern by being a noun phrase that implies a category rather than a specific action. This is a minor deviation but the rest is consistent.

Tool Count4/5

8 tools is within the ideal range and covers the core functionality of image generation, prompt enhancement, gallery exploration, and preferences. It's slightly heavy given that comfyui_workflow and manage_preferences are auxiliary, but the count is appropriate for the server's scope.

Completeness3/5

The server covers the core workflow: get inspiration, enhance prompt, generate image/video. However, there is no tool to manage generated images (e.g., list, download, delete), and no tool to manage user projects. Additionally, while manage_preferences handles preferences, it doesn't cover user account management. This creates notable gaps for a complete lifecycle.

Maintenance

ActivitySlowing
ResponsivenessWithin a week