Files
deepseek-harness/packages/mcp
lintianle f38111e5ca fix: handle MCP transport disconnect and concurrent tool re-sync
- Add client.onclose handler to unregister tools when the MCP server
  disconnects (crash or intentional close)
- Replace bare `let disposers` with a shared mutable state object so the
  effect disposer and notification handler always reference the current
  generation
- Serialize tools/list_changed resyncs with latest-wins coalescing
  (syncing + pendingResync flags) to prevent concurrent races
2026-07-08 12:04:33 +08:00
..

MCP — Model Context Protocol

Packages bridging the harness to the MCP ecosystem.

Package Role
mcp-client/ MCP client bridge: connects to external MCP servers and registers their tools on ctx.tools