pub fn write_mcp_server(
path: &Path,
name: &str,
config: &McpServerConfig,
) -> Result<(), ConfigError>Expand description
Replace one [mcp.servers.<name>] table while preserving every unrelated
item and comment. The candidate is accepted only when the strict loader can
parse it as a complete configuration layer.