Skip to main content

delete

Function delete 

Source
pub async fn delete(
    registry: &Arc<McpRegistry>,
    manager: Option<&Arc<SettingsManager>>,
    name: &str,
) -> Result<SaveResult, String>
Expand description

Remove a server from the store and from the live registry.

Removal applies immediately even when connected: the caller’s intent is that the server stop being used, and leaving it running would contradict that.