MCP directory
ZM

Zigbee2Mqtt Mcp

by github.com/alexpfau · v0.7.0 · updated Aug 7, 2026

Administer a Zigbee2MQTT estate: health, mesh diagnostics, OTA, pairing, device management.

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • Z2M_MQTT_URLrequiredsecret

    MQTT broker URL used by Zigbee2MQTT, e.g. mqtt://192.168.1.10:1883. Supports mqtt://, mqtts://, ws:// and wss://. This is the broker, not the Zigbee2MQTT frontend port.

  • Z2M_MQTT_USERNAME

    MQTT broker username, if the broker requires authentication.

  • Z2M_MQTT_PASSWORDsecret

    MQTT broker password, if the broker requires authentication.

  • Z2M_BASE_TOPIC

    Zigbee2MQTT base topic. Must match mqtt.base_topic in configuration.yaml. Defaults to zigbee2mqtt.

  • Z2M_WRITE_MODE

    Tool exposure tier: off (read-only), safe (default; adds non-destructive writes such as pairing, options, rename and binding) or full (adds device removal, OTA flashing, Touchlink and bridge restart).

More MCP servers