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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user