Configure GliderTrace with Claude Code CLI.
dotnet tool install --global glider-trace.dotnet tool install --global glider-traceglider-trace directly if your .NET tools directory is on PATH.# bash/zsh
export PATH="$PATH:$HOME/.dotnet/tools"
which glider-traceclaude mcp add --transport stdio glider-trace --scope project -- glider-trace --workspace .claude mcp add --transport stdio glider-trace --scope user -- glider-trace/plugin marketplace add glidermcp/glidermcp.com
/plugin install glider-trace@glidermcphttp://localhost:5003/mcp. Port 5003 avoids colliding with another local MCP server that uses 5001.# Terminal 1
glider-trace --transport http --port 5003
# Terminal 2
claude mcp add --transport http --scope project glider-trace http://localhost:5003/mcp--verbose.claude
# Then ask: "What GliderTrace tools are available?".mcp.json, Codex .codex/config.toml (trusted projects), Cursor .cursor/mcp.json, or VS Code .vscode/mcp.json. Include portable config files in version control, or copy local config files into each worktree. Git does not copy ignored files. Use absolute paths only when you intentionally want one fixed checkout, such as a global Claude Desktop configuration.git rev-parse --show-toplevel in the client terminal, then ask trace_status for the server workspace. Confirm that the loaded solution or workspace belongs to that worktree before you query or change code. For a wrong root, restart GliderTrace with --workspace set to the intended worktree. git rev-parse --show-toplevelsrc/App.slnx with your solution path. On Windows, use the relative configuration above and set the MCP launch directory to the worktree root. This launcher cannot identify your worktree if the client starts outside its directory tree.{
"mcpServers": {
"glider-trace": {
"command": "sh",
"args": [
"-c",
"repo_root=$(git rev-parse --show-toplevel) && exec glider-trace --workspace \"$repo_root\""
]
}
}
}When you need runtime evidence for .NET code, prefer glider-trace mcp before ad hoc shell runs. Use GliderTrace for test runs, workspace command runs, failure summaries, exception and stack evidence, stdout/stderr summaries, counters, traces, dumps, GC dumps, and artifact indexing. Use plain CLI commands only for simple file operations or commands where no captured evidence or session history is needed.