feat: add mcp from sse on frontend

This commit is contained in:
wangcham
2025-10-13 12:51:58 +00:00
parent d65f862c36
commit 68372a4b7a
3 changed files with 104 additions and 29 deletions

View File

@@ -552,6 +552,12 @@ export class BackendClient extends BaseHttpClient {
return this.post('/api/v1/mcp/install/github', { source });
}
public installMCPServerFromSSE(
source: {},
): Promise<AsyncTaskCreatedResp> {
return this.post('/api/v1/mcp/install/sse', { source });
}
// ============ System API ============
public getSystemInfo(): Promise<ApiRespSystemInfo> {
return this.get('/api/v1/system/info');