From b0728aba5c01842e24da3cff04e44be06c6bb655 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 19 三月 2026 13:38:38 +0800
Subject: [PATCH] #AI.去除多余mcp

---
 rsf-admin/src/api/ai/mcpMount.js |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/rsf-admin/src/api/ai/mcpMount.js b/rsf-admin/src/api/ai/mcpMount.js
index 399d0c9..fd16af3 100644
--- a/rsf-admin/src/api/ai/mcpMount.js
+++ b/rsf-admin/src/api/ai/mcpMount.js
@@ -9,6 +9,24 @@
     throw new Error(msg || "鑾峰彇宸ュ叿鍒楄〃澶辫触");
 };
 
+export const testMcpConnectivity = async (mountId) => {
+    const res = await request.post(`aiMcpMount/${mountId}/connectivity/test`);
+    const { code, msg, data } = res.data;
+    if (code === 200) {
+        return data;
+    }
+    throw new Error(msg || "杩為�氭�ф祴璇曞け璐�");
+};
+
+export const validateDraftMcpConnectivity = async (payload) => {
+    const res = await request.post("aiMcpMount/connectivity/validate-draft", payload);
+    const { code, msg, data } = res.data;
+    if (code === 200) {
+        return data;
+    }
+    throw new Error(msg || "鑽夌杩為�氭�ф祴璇曞け璐�");
+};
+
 export const testMcpTool = async (mountId, payload) => {
     const res = await request.post(`aiMcpMount/${mountId}/tool/test`, payload);
     const { code, msg, data } = res.data;

--
Gitblit v1.9.1