Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHTTP bind host0.0.0.0
MCP_PATHNoHTTP bind path/mcp
MCP_PORTNoHTTP bind port8080
MCP_LOG_LEVELNoLog levelINFO
MCP_TRANSPORTNo`http` (streamable HTTP) or `stdio`http
Z2M_AUTH_TOKENNoFrontend `auth_token`, appended as `?token=…`
Z2M_FRONTEND_URLNoBase URL of the Zigbee2MQTT frontend. `ws(s)://…/api` is derived from ithttp://localhost:8080
Z2M_TLS_INSECURENoSkip TLS verification for `wss://` (self-signed)false
MCP_ALLOWED_HOSTSNoHost allowlist (used when protection is on)*.strant.casa,localhost,127.0.0.1
MCP_HOST_PROTECTIONNoDNS-rebind Host/Origin protection: `false`, `true`, or `auto`false
Z2M_CONNECT_TIMEOUTNoSeconds to wait for the initial snapshot at startup20
Z2M_REQUEST_TIMEOUTNoSeconds to wait for a `bridge/response`15
Z2M_ALLOW_DESTRUCTIVENoEnable the protected management toolsfalse

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/loryanstrant/Zigbee2MQTT-MCP'

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