Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYNoYour AI Studio key. GOOGLE_API_KEY works too.
GOOGLE_API_KEYNoAlias for GEMINI_API_KEY, since Google's own tools read that one.
OPENAI_API_KEYNoYour OpenAI key. Reaches GPT Image 2 directly.
AI_GATEWAY_API_KEYNoVercel AI Gateway. Reaches everything, and is the only route to Recraft, Seedream, Grok Imagine and Arrow.
IMAGE_GEN_OUTPUT_DIRNoWhere images are written. Defaults to working directory..
IMAGE_GEN_TIMEOUT_MSNoHow long to wait. Default: 180000.180000
IMAGE_GEN_MAX_PER_CALLNoCeiling on one request. Default: 4.4
IMAGE_GEN_MAX_PER_HOURNoImages per rolling hour. 0 removes the cap. Default: 60.60
IMAGE_GEN_PREFER_GATEWAYNoRoute through the gateway even when a direct key exists. Default: false.false
IMAGE_GEN_DEFAULT_PROVIDERNoWhich vendor runs when the assistant names none. Default: openai.openai

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/fledgeling-co/media-gen-pro-mcp'

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