Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OUTPUT_DIR | No | Default directory for saved images (supports ~ and env vars) | |
| GEMINI_API_KEY | No | Google Gemini API key for image generation | |
| GOOGLE_API_KEY | No | Alias for GEMINI_API_KEY | |
| OPENAI_API_KEY | No | OpenAI API key for image generation | |
| DEFAULT_PROVIDER | No | Default provider for image generation | auto |
| IMAGEN_MCP_LOG_DIR | No | Log directory override | |
| DEFAULT_GEMINI_SIZE | No | Default size for Gemini image generation | 2K |
| DEFAULT_OPENAI_SIZE | No | Default size for OpenAI image generation | 1024x1024 |
| ENABLE_GOOGLE_SEARCH | No | Enable Google Search grounding for real-time data | false |
| IMAGEN_MCP_LOG_LEVEL | No | Log level (e.g. INFO, DEBUG) | |
| IMAGEN_MCP_LOG_PROMPTS | No | Log prompts | false |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |