MeiGen AI Image Generation MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| COMFYUI_URL | No | Local ComfyUI server URL | |
| OPENAI_API_KEY | No | OpenAI-compatible API key (optional alternative provider) | |
| OPENAI_BASE_URL | No | Custom base URL for OpenAI-compatible provider | |
| MEIGEN_API_TOKEN | No | MeiGen 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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 ( |
| 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 |
| 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 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
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.
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.
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.
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.