Skip to main content

install

Function install 

Source
pub fn install(
    packs: &mut PackRegistry,
    config: Value,
) -> Result<(), InstallError>
Expand description

The Plugin: inserts the mcp Pack into packs with config["mcp"], which is null, meaning no servers, when config has no mcp key.

§Errors

Returns the registry’s [InstallError], such as [InstallError::DuplicatePack] when packs holds runvil/mcp already.