Group of 2 You'll notice
Loading an MCP server config file now always reports whether it's present and distinguishes invalid-schema errors from other failures
What
Loading an MCP (Model Context Protocol) config file was made more precise about what went wrong:
- The loader now treats
ENOTDIRthe same asENOENTas a "file not found" condition. - The parsing result now always carries a
present: truemarker, including on the malformed- or oversized-file error path, and logs telemetry with ascopepayload. - On failure, the parser now discriminates between an invalid-schema failure (reported as
mcp_config_invalid_schema) and other parse failures, replacing a telemetry call that had unconditionally reported success.
Why
This gives more accurate feedback about MCP config problems, so a missing file, a malformed file, and a file that fails schema validation can be told apart instead of being lumped into one generic failure.