Skip to content

Commit 161403a

Browse files
chore: update spec.types.2026-07-28.ts from upstream
1 parent e81758c commit 161403a

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

packages/core-internal/src/types/spec.types.2026-07-28.ts

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Source: https://github.com/modelcontextprotocol/modelcontextprotocol
55
* Pulled from: https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/schema/draft/schema.ts
6-
* Last updated from commit: f68d864a813754e188c6df52dcc5772a12f96c63
6+
* Last updated from commit: 9a4ff8af92ba00cbddbf94672dfade9279987e66
77
*
88
* DO NOT EDIT THIS FILE MANUALLY. Changes will be overwritten by automated updates.
99
* To update this file, run: pnpm run fetch:spec-types 2026-07-28
@@ -1333,10 +1333,16 @@ export interface SubscriptionsAcknowledgedNotificationParams extends Notificatio
13331333
}
13341334

13351335
/**
1336-
* Sent by the server as the first message on a
1337-
* {@link SubscriptionsListenRequest | subscriptions/listen} stream to acknowledge
1338-
* that the subscription has been established and to report which notification
1339-
* types it agreed to honor.
1336+
* Sent by the server to acknowledge that a
1337+
* {@link SubscriptionsListenRequest | subscriptions/listen} subscription has been
1338+
* established and to report which notification types it agreed to honor.
1339+
*
1340+
* This notification MUST be the first message the server sends carrying the
1341+
* subscription's ID in `io.modelcontextprotocol/subscriptionId`. The server MUST
1342+
* NOT send any notification on the subscription before acknowledging it. On
1343+
* stdio, where every subscription shares one channel, this ordering is defined
1344+
* per subscription ID and not per channel: messages belonging to other
1345+
* subscriptions MAY be interleaved before it.
13401346
*
13411347
* @example Listen acknowledged
13421348
* {@includeCode ./examples/SubscriptionsAcknowledgedNotification/listen-acknowledged.json}

0 commit comments

Comments
 (0)