From a7782564a2f2f54392b2055ccf422cb2e1f27716 Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Tue, 3 Mar 2026 21:01:32 +0000 Subject: [PATCH] refactor: Update MCP endpoint to use prefix directly instead of appending '/mcp' --- App/FeatureSet/MCP/Handlers/RouteHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/FeatureSet/MCP/Handlers/RouteHandler.ts b/App/FeatureSet/MCP/Handlers/RouteHandler.ts index 094c1c55ec..391548b56b 100644 --- a/App/FeatureSet/MCP/Handlers/RouteHandler.ts +++ b/App/FeatureSet/MCP/Handlers/RouteHandler.ts @@ -70,7 +70,7 @@ function setupRoutesForPrefix( prefix: string, tools: McpToolInfo[], ): void { - const mcpEndpoint: string = `${prefix}/mcp`; + const mcpEndpoint: string = prefix; const mcpHandler: McpHandlerFunction = createMCPHandler(); // MCP endpoint for all methods (GET for SSE, POST for requests, DELETE for cleanup)