fix: restore /mcp path for MapMcp endpoint

The health probes expect the endpoint at /mcp.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Barry Walker
2026-01-13 17:23:05 -05:00
parent eed1e4535c
commit 35f3120bad
+1 -1
View File
@@ -46,7 +46,7 @@ else
var port = app.Configuration.GetValue<int?>("Mcp:Port")
?? (Environment.GetEnvironmentVariable("MCP_PORT") is string portStr && int.TryParse(portStr, out var p) ? p : 5000);
app.MapMcp();
app.MapMcp("/mcp");
app.Logger.LogInformation("PaperlessMCP server starting on port {Port}", port);
app.Logger.LogInformation("MCP endpoint available at: http://localhost:{Port}/mcp", port);