Substantive.DevTools.AspNetCore 9.17.34-build20260919r3

Substantive.DevTools.AspNetCore

Development and troubleshooting tools for an ASP.NET Core server: the DiagnosticController and DiagnosticODataController an API picks up as soon as it references this package, the middleware analysis logger, and the same diagnostics exposed as MCP tools for an agent connected to the API.

Installation

<PackageReference Include="Substantive.DevTools.AspNetCore" Version="$(UseBackendsVersion)" />

The controllers are discovered through the application part the Web SDK records for every referenced assembly that uses MVC; nothing has to be registered. They reveal paths, process details, and environment values, so reference the package only where that is acceptable.

Usage

Diagnostic endpoints

GET /Diagnostic/GetAppInfo, GET /Diagnostic/GetHeaders, GET /Diagnostic/GetForwardedHeadersInfo, POST /Diagnostic/SimulateLogging, the Throw* actions that exercise the exception handlers, and the streaming actions. Each action documents itself in the OpenAPI document.

MCP tools

DiagnosticMcpTools exposes the application info, the request headers, the forwarded-headers report, the logging simulation, and a deliberate failure as MCP tools, under the names in DiagnosticMcpToolNames. This package carries only the tool attributes (ModelContextProtocol.Core); the MCP server and its transport belong to the API:

<PackageReference Include="ModelContextProtocol.AspNetCore" Version="2.*" />
builder.Services.AddMcpServer()
                .WithHttpTransport(options => options.Stateless = true)
                .WithTools<DiagnosticMcpTools>();

var app = builder.Build();
app.MapMcp("/mcp");

The request-bound tools read the HTTP request that carried the tool call through IHttpContextAccessor, which AddAspNetCore registers; over a transport that runs outside an HTTP request they fail with a message that says so. Results are JSON text with the shapes of AppInfoResponse and ForwardedHeadersInfoResponse.

FAQs and Troubleshoots

  • The MCP tools are listed but every call fails naming the HTTP request. The tools were registered on a transport without a request (stdio). Use the HTTP transport, or call the controller instead.
  • A tool error arrives as a generic message. The MCP SDK forwards only an McpException message to the client; the tools throw that type on purpose. Any other exception is replaced with a generic error before it leaves the server.

Showing the top 20 packages that depend on Substantive.DevTools.AspNetCore.

Packages Downloads
Substantive.AspNetCore
Substantive ASP.NET Core package.
8
Substantive.AspNetCore
Substantive ASP.NET Core package.
9
Substantive.AspNetCore
Substantive ASP.NET Core package.
10
Substantive.AspNetCore
Substantive ASP.NET Core package.
11
Substantive.AspNetCore
Substantive ASP.NET Core package.
13
Substantive.AspNetCore
Substantive ASP.NET Core package.
15
Substantive.AspNetCore
Substantive ASP.NET Core package.
17
Substantive.AspNetCore
Substantive ASP.NET Core package.
34
Substantive.Foundation.Backends
A metapackage contains all Substantive backend building blocks.
8
Substantive.Foundation.Backends
A metapackage contains all Substantive backend building blocks.
9

Version Downloads Last updated
9.17.34-build20260919R3 2 09/19/2026
9.17.34-build20260919R2 2 09/19/2026
9.17.34-build20260919R1 1 09/19/2026
9.17.34-build20260914R1 3 09/14/2026
9.17.33-build20260715R1 9 07/15/2026
9.17.32-build20260701R1 9 07/01/2026
9.17.31-build20260624R1 8 06/24/2026
9.17.30-build20260616R1 9 06/16/2026
9.17.29-build20260512R1 7 05/12/2026
9.17.29-build20260511R1 34 05/11/2026
9.17.28-build20260331R1 19 03/31/2026
9.17.27-build20260306R1 13 03/06/2026
9.17.26-build20260211R1 7 02/11/2026
9.17.25-build20260210R1 7 02/10/2026
9.17.24-build20260209R1 7 02/09/2026
9.17.24-build20260204R1 7 02/04/2026
9.17.23-build20260204R1 7 02/04/2026
9.17.22-build20260204R1 7 02/04/2026
9.17.21-build20260204R2 7 02/04/2026
9.17.21-build20260204R1 7 02/04/2026
9.17.20-build20260203R1 7 02/03/2026
9.17.19-build20260130R1 7 01/30/2026
9.17.18-build20260129R1 7 01/29/2026
9.17.17-build20260129R1 7 01/29/2026
9.17.17-build20260128R1 7 01/28/2026
9.17.16-build20260127R2 7 01/27/2026
9.17.16-build20260123R1 7 01/23/2026
9.17.15-build20260122R1 7 01/22/2026
9.17.14-build20260122R2 12 01/22/2026
9.17.14-build20260122R1 8 01/22/2026
9.17.14-build20260121R1 8 01/21/2026
9.17.13-build20260121R1 8 01/21/2026
9.17.12-build20260120R1 12 01/20/2026
9.17.11-build20260120R1 11 01/20/2026
9.17.10-build20260120R1 10 01/20/2026
9.17.9-build20260119R1 9 01/19/2026
9.17.8-build20260119R1 8 01/19/2026
9.17.7-build20260115R1 8 01/15/2026
9.17.6-build20260115R1 7 01/15/2026
9.17.5-build20260119R1 8 01/19/2026
9.17.5-build20260115R1 8 01/15/2026
9.17.4-build20260115R1 10 01/15/2026
9.17.3-build20260115R1 6 01/15/2026
9.17.2-build20260115R1 7 01/15/2026
9.17.2-build20260113R1 32 01/13/2026
9.17.1-build20260113R2 8 01/13/2026
9.17.1-build20260109R2 6 01/09/2026
9.17.1-build20260106R2 10 01/06/2026
9.17.1-build20251231R2 6 12/31/2025
9.17.1-build20251230R2 15 12/30/2025
9.17.1-build20251230R1 7 12/30/2025
9.17.0-build20251229R2 10 12/29/2025
9.17.0-build20251229R1 7 12/29/2025
9.17.0-build20251226R1 17 12/26/2025
9.17.0-build20251225R1 8 12/25/2025
9.16.0-build20251224R1 13 12/24/2025
9.15.3-build20251224R1 8 12/24/2025
9.15.2-build20251224R1 7 12/24/2025
9.15.1-build20251224R1 7 12/24/2025
9.15.0-build20251224R1 7 12/24/2025
9.14.4-build20251224R1 7 12/24/2025
9.14.3-build20251224R4 7 12/24/2025
9.14.2-build20251224R1 7 12/24/2025
9.14.1-build20251224R1 7 12/24/2025
9.14.0-build20251223R1 9 12/23/2025
9.3.0-build20251223R4 7 12/23/2025
9.3.0-build20251223R3 10 12/23/2025
9.3.0-build20251223R2 9 12/23/2025
9.3.0-build20251223R1 8 12/23/2025
9.3.0-build20251222R2 10 12/22/2025
9.3.0-build20251222R1 9 12/22/2025
9.2.0-build20251222R2 10 12/22/2025
9.2.0-build20251222R1 10 12/22/2025
1.1.0-build20251224R1 7 12/24/2025