Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OUTPUT_DIRNoDefault directory for saved images (supports ~ and env vars)
GEMINI_API_KEYNoGoogle Gemini API key for image generation
GOOGLE_API_KEYNoAlias for GEMINI_API_KEY
OPENAI_API_KEYNoOpenAI API key for image generation
DEFAULT_PROVIDERNoDefault provider for image generationauto
IMAGEN_MCP_LOG_DIRNoLog directory override
DEFAULT_GEMINI_SIZENoDefault size for Gemini image generation2K
DEFAULT_OPENAI_SIZENoDefault size for OpenAI image generation1024x1024
ENABLE_GOOGLE_SEARCHNoEnable Google Search grounding for real-time datafalse
IMAGEN_MCP_LOG_LEVELNoLog level (e.g. INFO, DEBUG)
IMAGEN_MCP_LOG_PROMPTSNoLog promptsfalse

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/michaeljabbour/imagen-mcp'

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