MCP discovery loses successfully fetched tools after resources/list transport failure

Hello Qoder Team,

I have completed a read-only investigation of an MCP discovery failure in Qoder Desktop 0.4.3 (Build 76166284).

The primary issue appears to be that MCP discovery fetches prompts, tools, and resources sequentially, but registers the fetched tools only after resource discovery completes. When resources/list fails with a transport error (ECONNRESET), successfully fetched tools are discarded.

The investigation also identified a capability mismatch: Qoder’s MCP router advertises resource support even when the backing stdio server does not declare that capability.

I have documented the reproduction evidence, relevant implementation paths, confirmed defects, unresolved questions, proposed fixes, and regression tests in the attached Revision 2 report.

Please review the report and investigate the discovery and capability-handling behaviour.

Important: The investigation was read-only. No Qoder application files, REA package files, or project files were modified.

Thank you.

Please update to the latest version and check if the issue persists. If it does, please submit a bug report via the feedback button in the bottom-right corner and send us the feedback code so we can analyze the logs.