MCPcopy Index your code
hub / github.com/xerrors/Yuxi / updateMcpServerStatus

Function updateMcpServerStatus

web/src/apis/mcp_api.js:78–80  ·  view source on GitHub ↗
(name, enabled)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

apiAdminPutFunction · 0.90

Tested by

no test coverage detected