Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ZAI_DEBUGNo设为 1 写调试日志到 /tmp/zai_debug.log0
Z_AI_MODENo兼容原版,可设为 ZAI / ZHIPU 选择官方平台
Z_AI_API_KEYYes接口 / 平台 API Key
Z_AI_TIMEOUTNo请求超时(ms)300000
PLATFORM_MODENo同 Z_AI_MODE
Z_AI_BASE_URLNo接口地址,会自动补斜杠。例如 http://your-openai-host/v1官方域名
Z_AI_RETRY_COUNTNo失败重试次数1
Z_AI_VISION_MODELNo视觉模型名glm-4.6v
Z_AI_VISION_MODEL_TOP_PNotop_p0.6
Z_AI_VISION_MODEL_MAX_TOKENSNo最大输出 token32768
Z_AI_VISION_MODEL_TEMPERATURENo温度0.8

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/peamed/zai-mcp-plus'

If you have feedback or need assistance with the MCP directory API, please join our Discord server