Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Server host | 0.0.0.0 |
| MCP_PATH | No | MCP endpoint path | /mcp |
| MCP_PORT | No | Server port | 3848 |
| EMBED_EXIF | No | Embed metadata in EXIF data | false |
| SAVE_METADATA | No | Save JSON metadata alongside images | true |
| DEFAULT_FORMAT | No | Default image format (webp, jpeg, png, or avif) | webp |
| DEFAULT_QUALITY | No | Default quality (1-100) | 80 |
| DEFAULT_PROVIDER | No | Default image provider (pexels, pixabay, openai, or auto) | pexels |
| MCP_PROJECT_ROOT | No | Project root directory | |
| DEFAULT_MAX_WIDTH | No | Default maximum width (1-10000) | 1920 |
| SECRET_OPENAI_API_KEY | No | Your OpenAI API key for AI image generation. Get it from https://platform.openai.com/api-keys | |
| SECRET_PEXELS_API_KEY | No | Your Pexels API key for stock image search. Get it from https://www.pexels.com/api/ | |
| SECRET_PIXABAY_API_KEY | No | Your Pixabay API key for stock image search. Get it from https://pixabay.com/api/docs/ | |
| SECRET_OPENAI_ORGANIZATION_ID | No | Your OpenAI organization ID (optional) |
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 | |