Skip to main content

load_mcp_config

Function load_mcp_config 

Source
pub fn load_mcp_config() -> Result<McpConfig>
Expand description

Loads MCP configuration from ~/.claude/mcp.json.

Delegates to load_mcp_config_from after resolving the default path.

ยงErrors

Returns an error if the home directory cannot be determined, the file cannot be read, or the JSON is malformed.