PanPan Image Generator MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PanPan Image Generator MCP ServerGenerate a fantasy landscape in 4K"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Features
Multi-model support — Gemini Pro Image Preview (1K/2K/4K) and Gemini Flash Image Preview
Image editing — Edit existing images with text instructions, supports multi-image reference
Batch generation — High-concurrency worker pool for parallel image generation
Shared context — Generate series of images with consistent style (great for slides, tutorials, card sets)
Resolution control — 1K / 2K / 4K presets or custom WxH, plus aspect ratio selection
Format conversion — Convert images to PDF or PowerPoint (PPTX)
Smart file handling — Auto-fallback output directory, customizable per-request save paths
Related MCP server: ModelsLab Text2Image MCP Server
Supported Models
Model ID | Alias | Quality |
|
| High quality, 1K |
| — | High quality, 2K |
| — | High quality, 4K |
|
| Fast |
All models are accessed through any OpenAI-compatible API endpoint that supports Gemini image generation.
Demo
Quick Start
Install
git clone https://github.com/panda920/panpan-image-generator-mcp.git
cd panpan-image-generator-mcp
npm installConfigure
Copy the example env file and fill in your API key:
cp .env.example .envEdit .env:
GEMINI_API_KEY=your_api_key_here
GEMINI_API_BASE=https://openrouter.ai/api/v1Use with Claude Code
Add to ~/.claude.json:
{
"mcpServers": {
"panpan-image-generator": {
"type": "stdio",
"command": "node",
"args": ["/path/to/panpan-image-generator-mcp/panpan-image-generator-mcp-server.js"],
"env": {
"GEMINI_API_KEY": "your_api_key",
"GEMINI_API_BASE": "https://openrouter.ai/api/v1"
}
}
}
}Tools
Image Generation
Tool | Description |
| Generate one or more images with high concurrency. Supports all 4 models, custom resolution and aspect ratio. |
| Batch generate images with shared style context for visual consistency. Ideal for slides, tutorials, card sets. |
Image Editing
Tool | Description |
| Edit images (single or batch). Supports all 4 models, multi-image reference, custom resolution and aspect ratio. |
Format Conversion
Tool | Description |
| Convert multiple images to a PDF document (one image per page, full bleed). |
| Convert multiple images to a PowerPoint presentation. |
Examples
In Claude Code, just ask naturally:
Generate a cyberpunk cityscape at night in 4K
Edit this image: change the background to blue
Batch generate 5 cat illustrations in different styles
Create a 10-slide presentation with consistent branding, then export to PPTXEnvironment Variables
Variable | Default | Description |
| — | API key (required) |
|
| OpenAI-compatible API base URL |
|
| Default Pro model |
|
| Default Flash model |
| Current working directory | Default output directory |
Requirements
Node.js >= 18.0.0
License
MIT License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceA server that provides AI-powered image generation, modification, and processing capabilities through the Model Context Protocol, leveraging Google Gemini models and other image services.Last updated18MIT
- Flicense-qualityDmaintenanceA Model Context Protocol server that enables Claude Code to generate high-quality AI images using ModelsLab API with support for multiple image generation models including Flux, Stable Diffusion, and Midjourney.Last updated
- Alicense-qualityDmaintenanceAI-powered image and video generation and processing server that supports text-to-image, image-to-image, text/image-to-video generation, image analysis, and comprehensive editing operations (crop, resize, convert, adjust) through providers like Doubao and Aliyun.Last updated6MIT
- AlicenseAqualityDmaintenanceAn MCP server that brings Google Gemini's image generation and editing capabilities to Claude Desktop, Claude Code, and Cursor. It supports 2K image creation, natural language image transformations, and session consistency to maintain styles across generations.Last updated7728MIT
Related MCP Connectors
Generate AI images, video, speech, music and presentations from Claude, ChatGPT and Cursor.
Presentations.AI MCP server — create designed slide decks from a topic, text, or document.
MCP server for NanoBanana AI image generation and editing
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/panda920/panpan-image-generator-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server