Skip to main content

load

Function load 

Source
pub fn load(
    agent_dir: &Path,
    project_dir: &Path,
    project_trusted: bool,
    keep: Option<&[String]>,
) -> LoadedConfig
Expand description

Loads the global and, when trusted, the mcp.json of the project in project_dir. Disabled servers are included. With keep, as in a project-only run, the global file gives only the servers whose names match its patterns.