Skip to content

feat(schema): add subscriptions/listen response#2953

Open
kurtisvg wants to merge 1 commit into
mainfrom
subscriptions-listen-response
Open

feat(schema): add subscriptions/listen response#2953
kurtisvg wants to merge 1 commit into
mainfrom
subscriptions-listen-response

Conversation

@kurtisvg

Copy link
Copy Markdown
Contributor

subscriptions/listen was the only request without a response object. Add an empty SubscriptionsListenResult, sent by the server to signal a graceful end of the subscription (e.g. during shutdown), distinct from an abrupt transport drop which carries no response. Like other stream messages it carries the subscriptionId in _meta.

Also add the subscriptionId to the stream notification examples that were missing it, matching the spec requirement that all stream messages carry it.

Fixes #2926

subscriptions/listen was the only request without a response object. Add an
empty SubscriptionsListenResult, sent by the server to signal a graceful end of
the subscription (e.g. during shutdown), distinct from an abrupt transport drop
which carries no response. Like other stream messages it carries the
subscriptionId in _meta.

Also add the subscriptionId to the stream notification examples that were
missing it, matching the spec requirement that all stream messages carry it.
@kurtisvg kurtisvg requested a review from a team as a code owner June 19, 2026 20:08
@mintlify

mintlify Bot commented Jun 19, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mcp-staging 🟢 Ready View Preview Jun 19, 2026, 8:12 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jun 19, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mcp 🟢 Ready View Preview Jun 19, 2026, 8:15 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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.

Add an acknowledgment response to subscriptions/listen

1 participant