From 3d81df739dc45599c257d8cdefe0996f66ccdeae Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 19 三月 2026 12:18:14 +0800
Subject: [PATCH] #AI.MCP 管理增强

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

diff --git a/rsf-admin/src/api/ai/mcpMount.js b/rsf-admin/src/api/ai/mcpMount.js
index 399d0c9..bd8a831 100644
--- a/rsf-admin/src/api/ai/mcpMount.js
+++ b/rsf-admin/src/api/ai/mcpMount.js
@@ -9,6 +9,15 @@
     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 testMcpTool = async (mountId, payload) => {
     const res = await request.post(`aiMcpMount/${mountId}/tool/test`, payload);
     const { code, msg, data } = res.data;

--
Gitblit v1.9.1