Merge branch 'refactor/unified-provider-runtime' of https://github.com/siteboon/claudecodeui into refactor/unified-provider-runtime

This commit is contained in:
Haileyesus
2026-04-18 13:35:04 +03:00

View File

@@ -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<Record<string, unknown>> {
@@ -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,
});