MCPcopy Create free account
hub / github.com/echoVic/blade-code / updateClientConfig

Method updateClientConfig

src/mcp/config/MCPConfig.ts:116–122  ·  view source on GitHub ↗

* 更新客户端配置

(config: Partial<MCPClientConfig>)

Source from the content-addressed store, hash-verified

114 * 更新客户端配置
115 */
116 updateClientConfig(config: Partial<MCPClientConfig>): void {
117 this.config.client = {
118 ...this.config.client,
119 ...config,
120 };
121 this.saveConfig();
122 }
123
124 /**
125 * 获取客户端配置

Callers

nothing calls this directly

Calls 1

saveConfigMethod · 0.95

Tested by

no test coverage detected