Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TOP_PNo核采样阈值0.95
LUMA_DEBUGNo1/true 时等同开启 INCLUDE_META关闭
MAX_TOKENSNo最大生成 token 数(部分模型有硬上限,见 README 说明)8192
MODEL_NAMENo模型名称覆盖自动选择
MULTI_CROPNo大图多裁剪,设为 false 关闭true
CUSTOM_PATHNocustom provider API path/chat/completions
TEMPERATURENo采样温度0.7
INCLUDE_METANo为 true 时在工具结果末尾附加预处理/API 耗时等 metafalse
MCP_HTTP_HOSTNoHTTP 模式监听地址(Docker 内需为 0.0.0.0)0.0.0.0
MCP_HTTP_PORTNoHTTP 模式监听端口3000
MCP_TRANSPORTNo传输方式:stdio(默认)或 http(Streamable HTTP)stdio
ZHIPU_API_KEYNoZhipu API Key (required for zhipu provider)
CUSTOM_API_KEYNoCustom provider API Key (required for custom provider)
MCP_HTTP_TOKENNoHTTP 模式 Bearer token;局域网共享务必设置
MODEL_PROVIDERNo模型提供商:zhipu、siliconflow、qwen、volcengine、hunyuan、customzhipu
CUSTOM_BASE_URLNoOpenAI-compatible API base URL (required for custom provider)
ENABLE_THINKINGNo思考模式,设为 false 关闭true
HUNYUAN_API_KEYNoHunyuan API Key (required for hunyuan provider)
CUSTOM_MODEL_NAMENoModel name (required for custom provider)
CUSTOM_TIMEOUT_MSNocustom provider timeout in milliseconds60000
DASHSCOPE_API_KEYNoDashScope API Key (required for qwen provider)
BASE_VISION_PROMPTNo自定义基础视觉提示词(设为空字符串可关闭)内置默认值
CUSTOM_AUTH_HEADERNocustom provider auth header: bearer / x-api-key / custombearer
VOLCENGINE_API_KEYNoVolcengine API Key (required for volcengine provider)
SILICONFLOW_API_KEYNoSiliconFlow API Key (required for siliconflow provider)
CUSTOM_THINKING_MODENocustom provider thinking mode: disabled / openai / qwen_extra_bodydisabled
MULTI_CROP_MAX_TILESNo多裁剪最大图块数(含原图,1–16)5
CUSTOM_AUTH_HEADER_VALUENocustom provider header template ({{key}} replaced with 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