(name, enabled)
| 76 | * @returns {Promise} - 切换结果 |
| 77 | */ |
| 78 | export const updateMcpServerStatus = async (name, enabled) => { |
| 79 | return apiAdminPut(`${BASE_URL}/${encodeURIComponent(name)}/status`, { enabled }) |
| 80 | } |
| 81 | |
| 82 | // ============================================================================= |
| 83 | // === MCP 工具管理 === |
nothing calls this directly
no test coverage detected