mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-12 08:46:02 +00:00
feat: add mcp servers
This commit is contained in:
@@ -521,8 +521,8 @@ export class BackendClient extends BaseHttpClient {
|
||||
serverName: string,
|
||||
target_enabled: boolean,
|
||||
): Promise<AsyncTaskCreatedResp> {
|
||||
return this.put(`/api/v1/mcp/servers/${serverName}/toggle`, {
|
||||
target_enabled,
|
||||
return this.put(`/api/v1/mcp/servers/${serverName}`, {
|
||||
enable: target_enabled,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user