Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TOP_PNoNucleus sampling threshold0.95
LUMA_DEBUGNo`1`/`true` is equivalent to enabling `INCLUDE_META`关闭
MAX_TOKENSNoMaximum number of generated tokens. For SiliconFlow (DeepSeek-OCR) this is hard-capped at 4096 internally8192
MODEL_NAMENoModel name override (auto-selected per provider by default). E.g. `doubao-seed-1-6-vision-250815` (Volcengine) or `hy-vision-2.0-instruct` (Hunyuan, Tencent Cloud TokenHub)自动选择
MULTI_CROPNoMulti-crop for large images; set to `false` to disabletrue
CUSTOM_PATHNoCustom provider API path/chat/completions
TEMPERATURENoSampling temperature0.7
INCLUDE_METANoWhen `true`, appends preprocessing/API timing meta to the end of the tool resultfalse
MCP_HTTP_HOSTNoHTTP mode listen address (must be `0.0.0.0` inside Docker)0.0.0.0
MCP_HTTP_PORTNoHTTP mode listen port3000
MCP_TRANSPORTNoTransport mode: `stdio` (default) or `http` (Streamable HTTP)stdio
ZHIPU_API_KEYNoAPI key for the Zhipu provider (default model `glm-4.6v`)
CUSTOM_API_KEYNoAPI key for any OpenAI-compatible endpoint (used with the `custom` provider)
MCP_HTTP_TOKENNoBearer token for HTTP mode (no auth when empty); strongly recommended if sharing on a LAN, otherwise anyone who can reach the port can call `image_understand` and consume your model API quota
MODEL_PROVIDERNoModel provider: `zhipu`, `siliconflow`, `qwen`, `volcengine`, `hunyuan`, or `custom`zhipu
CUSTOM_BASE_URLNoOpenAI-compatible API base URL (custom provider)https://api.minimaxi.com/v1
ENABLE_THINKINGNoThinking mode; set to `false` to disabletrue
HUNYUAN_API_KEYNoAPI key for the Hunyuan provider (default model `hunyuan-t1-vision-20250916`)
CUSTOM_MODEL_NAMENoModel name (custom provider)MiniMax-M3
CUSTOM_TIMEOUT_MSNoCustom provider timeout in milliseconds60000
DASHSCOPE_API_KEYNoAPI key for the Qwen provider (default model `qwen3-vl-flash`)
BASE_VISION_PROMPTNoCustom base vision prompt (set to an empty string to disable)内置默认值
CUSTOM_AUTH_HEADERNoCustom provider auth header style: `bearer` / `x-api-key` / `custom`bearer
VOLCENGINE_API_KEYNoAPI key for the Volcengine provider (default model `doubao-seed-1-6-flash-250828`)
SILICONFLOW_API_KEYNoAPI key for the SiliconFlow provider (default model `deepseek-ai/DeepSeek-OCR`)
CUSTOM_THINKING_MODENoCustom provider thinking mode: `disabled` / `openai` / `qwen_extra_body`disabled
MULTI_CROP_MAX_TILESNoMaximum number of tiles for multi-crop (including the original image, 1–16)5
CUSTOM_AUTH_HEADER_VALUENoCustom Header template (`{{key}}` is replaced with the API key)X-API-Key: {{key}}

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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