Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.alexpfau/zigbee2mqtt-mcp

NPM · ZIGBEE2MQTT-MCP · SCANNED SEP 27

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

Available components

0 this week 94 Trust /100
Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security98
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • No install/post-install scripts declared.Pass
  • 51 of 135 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to alexpfau/zigbee2mqtt-mcp). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 50 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability71
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 3112 tokens (~163/item across 19 items; 19 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management97
  • Stability observed for 29 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage98
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 95% of tool parameters carry a description.Partial
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • All 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
  • An AI judge read all 19 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

How do I install the io.github.alexpfau/zigbee2mqtt-mcp server?

io.github.alexpfau/zigbee2mqtt-mcp runs locally as an npm package, launched with npx -y zigbee2mqtt-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

npm · zigbee2mqtt-mcp

# add to Claude Code
claude mcp add alexpfau-zigbee2mqtt-mcp -- npx -y zigbee2mqtt-mcp
// .cursor/mcp.json
{
  "mcpServers": {
    "alexpfau-zigbee2mqtt-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "zigbee2mqtt-mcp"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "alexpfau-zigbee2mqtt-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "zigbee2mqtt-mcp"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add alexpfau-zigbee2mqtt-mcp -- npx -y zigbee2mqtt-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "alexpfau-zigbee2mqtt-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "zigbee2mqtt-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add alexpfau-zigbee2mqtt-mcp --command npx --arg -y --arg zigbee2mqtt-mcp
# ~/.hermes/config.yaml
mcp_servers:
  alexpfau-zigbee2mqtt-mcp:
    command: "npx"
    args: ["-y", "zigbee2mqtt-mcp"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "alexpfau-zigbee2mqtt-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "zigbee2mqtt-mcp"
      ]
    }
  }
}
# add to Vellum
assistant mcp add alexpfau-zigbee2mqtt-mcp -t stdio -c npx -a -y zigbee2mqtt-mcp
// mcp.json
{
  "mcpServers": {
    "alexpfau-zigbee2mqtt-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "zigbee2mqtt-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 27 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

  • 25 Sept 26 +1
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 23 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.

  • 22 Sept 26 −3
    • Stability: pass → 0.80 functional
  • 21 Sept 26 0
    • Stability: 0.97 → pass security
  • 20 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

  • 18 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.

  • 16 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 27 Sept 2026 · Analysed npm/zigbee2mqtt-mcp@0.7.0

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem npm
Reason Verified
Discovered via Registry attestation endpoint
Source repo alexpfau/zigbee2mqtt-mcp
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/alexpfau/zigbee2mqtt-mcp/.github/workflows/publish.yml@refs/tags/v0.7.0
Rekor log index 2370691222
Predicate type https://slsa.dev/provenance/v1
Subject digest sha512:65fbabc5a17ae59ac843cd1a0ff465ae2bb6afb8c61f2ac962f3fb33fd3a67ae993bb1e8914a148f9f5c329ea07b504720f0b2d8a3332c34ed6a3626c

Background: How many MCP packages publish verified provenance →

Dependencies 135 packages
Packages resolved 135
Stale 51
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 19 exposed · ~3,112 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
z2m_bind ~287

Bind or unbind clusters between two devices, or between a device and a group. Binding lets a remote control a light directly over Zigbee without a round trip through the coordinator, so it keeps working even if the bridge is down. Reversible with action='unbind'; action='clear' removes all binds from the source device at once and needs confirm=true, because the previous set cannot be recovered. To target one button of a multi-button remote, pass from_endpoint and to_endpoint as separate arguments — check z2m_get_device endpoints first. Both devices must be awake.

NameTypeReqDescription
actionstringyes–
clustersarray–Clusters to bind, e.g. ['genOnOff','genLevelCtrl']. Omit to bind all supported clusters.
confirmboolean–Required for action=clear.
fromstringyesSource device friendly_name or ieee_address.
from_endpointstring|number–Source endpoint, e.g. 'left' or 1. Defaults to the device's default endpoint.
ieee_listarray–For action=clear: specific bind targets to remove. Omit to clear every binding.
tostring–Target device or group. Not needed for action=clear.
to_endpointstring|number–Target endpoint. Only meaningful when the target is a device, not a group.

No output schema declared.

No examples provided.

z2m_bridge_info ~129

Get Zigbee2MQTT bridge status: version, coordinator type and firmware, Zigbee channel and PAN ID, permit_join state, log level, whether a restart is required, and host OS/memory. Read-only. Start here to understand the estate, then use z2m_health_report for problems or z2m_list_devices for individual devices. Returns a JSON object; set include_config only if you need the full Zigbee2MQTT configuration, which is large.

NameTypeReqDescription
include_configboolean–Include the full Zigbee2MQTT configuration (large). Default false.

No output schema declared.

No examples provided.

z2m_check_updates ~170

Actively query devices for available OTA firmware updates. Changes no configuration, but it does put real traffic on the Zigbee network and can take a minute per device. Without arguments it checks every mains-powered router. Prefer z2m_health_report for a passive answer at no network cost, and use this only when you need a fresh check. Follow with z2m_ota_update to actually flash.

NameTypeReqDescription
devicestring–Check a single device. Omit to check all mains-powered devices.
max_devicesnumber–Stop after this many devices so the call returns before a client times out. Default 10.
offsetnumber–Skip this many devices, to continue a previous sweep.
timeout_msnumber–Per-device timeout. Default 60000.

No output schema declared.

No examples provided.

z2m_configure_device ~106

Re-run a device's configuration routine (bindings and attribute reporting). Use when a device stopped reporting values. Battery devices must be woken immediately before calling this, or it fails after a timeout. Use z2m_interview_device instead when Zigbee2MQTT does not know the device's capabilities at all, and z2m_configure_reporting to change one specific attribute rather than re-running everything.

NameTypeReqDescription
devicestringyesDevice friendly_name or ieee_address.

No output schema declared.

No examples provided.

z2m_configure_reporting ~208

Configure how often a device reports an attribute. Tightening intervals improves responsiveness; loosening them saves battery. Set maximum_report_interval to 65535 to disable reporting. Battery devices must be woken immediately before calling this, and not all devices support the command. Use z2m_get_device to see existing configured_reportings, and z2m_configure_device to re-run the whole default configuration instead of one attribute.

NameTypeReqDescription
attributestringyesAttribute name, e.g. 'currentLevel'.
clusterstringyesCluster name, e.g. 'genLevelCtrl'.
devicestringyesDevice friendly_name or ieee_address.
endpointnumber–Endpoint ID. Default 1.
maximum_report_intervalnumberyesSeconds. 65535 disables reporting.
minimum_report_intervalnumberyesSeconds. 0 means report on every change.
reportable_changenumber–Minimum change worth reporting, in the attribute's unit.

No output schema declared.

No examples provided.

z2m_connection_status ~133

Check whether this server can reach the MQTT broker and whether Zigbee2MQTT is publishing to it. Read-only, and the only tool that reports rather than throws when the connection is down or not configured at all, so call it first when any other tool fails with a connection or timeout error. Distinguishes an unreachable broker from a reachable broker carrying no Zigbee2MQTT data, which usually means Z2M_BASE_TOPIC does not match the mqtt.base_topic setting in Zigbee2MQTT. Reports the broker URL with credentials redacted, TLS settings, cached message counts and the write mode.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

z2m_coordinator_check ~120

Check whether any routers are missing from the coordinator's memory, which causes pairing failures and devices dropping off. Changes nothing, but queries the coordinator directly. Needs an adapter that supports coordinator backups, which Texas Instruments zStack and Silicon Labs EmberZNet do and deCONZ and ZiGate do not; unsupported adapters return an error, and z2m_bridge_info reports the expectation under capabilities.coordinator_check. Returns {missing_routers[]}; an empty list is healthy. Use z2m_network_map for a topology view on any adapter.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

z2m_get_device ~120

Get full detail for one device: current state, exposed properties, configurable device options with their schema, endpoints, bindings and configured reportings. Read-only. Call this before z2m_set_device_options, z2m_bind or z2m_configure_reporting to discover valid values. Use z2m_list_devices instead when you want many devices or do not know the exact name.

NameTypeReqDescription
devicestringyesDevice friendly_name or ieee_address.
include_rawboolean–Include the raw exposes/options definitions (verbose). Default false.

No output schema declared.

No examples provided.

z2m_get_logs ~205

Read Zigbee2MQTT bridge logs and lifecycle events (device_joined, device_interview, device_leave, device_announce). Read-only. Returns buffered history by default; watch_seconds instead blocks for that many seconds collecting new lines. Logs are only captured while this server is connected, so history may be empty on a fresh start — use watch_seconds then. Use to diagnose pairing failures and rejoin loops; prefer z2m_health_report to find which devices are affected in the first place.

NameTypeReqDescription
containsstring–Only lines containing this substring (case-insensitive).
include_eventsboolean–Include bridge lifecycle events. Default true.
levelstring–Minimum severity. Note: Zigbee2MQTT never publishes debug lines to MQTT.
limitnumber–Maximum lines to return. Default 100.
watch_secondsnumber–Collect new lines live for this many seconds instead of returning buffered history. Max 120.

No output schema declared.

No examples provided.

z2m_health_report ~187

Audit the whole Zigbee estate in one call and return everything that needs attention: offline devices, weak links, stale devices, low batteries, failed or pending interviews, unsupported devices, disabled devices, pending OTA updates, and devices that keep rejoining or changing network address. Read-only and generates no Zigbee traffic, so prefer it over z2m_check_updates and z2m_network_map for routine checks. Use this to answer 'is my Zigbee network healthy?'. Returns {bridge, totals, capabilities, issues, hints}; an empty issues object means nothing is wrong. Note that collect_seconds makes the call wait for that many seconds before answering.

NameTypeReqDescription
collect_secondsnumber–Listen for live device traffic for this many seconds before answering, to populate linkquality, battery and OTA fields that Zigbee2MQTT does not publish as retained messages. Max 120.

No output schema declared.

No examples provided.

z2m_interview_device ~111

Re-interview a device so Zigbee2MQTT re-reads its endpoints, clusters and basic attributes. The device may be briefly unavailable while this runs, and battery devices must be awake. Useful after a firmware upgrade adds functionality, or to recover a device stuck in a failed interview — check interview_state via z2m_get_device first. Use z2m_configure_device instead when the interview succeeded but reporting stopped working.

NameTypeReqDescription
devicestringyesDevice friendly_name or ieee_address.

No output schema declared.

No examples provided.

z2m_list_devices ~286

List Zigbee devices with administrative detail: type, model, vendor, power source, link quality, battery, availability, last_seen, interview state and pending OTA updates. Read-only, though collect_seconds will wait before answering. Use this to answer 'which devices are offline' or 'which have the weakest signal'. Prefer z2m_health_report for a prioritised summary of everything wrong at once, and z2m_get_device when you need one device's exposes, options or bindings. Returns {total, returned, capabilities, devices[]}.

NameTypeReqDescription
availabilitystring––
collect_secondsnumber–Listen for live device traffic for this many seconds before answering, to populate linkquality, battery and OTA fields that Zigbee2MQTT does not publish as retained messages. Max 120.
has_updateboolean–Only devices with a pending OTA firmware update.
limitnumber–Maximum number of devices to return.
only_problemsboolean–Only devices that are offline, disabled, unsupported, mid-interview, weak-signal or low-battery.
searchstring–Case-insensitive substring match on name, model, vendor or description.
sort_bystring–Default friendly_name. Numeric sorts are ascending, so weakest/lowest first.
typestring–Filter by Zigbee device type.

No output schema declared.

No examples provided.

z2m_list_groups ~60

List Zigbee groups with their members and scenes. Read-only. Use z2m_manage_group to change groups, and z2m_list_devices for individual devices. Returns {total, groups[]}; an empty list means no groups are defined.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

z2m_manage_group ~243

Create or remove groups, rename them, and add or remove device members. Groups let a single Zigbee multicast control many devices, which is far more responsive than commanding each device in turn. Removing a group does not affect the devices themselves, but fails if a member is unreachable unless force is set — with force the device keeps the group membership internally. Use z2m_list_groups to inspect groups first, and z2m_set_state to control a group once created. The remove and remove_all_members actions discard configuration and need confirm=true.

NameTypeReqDescription
actionstringyes–
confirmboolean–Required for action=remove and action=remove_all_members.
devicestring–Device for member actions.
endpointstring|number–Endpoint for member actions, e.g. 'l1' or 1. Defaults to the device's default endpoint.
forceboolean–Force removal even if a member device is unreachable.
groupstringyesGroup friendly_name or numeric ID.
idnumber–Optional numeric ID for action=add.
new_namestring–Required for action=rename.

No output schema declared.

No examples provided.

z2m_network_map ~177

Scan the Zigbee mesh topology and return per-device parent, depth, link quality and route count, plus orphaned or weakly-attached devices. WARNING: the scan makes the network less responsive and can take 10 seconds to several minutes depending on estate size. Run it deliberately, not routinely, and prefer z2m_health_report or z2m_list_devices when you only need per-device link quality. Returns {node_count, link_count, orphans, weak, nodes[]} unless raw is set.

NameTypeReqDescription
include_routesboolean–Include active routes. Slower. Default false.
max_nodesnumber–Cap the nodes returned. Default 200.
rawboolean–Return the unsummarised graph. Default false.
timeout_msnumber–Scan timeout. Default 180000.

No output schema declared.

No examples provided.

z2m_permit_join ~139

Open or close the network for new devices to join. While open, any nearby Zigbee device may join, so keep the window short and close it with time=0 when finished. Optionally scope joining to a single router, which is the recommended way to pair a device into a specific part of the mesh. Use z2m_bridge_info to see whether joining is currently open.

NameTypeReqDescription
devicestring–Restrict joining to this router's friendly_name, or 'coordinator'. Omit to allow via any router.
timenumberyesSeconds to allow joining. 0 closes the network. Maximum 254.

No output schema declared.

No examples provided.

z2m_rename_device ~134

Rename a device's friendly_name. Renaming changes its MQTT topic, so anything referencing the old name (automations, dashboards, scripts) breaks until updated — this is reversible only by renaming back. Set homeassistant_rename to also rename the Home Assistant entity. Use z2m_set_device_options for behaviour changes that do not affect the topic.

NameTypeReqDescription
devicestringyesDevice friendly_name or ieee_address.
homeassistant_renameboolean–Also update the Home Assistant entity ID. Default false.
new_namestringyesNew friendly_name. '/' creates folder structure in MQTT.

No output schema declared.

No examples provided.

z2m_set_device_options ~141

Change Zigbee2MQTT device options such as transition, retain, debounce, temperature_precision or calibration offsets. Options are merged, not replaced, and persist in the Zigbee2MQTT configuration. Call z2m_get_device first to see settable_options for that device. Use z2m_set_state to change what a device is doing, and z2m_set_bridge_options for bridge-wide settings. The response reports whether a bridge restart is required.

NameTypeReqDescription
devicestringyesDevice friendly_name or ieee_address.
optionsobjectyesOptions to merge, e.g. {"transition": 1, "retain": true}.

No output schema declared.

No examples provided.

z2m_set_state ~156

Send a state command to a device or group, e.g. {"state":"ON"} or {"brightness":128}. Physically changes what the device is doing, and is reversible by sending the opposite command. mode='get' instead requests a value without changing anything. The command is published without waiting for the device, so success here means the message was sent, not that the device acted — read z2m_get_device afterwards to confirm. Consult z2m_get_device exposes for valid properties.

NameTypeReqDescription
devicestringyesDevice or group friendly_name, or ieee_address.
modestring–Default 'set'.
payloadobjectyesCommand payload, e.g. {"state": "ON"}.

No output schema declared.

No examples provided.

Common questions

What is the io.github.alexpfau/zigbee2mqtt-mcp server?

io.github.alexpfau/zigbee2mqtt-mcp is listed in the public MCP registry as io.github.alexpfau/zigbee2mqtt-mcp. Administer a Zigbee2MQTT estate: health, mesh diagnostics, OTA, pairing, device management. This page covers its npm package (zigbee2mqtt-mcp).

Is the io.github.alexpfau/zigbee2mqtt-mcp server safe to use?

io.github.alexpfau/zigbee2mqtt-mcp scores 94 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 27 September 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the io.github.alexpfau/zigbee2mqtt-mcp server expose?

io.github.alexpfau/zigbee2mqtt-mcp exposes 19 tools: z2m_connection_status, z2m_bridge_info, z2m_list_devices, z2m_get_device, z2m_health_report, and 14 more. Their descriptions and schemas cost roughly 3,112 tokens of context every time the server is loaded.

Is the io.github.alexpfau/zigbee2mqtt-mcp server still maintained?

io.github.alexpfau/zigbee2mqtt-mcp is still listed as active in the MCP registry. We last reached this channel on 27 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the io.github.alexpfau/zigbee2mqtt-mcp server under?

io.github.alexpfau/zigbee2mqtt-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.