glider-trace 0.16.0

{
  "servers": {
    "glider-trace": {
      "type": "stdio",
      "command": "dnx",
      "args": ["glider-trace@0.16.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.16.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.16.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=glider-trace&version=0.16.0
                    
nuke :add-package glider-trace --version 0.16.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: https://dotnet.microsoft.com/download/dotnet/10.0

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/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.
--max-pinned-bytes <n> Byte quota for pinned sessions, which retention never deletes (default: 536870912).
--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, expiration status, telemetry and feedback state, and which build/test/restore runners are usable here (pass includeEnvironment=true to resolve executables).
  • trace_run — Executes one command in the workspace and stores runtime session evidence.
  • send_feedback — Reports a missing capability, a wrong result, an error, or praise to the GliderTrace developers as a public GitHub issue. The report is abstract text the agent writes; the tool refuses code, paths, source and config file names, secrets, and stack traces. Disabled by GLIDER_FEEDBACK=0, --no-telemetry, and DO_NOT_TRACK=1.
  • Every tool that creates a session accepts an optional label, so trace_list_sessions can find that session again by name.
  • 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_list_sessions — Lists stored sessions from the local index, filtered by mode, status, label, or start time.
  • trace_pin_session — Pins or unpins a session. Retention never deletes a pinned session, and a pinned-bytes quota bounds the pinned set.
  • 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

Free for personal use, open-source work, education, and a 30-day organizational evaluation under the GliderMCP EULA. Commercial use requires a paid license once plans are on sale; until then the EULA permits it free of charge. The full terms are in the LICENSE file inside this package.

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.16.0 0 9/2/2026
0.15.0 0 9/2/2026
0.14.0 44 9/1/2026
0.13.0 49 9/1/2026
0.12.1 84 8/30/2026
0.12.0 70 8/28/2026
0.11.0 96 8/26/2026
0.10.1 100 8/23/2026
0.10.0 112 8/20/2026
0.9.0 124 8/5/2026
0.8.0 128 7/27/2026
0.7.0 109 7/27/2026
0.6.0 138 7/15/2026
0.5.0 158 7/1/2026
0.4.1 131 6/23/2026
0.4.0 140 6/17/2026
0.3.3 135 6/9/2026
0.3.2 136 5/31/2026
0.3.1 132 5/29/2026
0.3.0 129 5/28/2026
Loading failed

## [0.16.0] - 2026-09-02
Features:
- annotate test failures with cross-session flake history (4db71aa)