Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNo服务监听地址,默认 0.0.0.00.0.0.0
PORTNo服务监听端口,默认 87878787
EXA_KEYSNo首次启动时播种 Exa 供应商密钥,多个用英文逗号分隔
DATA_FILENo供应商配置、供应商密钥密文、API Key 哈希的存储文件,默认 <home>/store.json
SERPER_KEYSNo首次启动时播种 Serper 供应商密钥,多个用英文逗号分隔
SEARCHHUB_HOMENo根目录,默认 ~/.search-hub~/.search-hub
SEARCHHUB_SECRETNo供应商密钥 AES-256-GCM 加密落盘;留空则明文存储并告警
SEARCHHUB_LOG_DIRNo日志目录,默认 <home>/log
SEARCHHUB_API_TOKENNo主 API Key(可选,应急 / CI)
SEARCHHUB_LOG_STDOUTNo是否同时输出到控制台,默认 truetrue
SEARCHHUB_ADMIN_TOKENNo主管理令牌(可选,脚本免登录)
SEARCHHUB_SETTINGS_FILENo系统设置文件,默认 <home>/settings.json
SEARCHHUB_ADMIN_PASSWORDNo管理后台登录密码,留空则随机生成并打印在启动日志
SEARCHHUB_SESSION_TTL_MSNo登录会话有效期,默认 8 小时28800000
SEARCHHUB_LOG_RETENTION_DAYSNo日志保留天数,默认 14;设为 0 永久保留14

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