Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WEAPP_CLINoPath to the WeChat DevTools cli executable./Applications/wechatwebdevtools.app/Contents/MacOS/cli
WEAPP_PROJECTYes**Required.** Absolute path to the root directory of the WeChat Mini Program project.
WEAPP_WS_PORTNoWebSocket auto-port (usually does not need to be changed).19222
WEAPP_HTTP_PORTNoWeChat HTTP API port. Leave empty to auto-detect.
WEAPP_MAX_RETRIESNoMaximum number of reconnect attempts (exponential backoff: 1s, 2s, 4s...).3
WEAPP_SEND_TIMEOUTNoTimeout for a single RPC call in seconds.15.0
WEAPP_AUTO_START_CLINoWhether to automatically start `cli auto` when the connection fails.true
WEAPP_CONNECT_TIMEOUTNoWebSocket handshake timeout in seconds.2.0
WEAPP_LOG_BUFFER_SIZENoMaximum number of buffered console log entries.1000

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