Briefing
rtt.expect returns the matched text and its captures. On a timeout the script exits with code 1 and prints the tail of the receive buffer. rttsh also flashes hex, elf and bin files and erases the chip, and with --elf it finds the RTT control block from the symbol. The MCP server's 8 tools are connect, disconnect, get_status, send, rtt_read, expect, mem_read and list_devices.
It needs the .NET 10 runtime and loads JLink_x64.dll, which is why it is Windows only. The README warns that exit code 0 does not mean the firmware passed; the verdict has to come from the response text.
Written by the Boards & Bots curator
From the GitHub API
Repository facts
| Repository | z3oya/ |
|---|---|
| Stars | 58 |
| Language | C# |
| Last push | 3 Oct 2026 26 d ago |