Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNo自动绑定本机 Tailscale IPv4;检测不到时回退 127.0.0.1。Auto-bind the local Tailscale IPv4 address; fall back to 127.0.0.1 if not detected.auto
PORTNo监听端口。Mac 默认 8787,Windows 默认 8788。Listening port; defaults to 8787 on macOS and 8788 on Windows.
MCP_TOKENYesBearer 鉴权密钥(必填,禁止提交到 Git)。Bearer authentication token (required; do not commit to Git).
MACHINE_NAMENo机器名称标识。Mac 默认 my-mac,Windows 默认 my-win。Machine name identifier; defaults to my-mac on macOS and my-win on Windows.
ALLOWED_ROOTSNo可选目录白名单,逗号分隔;留空按当前用户权限。Optional comma-separated directory allowlist; leave empty to use current user permissions.
COMMAND_TIMEOUT_MSNo单条命令超时时间(毫秒)。Timeout for a single command in milliseconds.60000
ENABLE_DESKTOP_TOOLSNo设为 false 可关闭桌面 GUI 工具,仅保留 Shell 与文件。Set to false to disable desktop GUI tools and keep only shell and file tools.true
SCREENSHOT_MAX_WIDTHNo截屏缩放最大宽度(像素)。Maximum screenshot width in pixels.1440

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