Feature request: expose session-scoped logpoint output through MCP
Title: Feature request: expose session-scoped logpoint output through MCP
Environment
- Windows
- DebugMCP VS Code extension 2.4.3
- Microsoft C# extension 2.160.4
- .NET 10 / coreclr, attach debugging
- MCP client: Codex
Problem
An agent can create non-pausing logpoints using add_logpoint, but the exposed MCP tools provide no way to retrieve their output.
We successfully used timestamp-only logpoints to measure individual stages of an asynchronous .NET backend request. The messages appeared in VS Code’s Debug Console, but a human had to copy the selected lines into the agent conversation.
Steps to reproduce
- Create a logpoint containing
PROBE|ms={System.Environment.TickCount64}. - Attach to the application and execute the relevant code.
- Observe the interpolated message in Debug Console.
- Attempt to retrieve that message through the exposed MCP interface.
Requested capability
Provide a read-only, session-scoped output tool with bounded results, cursor-based incremental retrieval, and an explicit prefix or category filter. Capture should be opt-in and preserve existing protections against sensitive-data disclosure.
Benefit
Agents could consume their own diagnostic logpoints without manual copying, temporary production logging, or timing-distorting breakpoint pauses.
Investigation tooling
This investigation and its reproduction work were carried out with assistance from OpenAI Codex.
- Codex desktop app version:
26.1021.31345(build21828). - Version verified on
2026-10-25, when this tooling disclosure was added.
The desktop app version used during the original 2026-10-24 investigation was not recorded; the version above identifies the environment at disclosure time.