Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CROWDWORK_HOSTNoHTTP 监听地址127.0.0.1
CROWDWORK_PORTNoHTTP 监听端口8000
CROWDWORK_TOKENNo可选访问令牌;设置后 HTTP 模式下 /mcp 将要求 Authorization: Bearer 令牌 或 ?token=令牌;发现端点保持公开空(不启用)
CROWDWORK_NOTIFYNo是否尝试桌面通知(notify-send)1
CROWDWORK_MAIL_TONo目录外需求接收邮箱(为空时读本地 data/mail_settings.json)空
CROWDWORK_PROFILENo档案文件路径(默认:与 server.py 同目录的 profile.json)profile.json
CROWDWORK_DATA_DIRNo邀请数据目录(默认:<脚本目录>/data)<脚本目录>/data
CROWDWORK_SMTP_HOSTNoSMTP 服务器(QQ 邮箱)smtp.qq.com
CROWDWORK_SMTP_PORTNoSMTP 端口465
CROWDWORK_SMTP_USERNo发件邮箱(为空时读 data/mail_settings.json)空
CROWDWORK_PUBLIC_URLNo对外公网地址(写进发现卡片;隧道/域名切换时改这里)空(用 http://host:port)
CROWDWORK_ALLOWED_HOSTSNo允许的 Host 白名单(逗号分隔,防 DNS 重绑定误伤)空(仅本机)
CROWDWORK_SMTP_AUTH_CODENo邮箱 SMTP 授权码(为空时读本地配置 data/mail_settings.json,不会外泄)空

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