* 更新服务器配置
(config: Partial<MCPServerConfigFile>)
| 132 | * 更新服务器配置 |
| 133 | */ |
| 134 | updateServerConfig(config: Partial<MCPServerConfigFile>): void { |
| 135 | this.config.server = { |
| 136 | ...this.config.server, |
| 137 | ...config, |
| 138 | }; |
| 139 | this.saveConfig(); |
| 140 | } |
| 141 | |
| 142 | /** |
| 143 | * 获取服务器配置 |
nothing calls this directly
no test coverage detected