Skip to main content
Glama
MohamedCHAMI

mcp-ai-image-generator

by MohamedCHAMI

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYNoYour Google Gemini API key, used for Gemini image generation and Veo video generation.
OPENAI_API_KEYNoYour OpenAI API key, used for DALL-E image generation.

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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
configure_api_keyA

Set or update the Gemini API key for image generation. The key is stored locally and persists across sessions.

configure_google_loginA

Switch to the free, unofficial "gemini-web" auth mode that uses your logged-in consumer Gemini (gemini.google.com) session instead of an API key. Supports image generation and editing (no video). Extract the cookies from your browser DevTools (Application > Cookies > gemini.google.com). Cookies are stored locally and may need re-extraction when they expire.

configure_modelA

Set the default Gemini model for image generation and editing. Persists across sessions. Use "quality" param to set either "high" (default) or "fast" model tier. High-quality: gemini-3.1-flash-image-preview (default). Fast/cheap: gemini-2.5-flash-image (default fast).

generate_imageA

Generate a new image from a text description using Gemini AI. Returns the generated image and saves it to disk.

edit_imageB

Edit an existing image based on text instructions. Provide the file path of the image to modify.

continue_editingA

Continue editing the last generated or edited image. Automatically uses the most recent image from the session.

generate_videoA

Generate a video from a text prompt using Gemini Veo. Supports text-to-video, image-to-video (first frame), and first+last frame interpolation. Video generation takes 1-6 minutes. Available models: veo-3.1-generate-preview (latest), veo-3-generate-preview, veo-2-generate-preview.

list_video_historyA

List recently generated videos with their prompts, models, and timestamps.

get_statusA

Check the current configuration status, active model, and last image/video information.

list_historyA

List recently generated and edited images with their prompts and timestamps.

configure_openai_api_keyA

Set or update the OpenAI API key for image generation. The key is stored locally.

generate_openai_imageB

Generate a new image from a text description using OpenAI DALL-E models.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 12 tools

Disambiguation4/5

Most tools target a distinct action or provider, but pairs like generate_image/generate_openai_image and edit_image/continue_editing could be confused without reading descriptions closely. The configure_* tools are also similar in name though their purposes differ clearly.

Naming Consistency4/5

The set mostly follows an imperative verb_noun pattern in lowercase snake_case. Minor inconsistencies exist: list_history vs list_video_history is asymmetric, generate_image omits the provider while generate_openai_image includes it, and continue_editing uses a gerund instead of a noun object.

Tool Count5/5

12 tools is a well-scoped count for a media generation server covering Gemini and OpenAI image/video generation, editing, history, configuration, and status. Each tool has a reasonable purpose and the count is not bloated or too thin.

Completeness4/5

Core workflows are covered: image generation/editing, video generation, history listing, configuration, authentication, and status. Minor gaps include no explicit OpenAI image editing, no per-provider model selection beyond the Gemini default, and no retrieval of past media by ID.

Maintenance

ActivityMaintained
ResponsivenessNo issues