Dotnet Diagnostics

•
2
•

Enable LLMs to perform on-demand performance diagnostics for running .NET applications, collecting comprehensive runtime data without application modification.

This MCP server empowers Large Language Models (LLMs) to conduct on-demand performance diagnostics for running .NET 10 applications, whether locally or in Kubernetes, without requiring any modifications to the target application. It leverages the existing .NET diagnostics pipeline (Microsoft.Diagnostics.NETCore.Client + EventPipe) to expose powerful diagnostic tools as MCP tools over Streamable HTTP. Designed for cross-platform compatibility on Linux and Windows containers, it gracefully supports NativeAOT by providing clear `not_supported` messages for incompatible tools, and outputs LLM-friendly summarized JSON data for easier analysis, rather than raw trace blobs.

主な機能

01Perform on-demand diagnostics on live .NET applications without code changes
02Graceful handling for NativeAOT processes, indicating unsupported tools
03Includes 9 diagnostic tools covering counters, CPU samples, exceptions, GC events, and process dumps
04Cross-platform support for Linux and Windows, including containers
05Provides LLM-friendly summarized JSON outputs for diagnostic data
060 GitHub stars

ユースケース

01Investigating performance bottlenecks in live .NET 10 applications using LLM agents
02Collecting detailed runtime metrics (CPU, memory, exceptions, garbage collection) from CoreCLR processes
03Troubleshooting containerized .NET applications in Kubernetes environments