From 10b575b2f9831e8d6026ceeb28267e823b4b524d Mon Sep 17 00:00:00 2001 From: Haileyesus Date: Sat, 18 Apr 2026 13:09:44 +0300 Subject: [PATCH] refactor(cursor): remove SSE from CursorMcpProvider constructor and error message --- server/modules/providers/list/cursor/cursor-mcp.provider.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/modules/providers/list/cursor/cursor-mcp.provider.ts b/server/modules/providers/list/cursor/cursor-mcp.provider.ts index 107792c5..007add53 100644 --- a/server/modules/providers/list/cursor/cursor-mcp.provider.ts +++ b/server/modules/providers/list/cursor/cursor-mcp.provider.ts @@ -15,7 +15,7 @@ import { export class CursorMcpProvider extends McpProvider { constructor() { - super('cursor', ['user', 'project'], ['stdio', 'http', 'sse']); + super('cursor', ['user', 'project'], ['stdio', 'http']); } protected async readScopedServers(scope: McpScope, workspacePath: string): Promise> { @@ -57,7 +57,7 @@ export class CursorMcpProvider extends McpProvider { } if (!input.url?.trim()) { - throw new AppError('url is required for http/sse MCP servers.', { + throw new AppError('url is required for http MCP servers.', { code: 'MCP_URL_REQUIRED', statusCode: 400, });