fix(server): debounce list changed notifications#1983
fix(server): debounce list changed notifications#1983Genmin wants to merge 5 commits intomodelcontextprotocol:mainfrom
Conversation
🦋 Changeset detectedLatest commit: a89aa4f The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@modelcontextprotocol/client
@modelcontextprotocol/server
@modelcontextprotocol/express
@modelcontextprotocol/fastify
@modelcontextprotocol/hono
@modelcontextprotocol/node
commit: |
|
Added the missing patch changeset for the touched server/integration packages. The previous red test was isolated to the unrelated Miniflare Cloudflare Worker |
88c8e5e to
30d4ff1
Compare
|
Pushed one more empty retry after inspecting the latest red job. It is still isolated to |
Summary
Fixes #842.
McpServernow enables the existing protocol-level debouncer for the three simple list-changed notifications emitted by dynamic resources, tools, and prompts. Rapid synchronous registrations still send a refresh signal to clients, but coalesce into one notification per method per tick instead of queuing one transport write per registration.This targets the backpressure/listener-warning path without adding a new bulk registration API or changing notifications that carry params or request/task routing metadata.
Validation