Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
XHS_PROXYNoProxy server URL.
XHS_MCP_HOSTNoHost address for HTTP server.127.0.0.1
XHS_MCP_PATHNoPath for MCP endpoint./mcp
XHS_MCP_PORTNoPort for HTTP server.8765
XHS_TIMEZONENoTimezone for timestamps.Asia/Shanghai
XHS_LOG_LEVELNoLogging level.INFO
XHS_BROWSER_PATHNoPath to custom browser executable.
XHS_MCP_TRANSPORTNoTransport type: stdio or streamable-http.stdio
XHS_MCP_AUTH_TOKENNoBearer token for authentication.
XHS_AUTH_STATE_PATHNoPath to save/load authentication state.
XHS_BROWSER_CHANNELNoBrowser channel (chrome or chromium).chrome
XHS_BROWSER_HEADLESSNoRun browser in headless mode.false
XHS_MCP_ALLOWED_HOSTSNoComma-separated allowed Host headers.
XHS_MCP_ALLOWED_ORIGINSNoComma-separated allowed Origin headers.
XHS_LOGIN_TIMEOUT_SECONDSNoTimeout for login process.240
XHS_DETAIL_TIMEOUT_SECONDSNoTimeout for detail fetch.60
XHS_MCP_ALLOW_NON_LOOPBACKNoAllow binding to non-loopback address.false
XHS_SEARCH_TIMEOUT_SECONDSNoTimeout for search operations.60
XHS_STATUS_TIMEOUT_SECONDSNoTimeout for status check.30
XHS_COMMENT_TIMEOUT_SECONDSNoTimeout for comment loading.300
XHS_MAX_CONCURRENT_OPERATIONSNoMaximum concurrent browser operations.2

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/KZI-22/xhs_mcp'

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