Skip to content

Commit 0a7ea0a

Browse files
chore: update spec.types.2026-07-28.ts from upstream
1 parent 542d5c9 commit 0a7ea0a

1 file changed

Lines changed: 21 additions & 8 deletions

File tree

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

Lines changed: 21 additions & 8 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: 9d700ed62dcf86cb77475c9b81930611a9182f46
6+
* Last updated from commit: 77cb26481e439d3437bc2bd6ccd19fcae86bb1ec
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
@@ -569,7 +569,7 @@ export interface DiscoverRequest extends JSONRPCRequest {
569569
*
570570
* @category `server/discover`
571571
*/
572-
export interface DiscoverResult extends Result {
572+
export interface DiscoverResult extends CacheableResult {
573573
/**
574574
* MCP Protocol Versions this server supports. The client should choose a
575575
* version from this list for use in subsequent requests.
@@ -674,6 +674,9 @@ export interface ClientCapabilities {
674674
* (e.g., "io.modelcontextprotocol/oauth-client-credentials"), and values are
675675
* per-extension settings objects. An empty object indicates support with no settings.
676676
*
677+
* Keys MUST follow the {@link MetaObject | `_meta` key naming rules}, with a
678+
* mandatory prefix.
679+
*
677680
* @example Extensions — MCP Apps (UI) extension with MIME type support
678681
* {@includeCode ./examples/ClientCapabilities/extensions-ui-mime-types.json}
679682
*/
@@ -768,6 +771,9 @@ export interface ServerCapabilities {
768771
* (e.g., "io.modelcontextprotocol/tasks"), and values are per-extension settings
769772
* objects. An empty object indicates support with no settings.
770773
*
774+
* Keys MUST follow the {@link MetaObject | `_meta` key naming rules}, with a
775+
* mandatory prefix.
776+
*
771777
* @example Extensions — Tasks extension support
772778
* {@includeCode ./examples/ServerCapabilities/extensions-tasks.json}
773779
*/
@@ -2963,6 +2969,18 @@ export interface ElicitResult {
29632969
content?: { [key: string]: string | number | boolean | string[] };
29642970
}
29652971

2972+
/**
2973+
* Parameters for a {@link ElicitationCompleteNotification | notifications/elicitation/complete} notification.
2974+
*
2975+
* @category `notifications/elicitation/complete`
2976+
*/
2977+
export interface ElicitationCompleteNotificationParams extends NotificationParams {
2978+
/**
2979+
* The ID of the elicitation that completed.
2980+
*/
2981+
elicitationId: string;
2982+
}
2983+
29662984
/**
29672985
* An optional notification from the server to the client, informing it of a completion of a out-of-band elicitation request.
29682986
*
@@ -2973,12 +2991,7 @@ export interface ElicitResult {
29732991
*/
29742992
export interface ElicitationCompleteNotification extends JSONRPCNotification {
29752993
method: 'notifications/elicitation/complete';
2976-
params: {
2977-
/**
2978-
* The ID of the elicitation that completed.
2979-
*/
2980-
elicitationId: string;
2981-
};
2994+
params: ElicitationCompleteNotificationParams;
29822995
}
29832996

29842997
/* Client messages */

0 commit comments

Comments
 (0)