mcpGetImage
Generates candy images using OpenAI's GPT Image models, with background removal and prompt refinement for product photography.
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., "@mcpGetImageGenerate a product image of strawberry lollipops on white background"
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.
mcpGetImage
Servidor MCP en Python para pedir imágenes de dulces, refinarlas como fotografía de producto sobre fondo blanco y quitarles el fondo con rembg/U2-Net, inspirado en el flujo de PACA.
El flujo usa Image API porque la guía de OpenAI la recomienda cuando se necesita crear una imagen desde un solo prompt. El modelo por defecto es gpt-image-2, configurable con OPENAI_IMAGE_MODEL.
Requisitos
Python 3.10+
OPENAI_API_KEYLa primera vez,
rembgdescarga el modelo U2-Net localmente.
Related MCP server: nano-banana-claude
Instalación
python3.12 -m venv .venv
source .venv/bin/activate
pip install -e .
cp .env.example .envEdita .env y agrega tu OPENAI_API_KEY.
Ejecutar como servidor MCP
mcp-get-imageEse comando es para clientes MCP y usa stdio. Si lo corres directo en la terminal, se queda esperando mensajes JSON-RPC del cliente; no es un chat interactivo. Para probar manualmente usa la CLI de abajo.
Configuración típica para un cliente MCP:
{
"mcpServers": {
"mcp-get-image": {
"command": "/Users/djoker/code/mcpGetImage/.venv/bin/mcp-get-image"
}
}
}Herramientas MCP
refine_candy_prompt: convierte una petición como "necesito imágenes de dulces" en un prompt de producto más preciso.generate_candy_image: genera la imagen con OpenAI, pide fondo blanco, remueve el fondo y guarda un WebP transparente.remove_background: procesa una imagen local existente y la exporta como WebP transparente.
CLI local
Sirve para probar sin cliente MCP:
mcp-get-image-cli "gomitas enchiladas mexicanas en bolsa transparente"Mientras genera, la CLI escribe progreso en stderr:
[ 20%] Refining candy prompt for white-background product photography.
[ 40%] Calling OpenAI Images. This is usually the slowest step.
[ 60%] White-background image saved: ...
[ 80%] Removing background with rembg/U2-Net.
[100%] Transparent WebP saved: ...OpenAI no expone porcentaje interno real durante una llamada normal a images.generate, así que el 40% puede tardar. Ese mensaje significa que la imagen ya fue solicitada y estamos esperando respuesta del modelo.
Para ver el prompt sin generar imagen ni gastar API:
mcp-get-image-cli --prompt-only "gomitas enchiladas mexicanas en bolsa transparente"Para quitar fondo a una imagen local:
mcp-get-image-cli --remove-background outputs/mi_imagen.pngLos archivos se guardan por defecto en ./outputs.
Notas
El API oficial de OpenAI Images permite generar imágenes desde texto con modelos GPT Image y devuelve base64 para los modelos GPT Image. Este proyecto usa images.generate, configurable con OPENAI_IMAGE_MODEL; por defecto usa gpt-image-2.
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
- Flicense-qualityCmaintenanceAn MCP server that enables text-to-image generation and editing using OpenAI's gpt-image-1 model, supporting multiple output formats, quality settings, and background options.Last updated65
- Alicense-qualityCmaintenanceAn MCP server that provides image generation using Google's Nano Banana Gemini models, with additional tools for background removal, upscaling, and format conversion via deterministic post-processing.Last updated1MIT
- Alicense-qualityCmaintenanceAn MCP server for image generation and editing using Cloudflare Workers AI, providing OpenAI-compatible APIs and support for multiple models.Last updated16MIT
- Alicense-qualityCmaintenanceMCP server that enables background removal from images (product photos, portraits, cars, or general subjects) returning a transparent PNG.Last updatedMIT
Related MCP Connectors
MCP server for Midjourney AI image generation and editing
MCP server for OpenAI Sora AI video generation
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/raulisai/mcpGetImage'
If you have feedback or need assistance with the MCP directory API, please join our Discord server