pub fn parse_json_entry(name: &str, value: &Value) -> Option<Candidate>Expand description
Parse one server entry from any of the JSON-shaped harnesses.
Returns None when the entry is disabled, malformed, or describes neither a
command nor a URL - an entry Leviath cannot connect to is not a candidate.
Precedence is URL over command. Several harnesses carry both (a stdio
fallback alongside a hosted endpoint), and MCPServerConfig::resolve
rejects an entry that sets both without an explicit transport, so exactly
one is kept and the transport is stated outright.