From 35ca5987d252b6cf5684268b68d4c7344d0c0b2d Mon Sep 17 00:00:00 2001 From: Sergey Androsov Date: Wed, 27 Aug 2025 13:30:51 +0300 Subject: [PATCH] FR-1847 - "Register MCP Server" reports an error for any MCP Server with OAuth authorization --- src/mcp-services.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mcp-services.js b/src/mcp-services.js index bf3a885..ab3e75a 100644 --- a/src/mcp-services.js +++ b/src/mcp-services.js @@ -4,6 +4,7 @@ import { prepareRoutes } from './utils/routes' const routes = prepareRoutes({ integrationMcpClient : '/api/node-server/manage/app/:appId/integration/mcp/clients', integrationMcpClientValidate: '/api/node-server/manage/app/:appId/integration/mcp/clients/validate', + integrationMcpClientCheckOAuth: '/api/node-server/manage/app/:appId/integration/mcp/clients/check-oauth', }) export default req => ({ @@ -25,5 +26,9 @@ export default req => ({ validateMcpConnection(appId, data) { return req.nodeAPI.post(routes.integrationMcpClientValidate(appId), data) + }, + + checkOAuthForMCPClient(appId, data) { + return req.nodeAPI.post(routes.integrationMcpClientCheckOAuth(appId), data) } })