From 0fa9964799df89a93322e5bea36d4db9ebeee82a Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Sat, 13 Jun 2026 20:34:28 +0800 Subject: [PATCH] fix: add installMcpServer stub to http.ts --- apps/desktop/src/lib/http.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/desktop/src/lib/http.ts b/apps/desktop/src/lib/http.ts index 463e3ac9a2..fbc06f5e4e 100644 --- a/apps/desktop/src/lib/http.ts +++ b/apps/desktop/src/lib/http.ts @@ -1477,6 +1477,10 @@ export async function checkMcpServerStatus(): Promise { + throw new Error("MCP Server installation is only available in the desktop app."); +} + export async function getSystemProxyUrl(): Promise { return null; }