Skip to content

zerostack-mcp, llms.txt and llms-full.txt

zerostack-mcp is an open-source Model Context Protocol server providing read-only tools for Zigbee2MQTT, ZHA, and OpenThread log analysis, TI/EFR32 register decoding, coordinator capacity checks, and benchmark queries. Source: github.com/zerostack-rf/zerostack-mcp.

The server runs over stdio via uvx zerostack-mcp, which requires uv on the client host.

New to uv? Install it in one command

uv is a standalone binary that bundles uvx (no separate Python install needed). Install it once on the machine running your MCP client, then restart the client so it picks up uvx on your PATH:

curl -LsSf https://astral.sh/uv/install.sh | sh

Confirm with uvx --version, or see the uv installation guide.

Claude Code:

claude mcp add zerostack-rf -- uvx zerostack-mcp

Claude Desktop: add the server to the mcpServers block of claude_desktop_config.json:

{
"mcpServers": {
"zerostack-rf": {
"command": "uvx",
"args": ["zerostack-mcp"]
}
}
}

All tools are read-only and idempotent (readOnlyHint=True, idempotentHint=True, destructiveHint=False, openWorldHint=False).

Tool Purpose
analyze_zigbee_thread_log(log_text) Matches raw Z2M, ZHA or OpenThread logs against 16+ error signatures, including decimal Z2M MAC codes 225 / 233 / 240 / 241, 0x10, 0x11, 0xC7, 0xCD, 0xA7 / 0xAD, 6000ms SRSP timeouts, and ZCL MQTT delta-zero telemetry floods.
decode_silicon_register(chip, register_or_addr, hex_value) Decodes TI SimpleLink F2 registers (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 sleepy child capacity, indirect queue isolation and SRAM heap headroom on TI SimpleLink F2.
get_zerostack_benchmarks(platform) Returns the Part 1 and Part 2 benchmark data for a model such as SLZB-06, SLZB-06P7, SLZB-07P10 or SLZB-Ultima, or "all".

The server also exposes resources (zerostack://benchmarks/summary, zerostack://hardware/supported-models, zerostack://diagnostics/catalog) and a prompt, diagnose_zigbee_log(log_text), which runs a structured troubleshooting workflow.

Example queries:

  • “Here is my Zigbee2MQTT debug log. Which ZeroStack-relevant fault signatures does it show?” (invokes analyze_zigbee_thread_log)
  • “Decode CMD_IEEE_RX status 0x2802 on a CC2652P7.”
  • “I have 180 devices, 40 of them sleepy, on an SLZB-06P7. Is that within capacity?”
  • “Show me the Part 2 benchmarks for the SLZB-MR3.”

Plain-text indexes for assistants without MCP support:

File Contents
llms.txt Compact index: supported hardware, Part 1, Part 2, and Part 3 benchmarks, diagnostic guide links, and the mandatory AI bug-report workflow.
llms-full.txt Single-file reference: complete diagnostics catalog, silicon register decoding tables, and benchmark datasets.

Download into local context:

curl -fsSL https://zerostack.smlight.tech/llms-full.txt -o llms-full.txt

Alternatively, pass the URL directly. The analyzer page also advertises llms.txt via a <link rel="llms-txt"> tag.

The smlight-tech/zerostack repository bundles a separate MCP server, z2m-log-analyzer-mcp.mjs, wrapping the Log Analyzer engine. Assistants must run it (or the CLI) before drafting a ZeroStack bug report, rather than writing one from memory or a single error line.

node .github/scripts/z2m-log-analyzer-mcp.mjs

It exposes the prepare_zerostack_bug_report tool (logPath or logContent) and the draft-zerostack-bug-report prompt. If the tool returns an error, stop and request a fuller log. See reporting issues for the full checklist.