Files
Leslie Richardson 3402a88f39 Fix incorrect MapMcp default-path guidance in mcp-csharp-create
The HTTP transport example and "Key HTTP details" claimed plain
`app.MapMcp()` "defaults to /mcp". The C# MCP SDK signature is
`MapMcp(this IEndpointRouteBuilder endpoints, string pattern = "")`,
which maps at the root route ("/"), not "/mcp". This mismatch can
anchor models to generate `/mcp` client URLs against a root-mapped
server, producing 404s.

Map the endpoint explicitly with `app.MapMcp("/mcp")` and correct the
"Key HTTP details" text to describe the pattern argument accurately and
point clients at a matching URL. Aligns with references/transport-config.md,
which already documents the pattern as a custom path prefix.

Refs dotnet/skills#889.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6a8ce111-58e5-48a7-9f7f-8de972bdc693
2026-07-23 16:23:47 -07:00
..