From 35f3120badb892a74d1dd04f38cd3444b181e69a Mon Sep 17 00:00:00 2001 From: Barry Walker Date: Tue, 13 Jan 2026 17:23:05 -0500 Subject: [PATCH] fix: restore /mcp path for MapMcp endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The health probes expect the endpoint at /mcp. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- PaperlessMCP/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PaperlessMCP/Program.cs b/PaperlessMCP/Program.cs index 2b33d76..8d51d68 100644 --- a/PaperlessMCP/Program.cs +++ b/PaperlessMCP/Program.cs @@ -46,7 +46,7 @@ else var port = app.Configuration.GetValue("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);