# Otp\_debug\_mcp 0.15: a flight recorder, read-only mode, and conclusions instead of data

**URL:** <https://erlangforums.com/t/otp-debug-mcp-0-15-a-flight-recorder-read-only-mode-and-conclusions-instead-of-data/6162>\
**Category:** Library Updates\
**Tags:** erlang, erlang-otp, ai, recon, openriak, mcp, debugging, claude, problem-solving, agent\
**Created:** [November 24, 2026, 1:52pm UTC](https://erlangforums.com/t/otp-debug-mcp-0-15-a-flight-recorder-read-only-mode-and-conclusions-instead-of-data/6162 "2026-11-24T13:52:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayarodionov](https://erlangforums.com/user_avatar/erlangforums.com/ayarodionov/32/3278_2.png) [@ayarodionov](https://erlangforums.com/u/ayarodionov)\
**Post date:** [November 24, 2026, 1:52pm UTC](https://erlangforums.com/t/otp-debug-mcp-0-15-a-flight-recorder-read-only-mode-and-conclusions-instead-of-data/6162/1 "2026-11-24T13:52:06Z")

</div>

otp\_debug\_mcp is an MCP server that lets an AI agent (Claude Code, Cursor, Copilot, …) debug a **running** Erlang/OTP node, in the spirit of recon and _Erlang in Anger_. It attaches as a hidden node, so the node needs no changes, and shows terms from an Erlang node in Erlang syntax. It also knows RabbitMQ, EMQX, ejabberd, riak\_core, mnesia, cowboy, ranch. [GitHub - ayarodionov/otp\_debug\_mcp: MCP server for AI-driven debugging of live Erlang/Elixir OTP nodes: hidden-node attach, recon-based diagnostic battery, safe tracing, snapshot/diff · GitHub](https://github.com/ayarodionov/otp_debug_mcp)

**What’s new in 0.14 and 0.15:**

- **Conclusions, not data.** `diagnose` states each problem once, with its evidence and the next step, instead of dumping every check’s measurements. For example, it reports a mailbox’s growth rate, where the process is stuck, and who floods it (from an isolated OTP 27+ trace session). On our 34 blind sessions, the cost per session fell by 15%.
- **Flight recorder.** `record` samples the node every few seconds, even after the agent disconnects. `history` tells what happened while nobody was looking, with times. `wait_for_problem` waits until a new problem appears. The recorder loads nothing onto the node and uses under a tenth of one scheduler.
- **For production.** Read-only mode (`OTP_DEBUG_MCP_READ_ONLY=true`) refuses every step that would change the node. An audit log records every tool call. Names you give the tools never create new atoms on the node.
- **Easier start.** MCP prompts in the client’s menu: `help`, `investigate NODE SYMPTOM` and `watch NODE MINUTES`. Also a real `--help` and `--version`.

**Try it:** releases for Linux and macOS bundle their own runtime, or use the Docker image [Package otp\_debug\_mcp · GitHub](http://ghcr.io/ayarodionov/otp_debug_mcp:0.15.0) . Start a broken demo node with `examples/erlang/run.sh shop` and tell the agent: _“shop\_erl@yourhost is falling behind and its memory keeps growing. Find out why.”_ The [tutorial](https://github.com/ayarodionov/otp_debug_mcp/blob/main/docs/tutorial.md) goes on from there to your own nodes and production, with best practices.

Tested on OTP 26–29. Feedback welcome, especially problems it misses and what you’d need before pointing it at production.
