Files
deepseek-harness/packages/mcp
Tianyi Cui 0e01036a2a test(mcp-client): preserve startup error cause
Strict startup intentionally wraps connection and synchronization failures with the server-qualified activation diagnostic while retaining the original error in Error.cause. The prior assertion checked only the wrapper text, so the causal chain could regress unnoticed and erase the actionable transport failure.

Assert the full wrapper message and object identity of the original connection error in cause. This keeps operator-facing context and the underlying SDK diagnostic independently stable without changing production behavior.
2026-08-11 00:02:13 +08:00
..

MCP — Model Context Protocol

English | 中文

Packages bridging the harness to the MCP ecosystem.

Package Role
mcp-client/ MCP client bridge that registers external server tools on ctx.tools