Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GOOGLE_API_KEYNoGoogle AI API key (required for Gemini Image models)
OPENAI_API_KEYNoOpenAI API key (required for GPT Image models)
IMAGEGEN_HTTP_HOSTNoServer bind address127.0.0.1
IMAGEGEN_HTTP_PORTNoServer port3001
MCP_IMAGEGEN_DATA_DIRNoLocal directory for generated assets~/.mcp-imagegen
IMAGEGEN_DEFAULT_MODELNoModel used when none is specifiedgpt-image-1.5
IMAGEGEN_ENABLED_MODELSNoComma-separated list of enabled model IDsgpt-image-1.5,gemini-3.1-flash-image-preview
IMAGEGEN_CONCURRENCY_LIMITNoMax concurrent image generation requests2

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/CCimen/imagegen'

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