Skip to main content
Glama
kevinten-ai

Gemini Image Gen MCP Server

by kevinten-ai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GCP_REGIONNoGCP region for Vertex AI.us-central1
GEMINI_MODELNoDefault model to use. Can be overridden per request.gemini-2.0-flash-exp-image-generation
GCP_PROJECT_IDNoGCP project ID (required only for Vertex AI).
GEMINI_API_KEYNoAPI key for AI Studio or GCP API key for Vertex AI. Not required if using Application Default Credentials (ADC) with Vertex AI.
GEMINI_PROVIDERNoProvider to use: 'ai-studio' (default) or 'vertex-ai'.ai-studio
IMAGE_OUTPUT_DIRNoDirectory to save generated images../output

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageA

Generate an image from a text prompt using Google Gemini or Imagen. Provider: ai-studio. Default model: gemini-3.1-flash-image. Available models: gemini-3.1-flash-image, gemini-3-pro-image, gemini-2.5-flash-image. Tip: if you hit a 429 quota error, retry with a different model.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Model Selection GuideAvailable models, pricing, quality comparison, and selection tips
Provider Configuration GuideHow to configure AI Studio and Vertex AI providers

Latest Blog Posts

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/kevinten-ai/mcp-image-gen'

If you have feedback or need assistance with the MCP directory API, please join our Discord server