Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IMG_MODEL_PRONoOverride model ID for pro model
GEMINI_API_KEYNoGoogle Gemini API key for image generation
IMG_COST_PRO_1KNoOverride cost for pro 1K
IMG_COST_PRO_2KNoOverride cost for pro 2K
IMG_COST_PRO_4KNoOverride cost for pro 4K
IMG_MODEL_FLASHNoOverride model ID for flash model
IMG_ADMIN_EMAILSNoComma-separated list of admin email addresses (see all users in dashboard)
IMG_AUTH_DISABLEDNoSet to '1' to disable authentication (for local development)
IMG_COST_FLASH_1KNoOverride cost for flash 1K
IMG_COST_FLASH_2KNoOverride cost for flash 2K
IMG_COST_FLASH_4KNoOverride cost for flash 4K
IMG_ALLOWED_EMAILSNoComma-separated list of allowed email addresses (required for auth)
IMG_JWT_SIGNING_KEYNoJWT signing key for session tokens (recommended for stable tokens across redeploys)
GOOGLE_OAUTH_CLIENT_IDNoGoogle OAuth client ID (required unless auth disabled)
GOOGLE_OAUTH_CLIENT_SECRETNoGoogle OAuth client secret (required unless auth disabled)

Capabilities

Server capabilities have not been inspected yet.

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/FloLey/image-mcp'

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