- Purpose zerostack-mcp is an open-source Model Context Protocol (MCP) server that provides deterministic diagnostic tools for AI coding assistants and home automation troubleshooting agents (including Claude Desktop, Cursor, Windsurf, Cline, OpenAI Agents, Home Assistant AI agents). Its goal is to enable AI agents to directly analyze Zigbee/Thread network logs, decode chip registers, evaluate coordinator capacity, and query hardware benchmark data.
Official and related links:
- ZeroStack overview and downloads:https://smlight.tech/software/zerostack
- Interactive Web log analyzer:https://zerostack.smlight.tech/analyzer/
- Engineering whitepaper and benchmarks: WHITEPAPER.md (Part 1 PDF)
- Target firmware: ZeroStack Release Zero
- Project address:https://github.com/zerostack-rf/zerostack-mcp
-
Main capabilities (MCP tools) All tools carry read-only, idempotent ToolAnnotations (readOnlyHint=True, idempotentHint=True, destructiveHint=False, openWorldHint=False):
-
analyze_zigbee_thread_log(log_text) Matches raw Z2M/ZHA/OpenThread logs against more than 16 error signatures. Coverage includes: decimal Z2M MAC codes 225 / 233 / 240 / 241, 0x10, 0x11, 0xC7, 0xCD, 0xA7 / 0xAD, 6000ms SRSP, and multi-line ZCL MQTT delta-zero telemetry flooding. The documentation also mentions diagnosing Trust Center Z3_TCLK_EXCHANGE_TIMEOUT_LEAVE (BDB_TC_LINK_KEY_EXCHANGE / APS_UpdateDevice / TransportKey) loops, Many-to-One Concentrator routing, and idempotent cold-start NVRAM backup and restore health status.
-
decode_silicon_register(chip, register_or_addr, hex_value) Decodes the hardware RF/UART status registers of TI SimpleLink F2 (CMD_IEEE_RX, CMD_IEEE_CSMA, RFC_DBELL, VIMS, PRCM) and Silicon Labs EFR32 (EUSART0_IF).
-
check_coordinator_capacity(device_count, sleepy_zed_count, chip_family) Evaluates TI SimpleLink F2 sleepy child capacity, indirect queue isolation, zero flash read stalls during sleepy polling windows, and SRAM heap headroom.
-
get_zerostack_benchmarks(platform) Returns Part 1 and Part 2 hardware-validated benchmarks. Queryable platforms include SLZB-06, SLZB-MR2, SLZB-06P7, SLZB-07P7, SLZB-MR1, SLZB-06P10, SLZB-07P10, SLZB-MR3, SLZB-MR4, SLZB-MRW10, SLZB-Ultima (including U variants), or select "all".
III. Resources and Prompts Resources:
- zerostack://benchmarks/summary — the complete Part 1 and Part 2 DWT->CYCCNT benchmark dataset.
- zerostack://hardware/supported-models — the TI SimpleLink F2 hardware matrix supported by Release Zero.
- zerostack://diagnostics/catalog — the complete machine-readable ZeroStack diagnostics catalog.
Prompts:
- diagnose_zigbee_log(log_text) — a structured troubleshooting workflow for Zigbee2MQTT / ZHA logs.
IV. Supported Hardware ZeroStack Release Zero supports the TI SimpleLink F2 series on SMLIGHT coordinators (Zigbee 3.0 / PRO R23 Coordinator & Router firmware, using DMA-driven UART transport, including U variants).
Regarding Silicon Labs EFR32 (EFR32MG21 / EFR32MG24): zerostack-mcp already includes diagnostic rules (0x72, 0xa1, ASH_NCP_FATAL_ERROR) and EUSART0_IF register decoding for Silicon Labs EmberZNet / EZSP coordinators (SLZB-06M, SLZB-06Mg24, SkyConnect/ZBT-1). However, ZeroStack Release Zero is currently released on SMLIGHT TI SimpleLink F2 coordinators, and Silicon Labs EFR32 support is still under active development.
V. VerifiedHardware Benchmarks The materials mention that the verified hardware validation benchmarks are based on TI CC1352P7 @ 48.0 MHz, DWT->CYCCNT, divided into:
- Part 1: Deterministic execution latency (1 µs = 48 cycles).
- Part 2: Adversarial resilience and fault recovery. Specific values can be obtained via the get_zerostack_benchmarks tool or the zerostack://benchmarks/summary resource.
VI. Usage The project description lists two ways to run:
- Run with uvx (no installation required).
- Local Development Installation. As for specific command-line arguments, configuration examples, and local development installation steps, the current materials do not yet provide them.
VII. Use Cases
- Troubleshooting for home automation users using Zigbee2MQTT (z2m) or Home Assistant ZHA (zigpy-znp, bellows).
- OpenThread RCP log diagnostics.
- Integrating deterministic hardware RF/UART register decoding capabilities into AI coding assistants.
- Evaluating Zigbee/Thread mesh coordinator capacity and hardware table limits.
- Comparing hardware validation benchmarks between ZeroStack Release Zero and legacy TI Z-Stack (ZNP 3.x) on SMLIGHT TI SimpleLink F2 coordinators.
VIII. Limitations
- ZeroStack Release Zero is currently released for SMLIGHT TI SimpleLink F2 coordinators, and Silicon Labs EFR32 support is still under development.
- Specific installation commands, configuration details, and pricing information are not yet provided in the materials.
- The tools provided by this MCP server are read-only and idempotent, and do not perform destructive operations.
IX. License Apache License 2.0 (Apache-2.0), copyright SMLIGHT / ZeroStack RF Engineering (c) 2026. For more information, see https://smlight.tech/software/zerostack。