A plugin for DLT Viewer that exposes DLT log analysis capabilities via the Model Context Protocol (MCP). It allows AI agents and MCP-compatible clients to query and retrieve information from DLT log files.
- Log Summary – Get message count, file size, timestamp range, duration, and available CTID/APID contexts.
- Search – Filter log messages by CTID, APID, log level, timestamp range, and keyword, with pagination.
- Message Retrieval – Fetch full payload for specific message IDs.
- Selection – Get details of the currently selected message in DLT Viewer.
- Report – Display Markdown reports in the plugin widget with clickable links that navigate DLT Viewer's log window to specific messages.
- History – Browse, view and manage generated reports in a report browser pane. Reports are persisted across sessions and matched against loaded file(s).
- DLT Viewer 2.30.0
- CMake 3.10+
- Boost 1.74+
- Qt 5.14+ / Qt 6 (matching DLT Viewer's build)
This plugin must be built as part of the DLT Viewer source tree. Clone both repositories, place this plugin inside the DLT Viewer plugin directory, and add it to the parent CMake build:
Clone DLT Viewer:
git clone https://github.com/COVESA/dlt-viewer.git
cd dlt-viewerClone this plugin into the plugin directory:
git clone --recursive https://github.com/Ulenspiegel/dlt-mcp-server.git plugin/dlt-mcp-serverAdd the following line to plugin/CMakeLists.txt:
add_subdirectory(dlt-mcp-server)Then build:
cmake -B build -S .
cmake --build build --config ReleaseThe plugin binary will be placed in build/bin/plugins/.
Mozilla Public License 2.0 – see LICENSE.