Skip to main content

connect_client

Function connect_client 

Source
pub fn connect_client(
    adapter: &ClientAdapter,
    project_dir: &Path,
    key_file: &str,
    extra_args: &[String],
) -> Result<ConnectOutcome, MurkError>
Expand description

Upsert the murk server into adapter’s config under project_dir, writing only a MURK_KEY_FILE path (key_file) + MURK_AGENT=1 and any extra_args after mcp. Preserves every other server and comment; atomic (temp+rename).