MeiGen AI Image
๐ โ๏ธ ๐ - AI image generation & editing MCP server with 1,500+ curated promp
What is MeiGen AI Image?
MeiGen AI Image is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ๐ โ๏ธ ๐ - ai image generation & editing mcp server with 1,500+ curated promp
๐ โ๏ธ ๐ - AI image generation & editing MCP server with 1,500+ curated promp
This server falls under the Data Science & ML category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP protocol support
Use Cases
Maintainer
Works with
Installation
NPM
npx -y meigenManual Installation
npx -y meigenConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MeiGen AI Image
MeiGen AI Image Generation MCP is a comprehensive AI image and video generation server that connects Claude and other AI coding tools to multiple generation backends including MeiGen Cloud (GPT Image 2.0, Midjourney V8.1, Nanobanana 2, Flux 2 Klein), locally-running ComfyUI, and any OpenAI-compatible provider. It ships with a library of over 1,500 curated prompts searchable through the MCP tool interface, a prompt-enhancement tool, and multi-task orchestration so you can queue several generation jobs in parallel. Developers and designers use it to generate production-ready images directly from their IDE or chat client without switching context.
Prerequisites
- Node.js 18+ installed (required to run npx)
- A MeiGen API token from meigen.ai (Settings โ API Keys) for cloud generation
- Optionally: an OpenAI-compatible API key (Together AI, Fireworks, etc.) and/or a local ComfyUI instance at http://localhost:8188
- An MCP-capable client such as Claude Desktop, Claude Code, Cursor, VS Code, or Windsurf
Obtain your MeiGen API token
Sign up at meigen.ai, navigate to Settings โ API Keys, and generate a token. The token starts with meigen_sk_. Keep it handy for the configuration step.
Set required environment variables
Export your API credentials. At minimum you need MEIGEN_API_TOKEN for cloud generation. Add OPENAI_API_KEY and OPENAI_BASE_URL if you want to use an OpenAI-compatible provider, and COMFYUI_URL if you run ComfyUI locally.
export MEIGEN_API_TOKEN="meigen_sk_..."
export OPENAI_API_KEY="sk-..." # optional
export OPENAI_BASE_URL="https://api.together.xyz/v1" # optional
export COMFYUI_URL="http://localhost:8188" # optional
export MEIGEN_OUTPUT_DIR="~/Pictures/meigen"Add the server to your MCP client config
Edit your claude_desktop_config.json (or equivalent config file for Cursor/Windsurf) to register the meigen MCP server. The server is invoked via npx with no additional build step required.
{
"mcpServers": {
"meigen": {
"command": "npx",
"args": ["-y", "meigen"],
"env": {
"MEIGEN_API_TOKEN": "meigen_sk_...",
"MEIGEN_OUTPUT_DIR": "~/Pictures/meigen"
}
}
}
}Restart your MCP client
Quit and reopen Claude Desktop (or reload the MCP extension in your IDE) so it picks up the new server entry. The meigen tools will appear in the tool list once the server starts successfully.
Browse the prompt gallery and generate your first image
Use the search_gallery tool to find a curated prompt, then pass it to generate_image. You can also use enhance_prompt to expand a short idea into a detailed, model-ready prompt before generating.
# Standalone CLI usage (no MCP client needed)
npx meigen gen --prompt "a calico cat in a sunlit kitchen"
npx meigen gen -p "tech logo" -m midjourney-v8.1 -r 1:1MeiGen AI Image Examples
Client configuration
Claude Desktop config entry for the MeiGen AI Image Generation MCP server using cloud generation.
{
"mcpServers": {
"meigen": {
"command": "npx",
"args": ["-y", "meigen"],
"env": {
"MEIGEN_API_TOKEN": "meigen_sk_your_token_here",
"MEIGEN_OUTPUT_DIR": "~/Pictures/meigen",
"MEIGEN_VIDEO_OUTPUT_DIR": "~/Movies/meigen"
}
}
}
}Prompts to try
Example prompts that exercise the gallery search, prompt enhancement, model listing, and generation tools.
- "Search the MeiGen prompt gallery for 'cyberpunk cityscape' prompts and show me the top 5 results"
- "Enhance this prompt for Midjourney: 'a dragon in a forest'"
- "Generate an image using the Nanobanana 2 model with the prompt: a serene Japanese garden at dusk"
- "List all available image generation models"
- "Generate a 1:1 square logo image with the prompt: minimalist tech startup logo, flat design"Troubleshooting MeiGen AI Image
generate_image returns an authentication error
Verify that MEIGEN_API_TOKEN is set correctly in the env block of your MCP config and that the token starts with meigen_sk_. Tokens are per-account; regenerate one at meigen.ai โ Settings โ API Keys if needed.
ComfyUI workflow tool fails or times out
Ensure your local ComfyUI instance is running and reachable at the URL set in COMFYUI_URL (default http://localhost:8188). Check that the ComfyUI API is enabled and that no firewall is blocking the port.
npx command not found or server fails to start
Make sure Node.js 18+ is installed and npx is on your PATH. Run 'node --version' to confirm. If behind a corporate proxy, set HTTP_PROXY and HTTPS_PROXY before launching your MCP client.
Frequently Asked Questions about MeiGen AI Image
What is MeiGen AI Image?
MeiGen AI Image is a Model Context Protocol (MCP) server that ๐ โ๏ธ ๐ - ai image generation & editing mcp server with 1,500+ curated promp It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MeiGen AI Image?
Install via npm with the command: npx -y meigen. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with MeiGen AI Image?
MeiGen AI Image works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MeiGen AI Image free to use?
Yes, MeiGen AI Image is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
MeiGen AI Image Alternatives โ Similar Data Science & ML Servers
Looking for alternatives to MeiGen AI Image? Here are other popular data science & ml servers you can use with Claude, Cursor, and VS Code.
Ultrarag
โ 5.6kA Low-Code MCP Framework for Building Complex and Innovative RAG Pipelines
RocketRide
โ 3.1k๐ ๐ - MCP server that exposes RocketRide AI pipelines as t
Aix Db
โ 2.1kAix-DB ๅบไบ LangChain/LangGraph ๆกๆถ๏ผ็ปๅ MCP Skills ๅคๆบ่ฝไฝๅไฝๆถๆ๏ผๅฎ็ฐ่ช็ถ่ฏญ่จๅฐๆฐๆฎๆดๅฏ็็ซฏๅฐ็ซฏ่ฝฌๆขใ
NeMo Data Designer
โ 1.9k๐จ NeMo Data Designer: Generate high-quality synthetic data from scratch or from seed data.
PaperBanana
โ 1.7kOpen source implementation and extension of Google Researchโs PaperBanana for automated academic figures, diagrams, and research visuals, expanded to new domains like slide generation.
MiniMax
โ 1.5kBridges MiniMax AI capabilities to the Model Context Protocol, enabling AI agents to perform image understanding, text-to-image generation, and speech synthesis. It provides a standardized interface for accessing MiniMax's core tools via JSON-RPC.
Browse More Data Science & ML MCP Servers
Explore all data science & ml servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MeiGen AI Image in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MeiGen AI Image?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.