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.
Install in your client
Section titled “Install in your client”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 | shbrew install uvpowershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Confirm with uvx --version, or see the uv installation guide.
Claude Code:
claude mcp add zerostack-rf -- uvx zerostack-mcpClaude Desktop: add the server to the mcpServers block of claude_desktop_config.json:
{ "mcpServers": { "zerostack-rf": { "command": "uvx", "args": ["zerostack-mcp"] } }}Add the server to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
{ "mcpServers": { "zerostack-rf": { "command": "uvx", "args": ["zerostack-mcp"] } }}Add the server to ~/.codeium/windsurf/mcp_config.json:
{ "mcpServers": { "zerostack-rf": { "command": "uvx", "args": ["zerostack-mcp"] } }}Add the server to .vscode/mcp.json in your workspace. VS Code uses a servers key and an explicit transport type:
{ "servers": { "zerostack-rf": { "type": "stdio", "command": "uvx", "args": ["zerostack-mcp"] } }}Add the server to ~/.gemini/antigravity/mcp_config.json (or via MCP Servers → Manage MCP Servers → View raw config):
{ "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.
Ask it something
Section titled “Ask it something”Example queries:
- “Here is my Zigbee2MQTT debug log. Which ZeroStack-relevant fault signatures does it show?” (invokes
analyze_zigbee_thread_log) - “Decode
CMD_IEEE_RXstatus0x2802on 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.”
llms.txt and llms-full.txt
Section titled “llms.txt and llms-full.txt”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.txtAlternatively, pass the URL directly. The analyzer page also advertises llms.txt via a <link rel="llms-txt"> tag.
Bug reports from an AI assistant
Section titled “Bug reports from an AI assistant”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.mjsIt 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.

