Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_MODELNoOpenAI 直连时使用的模型,默认 gpt-4ogpt-4o
OPENAI_API_KEYNoOpenAI API 密钥;VISION_PROVIDER=openai 时必需 (OpenAI API key; required when VISION_PROVIDER=openai).
VISION_API_URLNo小智视觉网关地址;仅 VISION_PROVIDER=xiaozhi 时使用
LAB_ROBOT_IMAGENoDocker 镜像标签,用于升级或回退目标版本
ONVIF_CAMERA_IPNoONVIF 摄像头 IP;使用摄像头功能时必需 (IP of the ONVIF camera; required when using camera features).
VISION_PROVIDERNo视觉通道选择:xiaozhi(默认,使用小智 /vision/explain 网关)或 openai(直连 OpenAI Responses API,默认模型 gpt-4o)xiaozhi
PYTHON_VENV_PATHNoPython 虚拟环境路径,本地开发时使用(Windows 为 .venv/Scripts/python.exe,Linux 为 .venv/bin/python)
VISION_API_TOKENNo小智视觉网关认证令牌(若网关需要认证)
VISION_DEVICE_IDNo固定设备身份,避免容器重建后 MAC 地址变化影响服务端绑定
OPENTRONS_ENABLEDNo设为 false 可只运行摄像头接入而不加载 Opentrons 工具
XIAOZHI_MCP_ENDPOINTNo小智接入点,首次配置需要填写 (Xiaozhi MCP endpoint; required for first-time setup of the voice bridge).
ONVIF_CAMERA_PASSWORDNoONVIF 摄像头密码;使用摄像头功能时必需 (ONVIF camera password; required when using camera features).
ONVIF_CAMERA_USERNAMENoONVIF 摄像头用户名;使用摄像头功能时必需 (ONVIF camera username; required when using camera features).
ONVIF_CAMERA_PTZ_ENABLEDNo设为 true 时注册 PTZ 云台控制工具;默认关闭 (Set to true to register the PTZ camera-view tool; disabled by default).

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