Revert "🚉 feat: MCP Registry Individual Server Init (#9887)"

This reverts commit b8720a9b7a.
This commit is contained in:
Danny Avila 2025-09-30 09:39:19 -04:00
parent dfe236acb5
commit 4777bd22c5
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
6 changed files with 81 additions and 257 deletions

View file

@ -450,7 +450,7 @@ async function getMCPSetupData(userId) {
logger.error(`[MCP][User: ${userId}] Error getting app connections:`, error);
}
const userConnections = mcpManager.getUserConnections(userId) || new Map();
const oauthServers = mcpManager.getOAuthServers();
const oauthServers = mcpManager.getOAuthServers() || new Set();
return {
mcpConfig,

View file

@ -170,7 +170,7 @@ describe('tests for the new helper functions used by the MCP connection status e
const mockMCPManager = {
appConnections: { getAll: jest.fn(() => null) },
getUserConnections: jest.fn(() => null),
getOAuthServers: jest.fn(() => new Set()),
getOAuthServers: jest.fn(() => null),
};
mockGetMCPManager.mockReturnValue(mockMCPManager);