About dotnet-diagnostics-mcp
dotnet-diagnostics-mcp is an MCP server published by pedrosakuma in the Files category: mCP server that attaches to running .NET processes (CoreCLR or NativeAOT) over the diagnostic IPC socket and exposes on-demand performance diagnostics. Standard EventPipe and ClrMD paths need no prior target instrumentation; method-parameter capture is an explicit, privileged, gated dynamic profiler attach.
The repository has 26 stars and 0 forks, with the last commit 12 hours ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/pedrosakuma/dotnet-diagnosticsThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (17)
attach_to_podConfiguration-gated sidecar/ephemeral-container attach and investigation-handle creation
Parameters not published.
capture_method_bytesRead JIT-emitted native bytes for a managed method from a live process or dump
Parameters not published.
collect_batchRun several collect_sample/collect_events kinds concurrently against one resolved process in one call (eliminates the process-exit race of separate calls)
Parameters not published.
collect_eventsEventCounters/Meters and bounded EventPipe event families (GC, exceptions, activities, logs, JIT, networking, and more)
Parameters not published.
collect_process_dumpWrite a Mini / Triage / WithHeap / Full dump to disk
Parameters not published.
collect_sampleCPU, off-CPU, managed/native allocation, and explicitly gated method-parameter capture
Parameters not published.
collect_thread_snapshotManaged thread states, stacks, SyncBlock lock graph, and deadlock evidence
Parameters not published.
compare_to_baselineCompare a current investigation summary with a saved baseline
Parameters not published.
detach_from_podClose an orchestrated investigation and release its transport resources
Parameters not published.
discover_azureConfiguration-gated App Service, Container Apps, and AKS discovery
Parameters not published.
Show all 17 tools
export_investigation_summaryExport portable investigation memory as JSON
Parameters not published.
get_bytesMaterialize authorized module, PDB, dump, or trace bytes from a server-side artifact
Parameters not published.
inspect_heapLive or dump heap walk with retained-type, root, retention-path, and async-state-machine drilldowns
Parameters not published.
inspect_processProcess discovery, capabilities, environment/resources, memory trends, preflight, and evidence-backed triage
Parameters not published.
list_orchestratorConfiguration-gated Kubernetes namespace, workload, pod, and investigation inventory
Parameters not published.
query_snapshotRe-project retained handles into call trees, diffs, histograms, events, roots, and other focused views
Parameters not published.
start_investigationBuild a bounded cold, warm, or hypothesis-driven investigation plan
Parameters not published.
Ask AI
Ask AI about dotnet-diagnostics-mcp
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.