Skip to main content

parse_codex

Function parse_codex 

Source
pub fn parse_codex(contents: &str) -> Result<Vec<Candidate>>
Expand description

Codex’s ~/.codex/config.toml, whose servers live in an [mcp_servers] table. Reuses the JSON entry parser by converting the TOML table through serde_json::Value - the field names are identical, and one tolerant entry parser beats two that must be kept in step.