MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / setPluginMcpServerEnabled

Function setPluginMcpServerEnabled

packages/node-sdk/src/rpc.ts:619–626  ·  view source on GitHub ↗
(
    id: string,
    server: string,
    enabled: boolean,
  )

Source from the content-addressed store, hash-verified

617 }
618
619 async setPluginMcpServerEnabled(
620 id: string,
621 server: string,
622 enabled: boolean,
623 ): Promise<void> {
624 const rpc = await this.getRpc();
625 return rpc.setPluginMcpServerEnabled({ id, server, enabled });
626 }
627
628 async removePlugin(id: string): Promise<void> {
629 const rpc = await this.getRpc();

Callers

nothing calls this directly

Calls 2

getRpcMethod · 0.45

Tested by

no test coverage detected