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

Method setPluginMcpServerEnabled

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

Source from the content-addressed store, hash-verified

451 }
452
453 async setPluginMcpServerEnabled(
454 id: string,
455 server: string,
456 enabled: boolean,
457 ): Promise<void> {
458 this.ensureOpen();
459 await this.rpc.setPluginMcpServerEnabled(id, server, enabled);
460 }
461
462 async removePlugin(id: string): Promise<void> {
463 this.ensureOpen();

Callers 3

handlePluginsCommandFunction · 0.45
handlePluginMcpSelectionFunction · 0.45

Calls 1

ensureOpenMethod · 0.95

Tested by

no test coverage detected