Skip to content

fix(server): support extension subscription notifications - #2593

Draft
SnowSky1 wants to merge 2 commits into
modelcontextprotocol:mainfrom
SnowSky1:fix/extension-subscription-notifications
Draft

fix(server): support extension subscription notifications#2593
SnowSky1 wants to merge 2 commits into
modelcontextprotocol:mainfrom
SnowSky1:fix/extension-subscription-notifications

Conversation

@SnowSky1

@SnowSky1 SnowSky1 commented Jul 31, 2026

Copy link
Copy Markdown

Summary

  • preserve extension-namespaced keys in subscriptions/listen filters and acknowledgements
  • add a generic ServerNotifier.extension() event path filtered by the requested extension key
  • cover io.modelcontextprotocol/tasks / notifications/tasks through schema, event-bus, and createMcpHandler tests

Fixes #2569.

Validation

  • core schema tests: 3/3
  • server focused tests: 25/25
  • full pre-push hook: build, lint, and typecheck

Stack note

This draft currently includes #2592 as its first commit because that baseline fix is required for the repository pre-push lint gate. I will rebase this PR onto main after #2592 lands so this diff contains only the extension-subscription commit.

SnowSky1 and others added 2 commits July 31, 2026 01:07
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jul 31, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7b63522

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@modelcontextprotocol/server Patch
@modelcontextprotocol/core Patch
@modelcontextprotocol/client Patch
@modelcontextprotocol/core-internal Patch
@modelcontextprotocol/server-legacy Patch
@modelcontextprotocol/codemod Patch

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

@SnowSky1 SnowSky1 changed the title Fix/extension subscription notifications fix(server): support extension subscription notifications Jul 31, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jul 31, 2026

Copy link
Copy Markdown

Open in StackBlitz

@modelcontextprotocol/client

npm i https://pkg.pr.new/@modelcontextprotocol/client@2593

@modelcontextprotocol/codemod

npm i https://pkg.pr.new/@modelcontextprotocol/codemod@2593

@modelcontextprotocol/core

npm i https://pkg.pr.new/@modelcontextprotocol/core@2593

@modelcontextprotocol/server

npm i https://pkg.pr.new/@modelcontextprotocol/server@2593

@modelcontextprotocol/server-legacy

npm i https://pkg.pr.new/@modelcontextprotocol/server-legacy@2593

@modelcontextprotocol/express

npm i https://pkg.pr.new/@modelcontextprotocol/express@2593

@modelcontextprotocol/fastify

npm i https://pkg.pr.new/@modelcontextprotocol/fastify@2593

@modelcontextprotocol/hono

npm i https://pkg.pr.new/@modelcontextprotocol/hono@2593

@modelcontextprotocol/node

npm i https://pkg.pr.new/@modelcontextprotocol/node@2593

commit: 7b63522

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

subscriptions/listen cannot carry extension notifications (blocks notifications/tasks)

1 participant