Skip to main content

replace_server_in_config

Function replace_server_in_config 

Source
pub fn replace_server_in_config(
    path: &Path,
    name: &str,
    server: McpServerConfig,
) -> Result<(), Error>
Expand description

Replace an existing server block (full document for that key). Errors if the name is missing.