glider-trace 0.7.0

There is a newer version of this package available.
See the version list below for details.
{
  "servers": {
    "glider-trace": {
      "type": "stdio",
      "command": "dnx",
      "args": ["glider-trace@0.7.0", "--yes"]
    }
  }
}
                    
This package contains an MCP Server. The server can be used in VS Code by copying the generated JSON to your VS Code workspace's .vscode/mcp.json settings file.
dotnet tool install --global glider-trace --version 0.7.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local glider-trace --version 0.7.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=glider-trace&version=0.7.0
                    
nuke :add-package glider-trace --version 0.7.0
                    

GliderTrace - Runtime Evidence MCP Server

GliderTrace is a runtime evidence MCP server for .NET workspaces. It runs workspace-scoped commands and tests, stores bounded evidence, and summarizes failures, exceptions, counters, and runtime traces.

Install

Prerequisite: .NET 10 SDK.

dotnet tool install --global glider-trace

If install fails, run dotnet --version first. If dotnet is missing or below 10, install .NET 10 from Microsoft .NET 10 download page.

Keep CLI tools on PATH (for example ~/.dotnet/tools on Linux/macOS) before running glider-trace.

To update:

dotnet tool update --global glider-trace

Run Modes

GliderTrace exposes two transports:

Stdio (default)

glider-trace

Run this when an MCP client starts a local MCP stdio process.

HTTP

glider-trace --transport http

HTTP MCP endpoint is http://localhost:5003/mcp (or your chosen --port).

Common CLI arguments

Flag What it does
--transport <stdio, http> Selects protocol. stdio is default.
--port <1-65535> Listener port for HTTP mode. Default: 5003.
--workspace <path> Workspace root for workspace-scoped commands, test discovery, and process scoping. Default: current directory.
--artifact-root <path> Root folder where session artifacts are stored. Default: <workspace>/.glider-trace.
--allow-executable <policy> Enables an executable policy beyond the default dotnet-only allowlist. Repeatable. Policies: msbuild (Visual Studio MSBuild.exe via vswhere), nuget-workspace (a workspace-local .nuget\NuGet.exe), vstest (vstest.console.exe from Visual Studio or restored packages).
--default-timeout <ms|s|m> Per-tool async timeout default. Default is 20m. Use 0 to disable timeouts.
--verbose Writes detailed server logs to stderr.
--help / -h Prints usage and exits.
--version / -v / -V Prints tool version and exits.

MCP Tools

  • trace_status — Server readiness, workspace/artifact state, retention/redaction defaults, and expiration status.
  • trace_run — Executes one command in the workspace and stores runtime session evidence.
  • trace_import_otlp — Imports bounded OpenTelemetry JSON or NDJSON evidence from a workspace file.
  • trace_import_artifacts — Imports existing TRX, MSBuild binlog, log, counters, nettrace, dump, or GC dump files into a stored session.
  • trace_start — Starts a long-running workspace command and begins evidence capture.
  • trace_stop — Stops an active session started by trace_start and finalizes evidence.
  • trace_list_processes — Lists local .NET processes that can be attached for diagnostics.
  • trace_attach — Captures a bounded runtime trace artifact from a running .NET process.
  • trace_capture_dump — Captures a sensitive process dump artifact for a running process.
  • trace_capture_gcdump — Captures a sensitive GC dump artifact for a running process.
  • trace_build — Builds a solution or project (dotnet build, or Visual Studio MSBuild with runner: "msbuild"), captures a sensitive build.binlog artifact, and stores normalized build error/warning evidence.
  • trace_restore — Restores packages (dotnet restore, or a workspace-local NuGet.exe with runner: "nuget"), separating NU warnings from failures with a structured restored/up-to-date/failed summary.
  • trace_run_tests — Runs tests (dotnet test, or dotnet vstest against prebuilt assemblies with runner: "vstest"), can rerun safely identified failures, and stores test evidence, artifacts, results, and flaky candidates.
  • trace_get_session — Returns stored session metadata, summaries, and artifact references.
  • trace_query_events — Returns filtered evidence events for a session.
  • trace_compare_sessions — Compares two stored sessions and returns fixed, new, and persisting evidence.
  • trace_export — Exports session summaries, CI summaries, and artifact bundle references.
  • trace_correlate_code — Maps runtime evidence stack frames to C# symbols.
  • trace_exceptions — Returns grouped exception evidence for a session.
  • trace_counters — Returns summarized counters.csv evidence for a session.
  • trace_hotspots — Returns summarized CPU hotspot evidence from runtime traces.

Local Dependencies

Required runtime:

  • .NET 10 SDK
  • dotnet on PATH

Optional features:

  • dotnet-counters — enables collectCounters in trace_run.
  • dotnet-gcdump — enables trace_capture_gcdump.

Test support depends on the project/test setup (dotnet test + TRX-capable logger configuration).

Version Expiration

Each glider-trace version expires 1 month after release date.

dotnet tool update --global glider-trace

Troubleshooting

  • glider-trace command not found: ensure the global tool folder is on PATH (for example ~/.dotnet/tools).
  • trace_run rejects command: by default only dotnet is allowed. For legacy .NET Framework toolchains, start the server with --allow-executable msbuild, --allow-executable nuget-workspace, or --allow-executable vstest to admit those executable categories with path validation.
  • trace_list_processes returns no processes: no local .NET process is currently published to diagnostics IPC.
  • trace_capture_dump or trace_capture_gcdump blocked: set acknowledgeSensitive=true and confirm optional tools are installed.
  • Counter capture fails: install dotnet-counters and rerun with collectCounters=true.
  • trace_run_tests misses TRX evidence: verify test project and logger configuration for TRX support.
  • trace_run_tests only records flaky candidates when rerunFailed is greater than 0 and failed tests have safe exact identifiers.
  • Long operations cancel unexpectedly: increase --default-timeout or set 0 to disable.

License

All Rights Reserved

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.8.0 103 7/27/2026
0.7.0 95 7/27/2026
0.6.0 127 7/15/2026
0.5.0 138 7/1/2026
0.4.1 120 6/23/2026
0.4.0 127 6/17/2026
0.3.3 125 6/9/2026
0.3.2 124 5/31/2026
0.3.1 123 5/29/2026
0.3.0 120 5/28/2026
0.2.0 112 5/25/2026
0.1.0 108 5/20/2026
0.1.0-preview.6 60 5/20/2026
0.1.0-preview.5 64 5/20/2026
0.1.0-preview.4 61 5/19/2026
0.1.0-preview.3 58 5/19/2026
0.1.0-preview.2 65 5/19/2026
0.1.0-preview.1 64 5/18/2026

## [0.7.0] - 2026-07-27
Features:
- add policy-based executable allowlist (7bd81ed)
- add vstest runner to trace_run_tests (7bd81ed)
- import msbuild binlog build evidence (7bd81ed)
- add trace_build with dotnet and msbuild runners (7bd81ed)
- add trace_restore with dotnet and nuget runners (7bd81ed)
Bug Fixes:
- address vstest runner and toolchain review feedback (7bd81ed)
- tighten vstest policy and capture working-dir blame (7bd81ed)
- persist a Cancelled session when a run is cancelled at startup (c62d961)
- don't launch the command when the request is already cancelled (c62d961)
- don't record a start event when a cancelled run never launches (c62d961)
Code Refactoring:
- share target resolution and binlog capture across runners (7bd81ed)