Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
XHS_HOSTNoDefault host.127.0.0.1
XHS_PORTNoDefault port.8000
XHS_HEADLESSNoDefault headless mode.true
XHS_LOG_FILENoWhether to write log file.false
XHS_LOG_LEVELNoLog level.INFO
XHS_SERVER_NAMENoMCP server name.xhs-mcp
XHS_BROWSER_ARGSNoAdditional Chromium arguments (comma-separated).
XHS_LOGIN_TIMEOUTNoLogin timeout in seconds.300
XHS_SHARE_BROWSERNoAllow cross-process reuse of browser instance.true
XHS_USER_DATA_DIRNoBrowser profile directory (login state location).~/.xhs-mcp/profile
XHS_ENABLE_LOGGINGNoSet to 'true' to output debug logs to stderr.false
XHS_BROWSER_TIMEOUTNoBrowser default timeout in milliseconds.30000

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/mafanding/xhs-mcp'

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