mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
refactor: Update MCP endpoint to use prefix directly instead of appending '/mcp'
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user