Zigbee2mqtt MCP Server
by alexpfauio.github.alexpfau/zigbee2mqtt-mcpv0.7.0
Administer Zigbee2MQTT via its MQTT bridge API: network health reports, mesh topology, pairing, binding, reporting intervals and device options.
context tax
pending
security
100/100
cold start
pending
freshness
Active34d ago
Our reading of Zigbee2mqtt, from the data
Zigbee2mqtt is a science & research MCP server from alexpfau, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is active: the last public signal was 34 days ago (2026-10-07). For comparison, 72% of science & research servers are active or maintained.
With 32 GitHub stars it ranks #79 of 1,435 science & research servers we index.
It runs locally on your machine over stdio and needs 2 secrets (Z2M_MQTT_URL, Z2M_MQTT_PASSWORD); use a scoped, least-privilege key.
Install Zigbee2mqtt MCP server
Install in Claude Code
claude mcp add zigbee2mqtt -e Z2M_MQTT_URL='<z2m-mqtt-url>' -e Z2M_MQTT_PASSWORD='<z2m-mqtt-password>' -- npx -y zigbee2mqtt-mcpInstall in Cursor
{
"mcpServers": {
"zigbee2mqtt": {
"command": "npx",
"args": [
"-y",
"zigbee2mqtt-mcp"
],
"env": {
"Z2M_MQTT_URL": "<z2m-mqtt-url>",
"Z2M_MQTT_PASSWORD": "<z2m-mqtt-password>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"zigbee2mqtt": {
"command": "npx",
"args": [
"-y",
"zigbee2mqtt-mcp"
],
"env": {
"Z2M_MQTT_URL": "<z2m-mqtt-url>",
"Z2M_MQTT_PASSWORD": "<z2m-mqtt-password>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"zigbee2mqtt": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"zigbee2mqtt-mcp"
],
"env": {
"Z2M_MQTT_URL": "<z2m-mqtt-url>",
"Z2M_MQTT_PASSWORD": "<z2m-mqtt-password>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"zigbee2mqtt": {
"command": "npx",
"args": [
"-y",
"zigbee2mqtt-mcp"
],
"env": {
"Z2M_MQTT_URL": "<z2m-mqtt-url>",
"Z2M_MQTT_PASSWORD": "<z2m-mqtt-password>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test zigbee2mqtt-mcp --env Z2M_MQTT_URL
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| Z2M_MQTT_URL | yes | yes | 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_PASSWORD | — | yes | 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). |
Security signals
100/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 34d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-07 · 34d ago · GitHub
Latest release
2026-08-07 · 3mo ago · GitHub · v0.7.0
Package published
no data · npm/PyPI
Registry entry updated
2026-08-07 · 3mo ago · official registry · v0.7.0
How it compares in Science & Research
Against the most-starred science & research servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Zigbee2mqtt (this) | 32 | — | not measured | Active | local |
| Wigolo | 5,486 | — | not measured | Active | local |
| Zotero | 5,460 | — | not measured | Active | local |
| Exa | 5,138 | 2 | 564 | Active | local + hosted |
| Postgres | 3,403 | — | not measured | Maintained | — |
| Arxiv | 3,224 | 19 | 3,728 | Active | local |
FAQ
›How do I install the Zigbee2mqtt MCP server in Claude Code?
Run: claude mcp add zigbee2mqtt -e Z2M_MQTT_URL='<z2m-mqtt-url>' -e Z2M_MQTT_PASSWORD='<z2m-mqtt-password>' -- npx -y zigbee2mqtt-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Zigbee2mqtt require an API key?
Yes. It expects Z2M_MQTT_URL, Z2M_MQTT_PASSWORD, of which 2 are secrets.
›Can I use Zigbee2mqtt as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Zigbee2mqtt in the official MCP registry?
Yes, as io.github.alexpfau/zigbee2mqtt-mcp.
Sources and method
- Official MCP Registry entry
- updated 2026-08-07
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Zigbee2mqtt
Other science & research MCP servers.