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

Method removeServer

src/mcp/config/MCPConfig.ts:94–97  ·  view source on GitHub ↗

* 移除服务器配置

(name: string)

Source from the content-addressed store, hash-verified

92 * 移除服务器配置
93 */
94 removeServer(name: string): void {
95 delete this.config.servers[name];
96 this.saveConfig();
97 }
98
99 /**
100 * 获取服务器配置

Callers 1

mcpCommandFunction · 0.80

Calls 1

saveConfigMethod · 0.95

Tested by

no test coverage detected