GitHub Repository
View source code, report issues, and contribute.
What is MCP?
Model Context Protocol (MCP) is an open standard that allows AI assistants to use external tools. When you install MeiGen as an MCP server, your AI assistant gains the ability to generate images, search a curated prompt gallery, and enhance prompts — all through natural language.Providers
MeiGen supports three image generation backends. You can configure one or more — the plugin automatically selects the best available provider, or you can specify one explicitly.MeiGen Cloud
Hosted multi-model API. Access Nanobanana, Seedream, Midjourney V7/Niji 7, Seedance, and more. No GPU required — just an API key.
ComfyUI
Local GPU generation. Run any Stable Diffusion, SDXL, or Flux model on your own hardware. Full control over workflows and parameters.
Bring Your Own API
Any OpenAI-compatible API. Connect Together AI, Fireworks AI, DeepInfra, SiliconFlow, OpenAI, or your own endpoint.
| Provider | Type | Cost | Best For |
|---|---|---|---|
| MeiGen Cloud | Hosted API | Credits (pricing) | Multi-model access, zero setup |
| ComfyUI | Local GPU | Free (your hardware) | Full control, custom workflows, privacy |
| Bring Your Own API | OpenAI-compatible | Varies by service | Existing API keys, any provider |
Tools
| Tool | Description | Requires Provider? |
|---|---|---|
| generate_image | Generate images using any configured provider | Yes |
| enhance_prompt | Transform a brief idea into a detailed, professional prompt | No |
| search_gallery | Search 1,500+ curated AI art prompts from the community | No |
| get_inspiration | Get the full prompt and images for any gallery entry | No |
| list_models | List available models across all configured providers | No |
| manage_preferences | Save default style, aspect ratio, and favorite prompts | No |
| comfyui_workflow | Import, view, modify, and delete ComfyUI workflow templates | No |
Supported Platforms
Claude Code
Install as a plugin from the marketplace — includes slash commands, smart agents, and automation hooks.
OpenClaw
Install as a plugin from ClawHub — includes skills, commands, and MCP server.
Next Steps
Setup Guide
Install the plugin and configure your preferred provider.
ComfyUI Guide
Set up local ComfyUI generation with custom workflows.
REST API
Prefer HTTP? Integrate via REST without MCP setup.