io.github.alexpfau/zigbee2mqtt-mcp
NPM · ZIGBEE2MQTT-MCP · SCANNED AUG 12
Administer a Zigbee2MQTT estate: health, mesh diagnostics, OTA, pairing, device management.
Available components
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 →
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
- 52 of 137 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency97
- 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 4 days ago).Pass
- Security-disclosure policy not yet verified: we couldn't inspect the source repository.Unverified
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 Management0
- Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
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
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Unverified: 1 category
A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · zigbee2mqtt-mcp
claude mcp add alexpfau-zigbee2mqtt-mcp -- npx -y zigbee2mqtt-mcp
codex mcp add alexpfau-zigbee2mqtt-mcp -- npx -y zigbee2mqtt-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"alexpfau-zigbee2mqtt-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"zigbee2mqtt-mcp"
],
"enabled": true
}
}
} openclaw mcp add alexpfau-zigbee2mqtt-mcp --command npx --arg -y --arg zigbee2mqtt-mcp
mcp_servers:
alexpfau-zigbee2mqtt-mcp:
command: "npx"
args: ["-y", "zigbee2mqtt-mcp"] {
"mcpServers": {
"alexpfau-zigbee2mqtt-mcp": {
"command": "npx",
"args": [
"-y",
"zigbee2mqtt-mcp"
]
}
}
} 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.
- 12 Aug 26 0
- Security disclosure: pass → unverified ▼ functional
- 11 Aug 26 0
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 8 Aug 26 +39
- Known CVEs: unverified → pass ▲ security
- Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
- Tool coverage: unverified → 100 ▲ functional
- Dependency health: unverified → 0.82 ▲ functional
- MCP protocol: unverified → pass ▲ functional
- First check of Schema quality: excellent functional
- First check of Schema quality: fail functional
- First check of Tool coverage: 95 functional
- First check of Schema quality: fail functional
- 7 Aug 26 39
First indexed and scored.
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 12 Aug 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 |
Dependencies 137 packages
| Packages resolved | 137 |
|---|---|
| Stale | 52 |
| Tree resolution | Complete |
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.
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.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | – |
| clusters | array | – | Clusters to bind, e.g. ['genOnOff','genLevelCtrl']. Omit to bind all supported clusters. |
| confirm | boolean | – | Required for action=clear. |
| from | string | yes | Source device friendly_name or ieee_address. |
| from_endpoint | string|number | – | Source endpoint, e.g. 'left' or 1. Defaults to the device's default endpoint. |
| ieee_list | array | – | For action=clear: specific bind targets to remove. Omit to clear every binding. |
| to | string | – | Target device or group. Not needed for action=clear. |
| to_endpoint | string|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.
| Name | Type | Req | Description |
|---|---|---|---|
| include_config | boolean | – | 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.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | – | Check a single device. Omit to check all mains-powered devices. |
| max_devices | number | – | Stop after this many devices so the call returns before a client times out. Default 10. |
| offset | number | – | Skip this many devices, to continue a previous sweep. |
| timeout_ms | number | – | 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.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | yes | Device 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.
| Name | Type | Req | Description |
|---|---|---|---|
| attribute | string | yes | Attribute name, e.g. 'currentLevel'. |
| cluster | string | yes | Cluster name, e.g. 'genLevelCtrl'. |
| device | string | yes | Device friendly_name or ieee_address. |
| endpoint | number | – | Endpoint ID. Default 1. |
| maximum_report_interval | number | yes | Seconds. 65535 disables reporting. |
| minimum_report_interval | number | yes | Seconds. 0 means report on every change. |
| reportable_change | number | – | 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.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | yes | Device friendly_name or ieee_address. |
| include_raw | boolean | – | 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.
| Name | Type | Req | Description |
|---|---|---|---|
| contains | string | – | Only lines containing this substring (case-insensitive). |
| include_events | boolean | – | Include bridge lifecycle events. Default true. |
| level | string | – | Minimum severity. Note: Zigbee2MQTT never publishes debug lines to MQTT. |
| limit | number | – | Maximum lines to return. Default 100. |
| watch_seconds | number | – | 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.
| Name | Type | Req | Description |
|---|---|---|---|
| collect_seconds | number | – | 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.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | yes | Device 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[]}.
| Name | Type | Req | Description |
|---|---|---|---|
| availability | string | – | – |
| collect_seconds | number | – | 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_update | boolean | – | Only devices with a pending OTA firmware update. |
| limit | number | – | Maximum number of devices to return. |
| only_problems | boolean | – | Only devices that are offline, disabled, unsupported, mid-interview, weak-signal or low-battery. |
| search | string | – | Case-insensitive substring match on name, model, vendor or description. |
| sort_by | string | – | Default friendly_name. Numeric sorts are ascending, so weakest/lowest first. |
| type | string | – | 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.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | – |
| confirm | boolean | – | Required for action=remove and action=remove_all_members. |
| device | string | – | Device for member actions. |
| endpoint | string|number | – | Endpoint for member actions, e.g. 'l1' or 1. Defaults to the device's default endpoint. |
| force | boolean | – | Force removal even if a member device is unreachable. |
| group | string | yes | Group friendly_name or numeric ID. |
| id | number | – | Optional numeric ID for action=add. |
| new_name | string | – | 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.
| Name | Type | Req | Description |
|---|---|---|---|
| include_routes | boolean | – | Include active routes. Slower. Default false. |
| max_nodes | number | – | Cap the nodes returned. Default 200. |
| raw | boolean | – | Return the unsummarised graph. Default false. |
| timeout_ms | number | – | 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.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | – | Restrict joining to this router's friendly_name, or 'coordinator'. Omit to allow via any router. |
| time | number | yes | Seconds 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.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | yes | Device friendly_name or ieee_address. |
| homeassistant_rename | boolean | – | Also update the Home Assistant entity ID. Default false. |
| new_name | string | yes | New 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.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | yes | Device friendly_name or ieee_address. |
| options | object | yes | Options 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.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | yes | Device or group friendly_name, or ieee_address. |
| mode | string | – | Default 'set'. |
| payload | object | yes | Command payload, e.g. {"state": "ON"}. |
No output schema declared.
No examples provided.