Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoDebug mode (true/false).false
DATA_DIRNoData storage directory../data
SERVER_HOSTNoServer listen address.0.0.0.0
SERVER_PORTNoServer port.8000
HTTP_TIMEOUTNoHTTP request timeout in seconds.30
LANHU_COOKIENoYour Lanhu Cookie. Required when the server uses a shared Lanhu account; can be omitted if every client supplies its own X-Lanhu-Cookie header.
X-Lanhu-NameNoOptional display name for message-board attribution and mentions; ASCII only. Falls back to the URL name parameter, then LANHU_USER_NAME.
X-Lanhu-RoleNoOptional role for message-board attribution and mentions; ASCII only. Falls back to the URL role parameter, then LANHU_USER_ROLE.
VIEWPORT_WIDTHNoBrowser viewport width.1920
X-Lanhu-CookieNoPer-request Lanhu Cookie supplied by each client. Required for multi-account use when LANHU_COOKIE is not configured on the server.
LANHU_USER_NAMENoOptional user name for stdio usage and message-board attribution/mentions.
LANHU_USER_ROLENoOptional user role for stdio usage and message-board attribution/mentions.
VIEWPORT_HEIGHTNoBrowser viewport height.1080
FEISHU_WEBHOOK_URLNoOptional Feishu bot webhook URL for notifications.
X-Lanhu-Dds-CookieNoOptional separate Cookie for the design domain dds.lanhuapp.com; falls back to X-Lanhu-Cookie if omitted.
LANHU_DISABLE_SYSTEM_PROXYNoSet to 1 to clear inherited proxy settings and set NO_PROXY=* for stdio, e.g. when an IDE injects an unusable SOCKS proxy.

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