(
&self,
existing_content: &str,
new_servers: &BTreeMap<&str, &McpServerConfig>,
)
| 318 | } |
| 319 | |
| 320 | fn merge( |
| 321 | &self, |
| 322 | existing_content: &str, |
| 323 | new_servers: &BTreeMap<&str, &McpServerConfig>, |
| 324 | ) -> Result<String> { |
| 325 | merge_standard_mcp( |
| 326 | existing_content, |
| 327 | new_servers, |
| 328 | "Failed to parse existing MCP config as JSON", |
| 329 | ) |
| 330 | } |
| 331 | |
| 332 | fn cleanup_removed_servers( |
| 333 | &self, |