Zigbee2mqtt MCP
io.github.alexpfau/zigbee2mqtt-mcp
v0.7.0Updated Aug 7, 2026stdio · npm
Administer a Zigbee2MQTT estate: health, mesh diagnostics, OTA, pairing, device management.
Install
Needs 1 secret. Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add zigbee2mqtt-mcp -e 'Z2M_MQTT_URL=<your-z2m-mqtt-url>' -- npx -y [email protected]Configuration
5 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
Z2M_MQTT_URLEnv var· required· secretMQTT 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_PASSWORDEnv var· optional· secretMQTT broker password, if the broker requires authentication.Z2M_MQTT_USERNAMEEnv var· optionalMQTT broker username, if the broker requires authentication.Z2M_BASE_TOPICEnv var· optionalZigbee2MQTT base topic. Must match mqtt.base_topic in configuration.yaml. Defaults to zigbee2mqtt.Z2M_WRITE_MODEEnv var· optionalTool 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).
Links
Listed in the official MCP Registry since Aug 7, 2026. Mirrored daily; last checked Nov 26, 2026.