Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYNo回退的中转站 key。
OPENAI_BASE_URLNo回退的中转站地址。
MCP_TOOL_TIMEOUTNoClaude Code 中 MCP 工具超时,例如 600000。
FORESTQ_CORPUS_DIRNo本地参考提示词库目录。
NODE_USE_ENV_PROXYNoNode 24+ 设为 1 以使用 HTTPS_PROXY。
FORESTQ_IMAGEGEN_MODENoauto / images / chat。
FORESTQ_IMAGEGEN_MODELNo默认 gpt-image-1。
FORESTQ_IMAGEGEN_CONFIGNo配置文件路径。
FORESTQ_IMAGEGEN_API_KEYNo中转站 key。回退 OPENAI_API_KEY。
FORESTQ_IMAGEGEN_QUALITYNo如 high(gpt-image)、hd(dall-e-3)。
FORESTQ_IMAGEGEN_RETRIESNo429/5xx/网络错误重试次数,默认 2。
FORESTQ_IMAGEGEN_TIMEOUTNo单次请求超时,默认 300。
FORESTQ_IMAGEGEN_BASE_URLNo中转站地址,只写域名会自动补 /v1;误贴完整端点也会被裁掉。回退 OPENAI_BASE_URL。
FORESTQ_IMAGEGEN_EDIT_FIELDNoedits 接口的图片字段名,默认单图 image、多图 image[];个别中转站要求统一用 image。
FORESTQ_IMAGEGEN_EXTRA_BODYNoJSON,合并进请求体,用于中转站特有参数,如 {"seed":7}。
FORESTQ_IMAGEGEN_EXACT_PIXELSNoexact 策略的目标总像素,默认 1572864(≈1024×1536)。
FORESTQ_IMAGEGEN_SIZE_STRATEGYNo见下文「比例与尺寸」。

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