Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 21 additions & 8 deletions packages/core/src/types/spec.types.2026-07-28.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Source: https://github.com/modelcontextprotocol/modelcontextprotocol
* Pulled from: https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/schema/draft/schema.ts
* Last updated from commit: 9d700ed62dcf86cb77475c9b81930611a9182f46
* Last updated from commit: 77cb26481e439d3437bc2bd6ccd19fcae86bb1ec
*
* DO NOT EDIT THIS FILE MANUALLY. Changes will be overwritten by automated updates.
* To update this file, run: pnpm run fetch:spec-types 2026-07-28
Expand Down Expand Up @@ -569,7 +569,7 @@ export interface DiscoverRequest extends JSONRPCRequest {
*
* @category `server/discover`
*/
export interface DiscoverResult extends Result {
export interface DiscoverResult extends CacheableResult {
/**
* MCP Protocol Versions this server supports. The client should choose a
* version from this list for use in subsequent requests.
Expand Down Expand Up @@ -674,6 +674,9 @@ export interface ClientCapabilities {
* (e.g., "io.modelcontextprotocol/oauth-client-credentials"), and values are
* per-extension settings objects. An empty object indicates support with no settings.
*
* Keys MUST follow the {@link MetaObject | `_meta` key naming rules}, with a
* mandatory prefix.
*
* @example Extensions — MCP Apps (UI) extension with MIME type support
* {@includeCode ./examples/ClientCapabilities/extensions-ui-mime-types.json}
*/
Expand Down Expand Up @@ -768,6 +771,9 @@ export interface ServerCapabilities {
* (e.g., "io.modelcontextprotocol/tasks"), and values are per-extension settings
* objects. An empty object indicates support with no settings.
*
* Keys MUST follow the {@link MetaObject | `_meta` key naming rules}, with a
* mandatory prefix.
*
* @example Extensions — Tasks extension support
* {@includeCode ./examples/ServerCapabilities/extensions-tasks.json}
*/
Expand Down Expand Up @@ -2963,6 +2969,18 @@ export interface ElicitResult {
content?: { [key: string]: string | number | boolean | string[] };
}

/**
* Parameters for a {@link ElicitationCompleteNotification | notifications/elicitation/complete} notification.
*
* @category `notifications/elicitation/complete`
*/
export interface ElicitationCompleteNotificationParams extends NotificationParams {
/**
* The ID of the elicitation that completed.
*/
elicitationId: string;
}

/**
* An optional notification from the server to the client, informing it of a completion of a out-of-band elicitation request.
*
Expand All @@ -2973,12 +2991,7 @@ export interface ElicitResult {
*/
export interface ElicitationCompleteNotification extends JSONRPCNotification {
method: 'notifications/elicitation/complete';
params: {
/**
* The ID of the elicitation that completed.
*/
elicitationId: string;
};
params: ElicitationCompleteNotificationParams;
}

/* Client messages */
Expand Down