Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNo监听地址 (default: 0.0.0.0)0.0.0.0
PORTNo监听端口 (default: 8787)8787
API_KEYNo设置后 /v1/* 需携带 X-API-Key / Bearer / ?key= (default: 未设置)
DATA_DIRNo本地数据集目录 (default: ./data)./data
CORS_ORIGINNo允许来源,逗号分隔 (default: *)*
LOG_REQUESTSNo访问日志开关 (default: true)true
DATA_BASE_URLNoGitHub / jsDelivr 数据集地址 (default: 未设置)
CITIES_CACHE_TTL_MSNo城市数据内存缓存时长 (default: 21600000)21600000
RATE_LIMIT_PER_MINUTENo每 IP 每分钟请求上限(0 = 关闭) (default: 0)0

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