Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TOP_PNoNucleus sampling threshold.0.95
LUMA_DEBUGNoWhen set to 1/true, equivalent to enabling INCLUDE_META.
MAX_TOKENSNoMaximum number of generated tokens. Some models have hard limits (e.g. SiliconFlow DeepSeek-OCR is capped at 4096 internally).8192
MODEL_NAMENoModel name override; when omitted the provider's default model is used automatically.
MULTI_CROPNoMulti-crop for large images; set to false to disable.true
CUSTOM_PATHNoAPI path for the custom provider./chat/completions
TEMPERATURENoSampling temperature.0.7
INCLUDE_METANoWhen true, appends preprocessing/API timing meta (luma_meta) to the tool result.false
MCP_HTTP_HOSTNoHTTP mode listening address (must be 0.0.0.0 inside Docker).0.0.0.0
MCP_HTTP_PORTNoHTTP mode listening port.3000
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 (custom provider).
MCP_HTTP_TOKENNoBearer token for HTTP mode (no auth when empty). Strongly recommended when sharing over a LAN.
MODEL_PROVIDERNoModel provider: zhipu, siliconflow, qwen, volcengine, hunyuan or custom.zhipu
CUSTOM_BASE_URLNoOpenAI-compatible API base URL for the custom provider, e.g. https://your-endpoint.com/v1.
ENABLE_THINKINGNoThinking mode; set to false to disable.true
HUNYUAN_API_KEYNoAPI key for the Hunyuan provider (default model hunyuan-t1-vision-20250916).
CUSTOM_MODEL_NAMENoModel name for the custom provider.
CUSTOM_TIMEOUT_MSNoRequest timeout in milliseconds for the custom provider.60000
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). Defaults to the built-in prompt.
CUSTOM_AUTH_HEADERNoAuthentication header style for the custom provider: 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_MODENoThinking mode for the custom provider: disabled / openai / qwen_extra_body.disabled
MULTI_CROP_MAX_TILESNoMaximum number of crop tiles (including the original image, range 1-16).5
CUSTOM_AUTH_HEADER_VALUENoCustom header template for the custom provider, e.g. "X-API-Key: {{key}}"; {{key}} is replaced with the API 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