diff --git a/.gitattributes b/.gitattributes index 1afcec4..b11f1d6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ yarn.lock linguist-generated=true +packages/**/* linguist-generated=true diff --git a/packages/mcp-typescript/dist/client/index.js b/packages/mcp-typescript/dist/client/index.js index f5976b2..fa99b0e 100644 --- a/packages/mcp-typescript/dist/client/index.js +++ b/packages/mcp-typescript/dist/client/index.js @@ -18,7 +18,7 @@ export class Client extends Protocol { const result = await this.request({ method: "initialize", params: { - protocolVersion: 1, + protocolVersion: PROTOCOL_VERSION, capabilities: {}, clientInfo: this._clientInfo, }, diff --git a/packages/mcp-typescript/dist/client/index.js.map b/packages/mcp-typescript/dist/client/index.js.map index 9d0a3ef..82bcf87 100644 --- a/packages/mcp-typescript/dist/client/index.js.map +++ b/packages/mcp-typescript/dist/client/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,OAAO,EAKL,sBAAsB,EACtB,gBAAgB,GAEjB,MAAM,aAAa,CAAC;AAErB;;;;GAIG;AACH,MAAM,OAAO,MAAO,SAAQ,QAI3B;IAIC;;OAEG;IACH,YAAoB,WAA2B;QAC7C,KAAK,EAAE,CAAC;QADU,gBAAW,GAAX,WAAW,CAAgB;IAE/C,CAAC;IAEQ,KAAK,CAAC,OAAO,CAAC,SAAoB;QACzC,MAAM,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAE/B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAC/B;YACE,MAAM,EAAE,YAAY;YACpB,MAAM,EAAE;gBACN,eAAe,EAAE,CAAC;gBAClB,YAAY,EAAE,EAAE;gBAChB,UAAU,EAAE,IAAI,CAAC,WAAW;aAC7B;SACF,EACD,sBAAsB,CACvB,CAAC;QAEF,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,MAAM,IAAI,KAAK,CAAC,0CAA0C,MAAM,EAAE,CAAC,CAAC;QACtE,CAAC;QAED,IAAI,MAAM,CAAC,eAAe,KAAK,gBAAgB,EAAE,CAAC;YAChD,MAAM,IAAI,KAAK,CACb,+CAA+C,MAAM,CAAC,eAAe,EAAE,CACxE,CAAC;QACJ,CAAC;QAED,IAAI,CAAC,mBAAmB,GAAG,MAAM,CAAC,YAAY,CAAC;QAC/C,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC;QAExC,MAAM,IAAI,CAAC,YAAY,CAAC;YACtB,MAAM,EAAE,2BAA2B;SACpC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,mBAAmB,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,gBAAgB;QACd,OAAO,IAAI,CAAC,cAAc,CAAC;IAC7B,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,OAAO,EAKL,sBAAsB,EACtB,gBAAgB,GAEjB,MAAM,aAAa,CAAC;AAErB;;;;GAIG;AACH,MAAM,OAAO,MAAO,SAAQ,QAI3B;IAIC;;OAEG;IACH,YAAoB,WAA2B;QAC7C,KAAK,EAAE,CAAC;QADU,gBAAW,GAAX,WAAW,CAAgB;IAE/C,CAAC;IAEQ,KAAK,CAAC,OAAO,CAAC,SAAoB;QACzC,MAAM,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAE/B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAC/B;YACE,MAAM,EAAE,YAAY;YACpB,MAAM,EAAE;gBACN,eAAe,EAAE,gBAAgB;gBACjC,YAAY,EAAE,EAAE;gBAChB,UAAU,EAAE,IAAI,CAAC,WAAW;aAC7B;SACF,EACD,sBAAsB,CACvB,CAAC;QAEF,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,MAAM,IAAI,KAAK,CAAC,0CAA0C,MAAM,EAAE,CAAC,CAAC;QACtE,CAAC;QAED,IAAI,MAAM,CAAC,eAAe,KAAK,gBAAgB,EAAE,CAAC;YAChD,MAAM,IAAI,KAAK,CACb,+CAA+C,MAAM,CAAC,eAAe,EAAE,CACxE,CAAC;QACJ,CAAC;QAED,IAAI,CAAC,mBAAmB,GAAG,MAAM,CAAC,YAAY,CAAC;QAC/C,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC;QAExC,MAAM,IAAI,CAAC,YAAY,CAAC;YACtB,MAAM,EAAE,2BAA2B;SACpC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,mBAAmB,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,gBAAgB;QACd,OAAO,IAAI,CAAC,cAAc,CAAC;IAC7B,CAAC;CACF"} \ No newline at end of file diff --git a/packages/mcp-typescript/dist/types.d.ts b/packages/mcp-typescript/dist/types.d.ts index 306a99a..b590a63 100644 --- a/packages/mcp-typescript/dist/types.d.ts +++ b/packages/mcp-typescript/dist/types.d.ts @@ -1,9 +1,14 @@ import { z } from "zod"; +export declare const PROTOCOL_VERSION = "2024-10-07"; export declare const JSONRPC_VERSION = "2.0"; /** * A progress token, used to associate progress notifications with the original request. */ export declare const ProgressTokenSchema: z.ZodUnion<[z.ZodString, z.ZodNumber]>; +/** + * An opaque token used to represent a cursor for pagination. + */ +export declare const CursorSchema: z.ZodString; export declare const RequestSchema: z.ZodObject<{ method: z.ZodString; params: z.ZodOptional | undefined; }>; -export declare const PROTOCOL_VERSION = 1; /** * Text provided to or from an LLM. */ @@ -816,7 +820,7 @@ export declare const InitializeRequestSchema: z.ZodObject; capabilities: z.ZodObject<{ /** * Experimental, non-standard capabilities that the client supports. @@ -844,7 +848,7 @@ export declare const InitializeRequestSchema: z.ZodObject; }, "strip", z.ZodTypeAny, { - protocolVersion: number; + protocolVersion: string | number; capabilities: { experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; @@ -854,7 +858,7 @@ export declare const InitializeRequestSchema: z.ZodObject | undefined; sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; @@ -866,7 +870,7 @@ export declare const InitializeRequestSchema: z.ZodObject; }>, "strip", z.ZodTypeAny, { params: { - protocolVersion: number; + protocolVersion: string | number; capabilities: { experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; @@ -879,7 +883,7 @@ export declare const InitializeRequestSchema: z.ZodObject | undefined; sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; @@ -906,7 +910,22 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{ /** * Present if the server offers any prompt templates. */ - prompts: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any resources to read. */ @@ -915,43 +934,98 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{ * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any tools to call. */ - tools: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>; /** * After receiving an initialize request from the client, the server sends this response. @@ -965,7 +1039,7 @@ export declare const InitializeResultSchema: z.ZodObject; capabilities: z.ZodObject<{ /** * Experimental, non-standard capabilities that the server supports. @@ -978,7 +1052,22 @@ export declare const InitializeResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any resources to read. */ @@ -987,43 +1076,98 @@ export declare const InitializeResultSchema: z.ZodObject; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any tools to call. */ - tools: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>; serverInfo: z.ZodObject<{ name: z.ZodString; @@ -1044,7 +1188,7 @@ export declare const InitializeResultSchema: z.ZodObject; capabilities: z.ZodObject<{ /** * Experimental, non-standard capabilities that the server supports. @@ -1057,7 +1201,22 @@ export declare const InitializeResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any resources to read. */ @@ -1066,43 +1225,98 @@ export declare const InitializeResultSchema: z.ZodObject; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any tools to call. */ - tools: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>; serverInfo: z.ZodObject<{ name: z.ZodString; @@ -1123,7 +1337,7 @@ export declare const InitializeResultSchema: z.ZodObject; capabilities: z.ZodObject<{ /** * Experimental, non-standard capabilities that the server supports. @@ -1136,7 +1350,22 @@ export declare const InitializeResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any resources to read. */ @@ -1145,43 +1374,98 @@ export declare const InitializeResultSchema: z.ZodObject; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any tools to call. */ - tools: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>; serverInfo: z.ZodObject<{ name: z.ZodString; @@ -1411,145 +1695,7 @@ export declare const ProgressNotificationSchema: z.ZodObject; -/** - * The contents of a specific resource or sub-resource. - */ -export declare const ResourceContentsSchema: z.ZodObject<{ - /** - * The URI of this resource. - */ - uri: z.ZodString; - /** - * The MIME type of this resource, if known. - */ - mimeType: z.ZodOptional; -}, "strip", z.ZodTypeAny, { - uri: string; - mimeType?: string | undefined; -}, { - uri: string; - mimeType?: string | undefined; -}>; -export declare const TextResourceContentsSchema: z.ZodObject; -}, { - /** - * The text of the item. This must only be set if the item can actually be represented as text (not binary data). - */ - text: z.ZodString; -}>, "strip", z.ZodTypeAny, { - text: string; - uri: string; - mimeType?: string | undefined; -}, { - text: string; - uri: string; - mimeType?: string | undefined; -}>; -export declare const BlobResourceContentsSchema: z.ZodObject; -}, { - /** - * A base64-encoded string representing the binary data of the item. - */ - blob: z.ZodString; -}>, "strip", z.ZodTypeAny, { - uri: string; - blob: string; - mimeType?: string | undefined; -}, { - uri: string; - blob: string; - mimeType?: string | undefined; -}>; -/** - * A known resource that the server is capable of reading. - */ -export declare const ResourceSchema: z.ZodObject<{ - /** - * The URI of this resource. - */ - uri: z.ZodString; - /** - * A human-readable name for this resource. - * - * This can be used by clients to populate UI elements. - */ - name: z.ZodString; - /** - * A description of what this resource represents. - * - * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. - */ - description: z.ZodOptional; - /** - * The MIME type of this resource, if known. - */ - mimeType: z.ZodOptional; -}, "strip", z.ZodTypeAny, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; -}, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; -}>; -/** - * A template description for resources available on the server. - */ -export declare const ResourceTemplateSchema: z.ZodObject<{ - /** - * A URI template (according to RFC 6570) that can be used to construct resource URIs. - */ - uriTemplate: z.ZodString; - /** - * A human-readable name for the type of resource this template refers to. - * - * This can be used by clients to populate UI elements. - */ - name: z.ZodString; - /** - * A description of what this template is for. - * - * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. - */ - description: z.ZodOptional; - /** - * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. - */ - mimeType: z.ZodOptional; -}, "strip", z.ZodTypeAny, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; -}, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; -}>; -/** - * Sent from the client to request a list of resources the server has. - */ -export declare const ListResourcesRequestSchema: z.ZodObject>>; }, z.ZodTypeAny, "passthrough">>>; }, { - method: z.ZodLiteral<"resources/list">; + params: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + cursor?: string | undefined; + }, { + cursor?: string | undefined; + }>>; }>, "strip", z.ZodTypeAny, { - method: "resources/list"; - params?: z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; + method: string; + params?: { + cursor?: string | undefined; + } | undefined; }, { - method: "resources/list"; - params?: z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; + method: string; + params?: { + cursor?: string | undefined; + } | undefined; }>; -/** - * The server's response to a resources/list request from the client. - */ -export declare const ListResourcesResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - resourceTemplates: z.ZodOptional; - /** - * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. - */ - mimeType: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">>; - resources: z.ZodOptional; - /** - * The MIME type of this resource, if known. - */ - mimeType: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">>; + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; }>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - resourceTemplates: z.ZodOptional; - /** - * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. - */ - mimeType: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">>; - resources: z.ZodOptional; - /** - * The MIME type of this resource, if known. - */ - mimeType: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }, { - name: string; - uri: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">>; + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; }>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - resourceTemplates: z.ZodOptional; +}>, z.ZodTypeAny, "passthrough">>; +/** + * The contents of a specific resource or sub-resource. + */ +export declare const ResourceContentsSchema: z.ZodObject<{ + /** + * The URI of this resource. + */ + uri: z.ZodEffects; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; +}, "strip", z.ZodTypeAny, { + uri: URL; + mimeType?: string | undefined; +}, { + uri: string; + mimeType?: string | undefined; +}>; +export declare const TextResourceContentsSchema: z.ZodObject; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; +}, { + /** + * The text of the item. This must only be set if the item can actually be represented as text (not binary data). + */ + text: z.ZodString; +}>, "strip", z.ZodTypeAny, { + text: string; + uri: URL; + mimeType?: string | undefined; +}, { + text: string; + uri: string; + mimeType?: string | undefined; +}>; +export declare const BlobResourceContentsSchema: z.ZodObject; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; +}, { + /** + * A base64-encoded string representing the binary data of the item. + */ + blob: z.ZodString; +}>, "strip", z.ZodTypeAny, { + uri: URL; + blob: string; + mimeType?: string | undefined; +}, { + uri: string; + blob: string; + mimeType?: string | undefined; +}>; +/** + * A known resource that the server is capable of reading. + */ +export declare const ResourceSchema: z.ZodObject<{ + /** + * The URI of this resource. + */ + uri: z.ZodEffects; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; +}, "strip", z.ZodTypeAny, { + name: string; + uri: URL; + mimeType?: string | undefined; + description?: string | undefined; +}, { + name: string; + uri: string; + mimeType?: string | undefined; + description?: string | undefined; +}>; +/** + * A template description for resources available on the server. + */ +export declare const ResourceTemplateSchema: z.ZodObject<{ + /** + * A URI template (according to RFC 6570) that can be used to construct resource URIs. + */ + uriTemplate: z.ZodString; + /** + * A human-readable name for the type of resource this template refers to. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this template is for. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + */ + mimeType: z.ZodOptional; +}, "strip", z.ZodTypeAny, { + name: string; + uriTemplate: string; + mimeType?: string | undefined; + description?: string | undefined; +}, { + name: string; + uriTemplate: string; + mimeType?: string | undefined; + description?: string | undefined; +}>; +/** + * Sent from the client to request a list of resources the server has. + */ +export declare const ListResourcesRequestSchema: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + params: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + cursor?: string | undefined; + }, { + cursor?: string | undefined; + }>>; +}>, { + method: z.ZodLiteral<"resources/list">; +}>, "strip", z.ZodTypeAny, { + method: "resources/list"; + params?: { + cursor?: string | undefined; + } | undefined; +}, { + method: "resources/list"; + params?: { + cursor?: string | undefined; + } | undefined; +}>; +/** + * The server's response to a resources/list request from the client. + */ +export declare const ListResourcesResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + resources: z.ZodArray; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + name: string; + uri: URL; + mimeType?: string | undefined; + description?: string | undefined; + }, { + name: string; + uri: string; + mimeType?: string | undefined; + description?: string | undefined; + }>, "many">; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + resources: z.ZodArray; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + name: string; + uri: URL; + mimeType?: string | undefined; + description?: string | undefined; + }, { + name: string; + uri: string; + mimeType?: string | undefined; + description?: string | undefined; + }>, "many">; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + resources: z.ZodArray; + /** + * A human-readable name for this resource. + * + * This can be used by clients to populate UI elements. + */ + name: z.ZodString; + /** + * A description of what this resource represents. + * + * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model. + */ + description: z.ZodOptional; + /** + * The MIME type of this resource, if known. + */ + mimeType: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + name: string; + uri: URL; + mimeType?: string | undefined; + description?: string | undefined; + }, { + name: string; + uri: string; + mimeType?: string | undefined; + description?: string | undefined; + }>, "many">; +}>, z.ZodTypeAny, "passthrough">>; +/** + * Sent from the client to request a list of resource templates the server has. + */ +export declare const ListResourceTemplatesRequestSchema: z.ZodObject>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + _meta: z.ZodOptional>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. + */ + progressToken: z.ZodOptional>; + }, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + params: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + cursor?: string | undefined; + }, { + cursor?: string | undefined; + }>>; +}>, { + method: z.ZodLiteral<"resources/templates/list">; +}>, "strip", z.ZodTypeAny, { + method: "resources/templates/list"; + params?: { + cursor?: string | undefined; + } | undefined; +}, { + method: "resources/templates/list"; + params?: { + cursor?: string | undefined; + } | undefined; +}>; +/** + * The server's response to a resources/templates/list request from the client. + */ +export declare const ListResourceTemplatesResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + resourceTemplates: z.ZodArray, "many">>; - resources: z.ZodOptional, "many">; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + resourceTemplates: z.ZodArray; /** - * The MIME type of this resource, if known. + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. */ mimeType: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; - uri: string; + uriTemplate: string; mimeType?: string | undefined; description?: string | undefined; }, { name: string; - uri: string; + uriTemplate: string; mimeType?: string | undefined; description?: string | undefined; - }>, "many">>; + }>, "many">; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; +}, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { + resourceTemplates: z.ZodArray; + /** + * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. + */ + mimeType: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + name: string; + uriTemplate: string; + mimeType?: string | undefined; + description?: string | undefined; + }, { + name: string; + uriTemplate: string; + mimeType?: string | undefined; + description?: string | undefined; + }>, "many">; }>, z.ZodTypeAny, "passthrough">>; /** * Sent from the client to the server, to read a specific resource URI. @@ -1923,15 +2440,15 @@ export declare const ReadResourceRequestSchema: z.ZodObject; }, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; }, { uri: string; }>; }>, "strip", z.ZodTypeAny, { params: { - uri: string; + uri: URL; }; method: "resources/read"; }, { @@ -1953,7 +2470,7 @@ export declare const ReadResourceResultSchema: z.ZodObject; /** * The MIME type of this resource, if known. */ @@ -1965,7 +2482,7 @@ export declare const ReadResourceResultSchema: z.ZodObject, "strip", z.ZodTypeAny, { text: string; - uri: string; + uri: URL; mimeType?: string | undefined; }, { text: string; @@ -1975,7 +2492,7 @@ export declare const ReadResourceResultSchema: z.ZodObject; /** * The MIME type of this resource, if known. */ @@ -1986,7 +2503,7 @@ export declare const ReadResourceResultSchema: z.ZodObject, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; blob: string; mimeType?: string | undefined; }, { @@ -2004,7 +2521,7 @@ export declare const ReadResourceResultSchema: z.ZodObject; /** * The MIME type of this resource, if known. */ @@ -2016,7 +2533,7 @@ export declare const ReadResourceResultSchema: z.ZodObject, "strip", z.ZodTypeAny, { text: string; - uri: string; + uri: URL; mimeType?: string | undefined; }, { text: string; @@ -2026,7 +2543,7 @@ export declare const ReadResourceResultSchema: z.ZodObject; /** * The MIME type of this resource, if known. */ @@ -2037,7 +2554,7 @@ export declare const ReadResourceResultSchema: z.ZodObject, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; blob: string; mimeType?: string | undefined; }, { @@ -2055,7 +2572,7 @@ export declare const ReadResourceResultSchema: z.ZodObject; /** * The MIME type of this resource, if known. */ @@ -2067,7 +2584,7 @@ export declare const ReadResourceResultSchema: z.ZodObject, "strip", z.ZodTypeAny, { text: string; - uri: string; + uri: URL; mimeType?: string | undefined; }, { text: string; @@ -2077,7 +2594,7 @@ export declare const ReadResourceResultSchema: z.ZodObject; /** * The MIME type of this resource, if known. */ @@ -2088,7 +2605,7 @@ export declare const ReadResourceResultSchema: z.ZodObject, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; blob: string; mimeType?: string | undefined; }, { @@ -2200,15 +2717,15 @@ export declare const SubscribeRequestSchema: z.ZodObject; }, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; }, { uri: string; }>; }>, "strip", z.ZodTypeAny, { params: { - uri: string; + uri: URL; }; method: "resources/subscribe"; }, { @@ -2280,15 +2797,15 @@ export declare const UnsubscribeRequestSchema: z.ZodObject; }, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; }, { uri: string; }>; }>, "strip", z.ZodTypeAny, { params: { - uri: string; + uri: URL; }; method: "resources/unsubscribe"; }, { @@ -2324,15 +2841,15 @@ export declare const ResourceUpdatedNotificationSchema: z.ZodObject; }, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; }, { uri: string; }>; }>, "strip", z.ZodTypeAny, { params: { - uri: string; + uri: URL; }; method: "notifications/resources/updated"; }, { @@ -2423,7 +2940,7 @@ export declare const PromptSchema: z.ZodObject<{ /** * Sent from the client to request a list of prompts and prompt templates the server has. */ -export declare const ListPromptsRequestSchema: z.ZodObject>>; }, z.ZodTypeAny, "passthrough">>>; }, { + params: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + cursor?: string | undefined; + }, { + cursor?: string | undefined; + }>>; +}>, { method: z.ZodLiteral<"prompts/list">; }>, "strip", z.ZodTypeAny, { method: "prompts/list"; - params?: z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; + params?: { + cursor?: string | undefined; + } | undefined; }, { method: "prompts/list"; - params?: z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; + params?: { + cursor?: string | undefined; + } | undefined; }>; /** * The server's response to a prompts/list request from the client. */ -export declare const ListPromptsResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { prompts: z.ZodArray, "many">; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { prompts: z.ZodArray, "many">; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { prompts: z.ZodArray, "many">; }>, z.ZodTypeAny, "passthrough">>; +/** + * An optional notification from the server to the client, informing it that the list of prompts it offers has changed. This may be issued by servers without any previous subscription from the client. + */ +export declare const PromptListChangedNotificationSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"notifications/prompts/list_changed">; +}>, "strip", z.ZodTypeAny, { + method: "notifications/prompts/list_changed"; + params?: z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}, { + method: "notifications/prompts/list_changed"; + params?: z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}>; /** * Definition for a tool the client can call. */ @@ -3022,7 +3579,7 @@ export declare const ToolSchema: z.ZodObject<{ /** * Sent from the client to request a list of tools the server has. */ -export declare const ListToolsRequestSchema: z.ZodObject>>; }, z.ZodTypeAny, "passthrough">>>; }, { + params: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + cursor?: string | undefined; + }, { + cursor?: string | undefined; + }>>; +}>, { method: z.ZodLiteral<"tools/list">; }>, "strip", z.ZodTypeAny, { method: "tools/list"; - params?: z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; + params?: { + cursor?: string | undefined; + } | undefined; }, { method: "tools/list"; - params?: z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; + params?: { + cursor?: string | undefined; + } | undefined; }>; /** * The server's response to a tools/list request from the client. */ -export declare const ListToolsResultSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { tools: z.ZodArray, "many">; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { tools: z.ZodArray, "many">; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { tools: z.ZodArray; capabilities: z.ZodObject<{ /** * Experimental, non-standard capabilities that the client supports. @@ -4361,7 +4918,7 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject; }, "strip", z.ZodTypeAny, { - protocolVersion: number; + protocolVersion: string | number; capabilities: { experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; @@ -4371,7 +4928,7 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject | undefined; sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; @@ -4383,7 +4940,7 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject; }>, "strip", z.ZodTypeAny, { params: { - protocolVersion: number; + protocolVersion: string | number; capabilities: { experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; @@ -4396,7 +4953,7 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject | undefined; sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; @@ -4723,7 +5280,7 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject | undefined; }; method: "prompts/get"; -}>, z.ZodObject, z.ZodObject>>; }, z.ZodTypeAny, "passthrough">>>; }, { + params: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + cursor?: string | undefined; + }, { + cursor?: string | undefined; + }>>; +}>, { method: z.ZodLiteral<"prompts/list">; }>, "strip", z.ZodTypeAny, { method: "prompts/list"; - params?: z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; + params?: { + cursor?: string | undefined; + } | undefined; }, { method: "prompts/list"; - params?: z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; -}>, z.ZodObject, z.ZodObject>>; }, z.ZodTypeAny, "passthrough">>>; }, { + params: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + cursor?: string | undefined; + }, { + cursor?: string | undefined; + }>>; +}>, { method: z.ZodLiteral<"resources/list">; }>, "strip", z.ZodTypeAny, { method: "resources/list"; - params?: z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; + params?: { + cursor?: string | undefined; + } | undefined; }, { method: "resources/list"; - params?: z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; + params?: { + cursor?: string | undefined; + } | undefined; }>, z.ZodObject; }, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; }, { uri: string; }>; }>, "strip", z.ZodTypeAny, { params: { - uri: string; + uri: URL; }; method: "resources/read"; }, { @@ -5051,15 +5572,15 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject; }, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; }, { uri: string; }>; }>, "strip", z.ZodTypeAny, { params: { - uri: string; + uri: URL; }; method: "resources/subscribe"; }, { @@ -5127,15 +5648,15 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject; }, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; }, { uri: string; }>; }>, "strip", z.ZodTypeAny, { params: { - uri: string; + uri: URL; }; method: "resources/unsubscribe"; }, { @@ -5221,7 +5742,7 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject | undefined; }; method: "tools/call"; -}>, z.ZodObject, z.ZodObject>>; }, z.ZodTypeAny, "passthrough">>>; }, { + params: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + cursor?: string | undefined; + }, { + cursor?: string | undefined; + }>>; +}>, { method: z.ZodLiteral<"tools/list">; }>, "strip", z.ZodTypeAny, { method: "tools/list"; - params?: z.objectOutputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; + params?: { + cursor?: string | undefined; + } | undefined; }, { method: "tools/list"; - params?: z.objectInputType<{ - _meta: z.ZodOptional>; - }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ - /** - * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications. - */ - progressToken: z.ZodOptional>; - }, z.ZodTypeAny, "passthrough">>>; - }, z.ZodTypeAny, "passthrough"> | undefined; + params?: { + cursor?: string | undefined; + } | undefined; }>]>; export declare const ClientNotificationSchema: z.ZodUnion<[z.ZodObject; }, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; }, { uri: string; }>; }>, "strip", z.ZodTypeAny, { params: { - uri: string; + uri: URL; }; method: "notifications/resources/updated"; }, { @@ -6090,6 +6593,42 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | undefined; +}>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough">>>; +}, { + method: z.ZodLiteral<"notifications/prompts/list_changed">; +}>, "strip", z.ZodTypeAny, { + method: "notifications/prompts/list_changed"; + params?: z.objectOutputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; +}, { + method: "notifications/prompts/list_changed"; + params?: z.objectInputType<{ + /** + * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications. + */ + _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + }, z.ZodTypeAny, "passthrough"> | undefined; }>]>; export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ /** @@ -6109,7 +6648,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ /** * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect. */ - protocolVersion: z.ZodNumber; + protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; capabilities: z.ZodObject<{ /** * Experimental, non-standard capabilities that the server supports. @@ -6122,7 +6661,22 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ /** * Present if the server offers any prompt templates. */ - prompts: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any resources to read. */ @@ -6131,43 +6685,98 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any tools to call. */ - tools: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>; serverInfo: z.ZodObject<{ name: z.ZodString; @@ -6188,7 +6797,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ /** * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect. */ - protocolVersion: z.ZodNumber; + protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; capabilities: z.ZodObject<{ /** * Experimental, non-standard capabilities that the server supports. @@ -6201,7 +6810,22 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ /** * Present if the server offers any prompt templates. */ - prompts: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any resources to read. */ @@ -6210,43 +6834,98 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any tools to call. */ - tools: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>; serverInfo: z.ZodObject<{ name: z.ZodString; @@ -6267,7 +6946,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ /** * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect. */ - protocolVersion: z.ZodNumber; + protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>; capabilities: z.ZodObject<{ /** * Experimental, non-standard capabilities that the server supports. @@ -6280,7 +6959,22 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ /** * Present if the server offers any prompt templates. */ - prompts: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + prompts: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any resources to read. */ @@ -6289,43 +6983,98 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; /** * Present if the server offers any tools to call. */ - tools: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; + tools: z.ZodOptional; + }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectOutputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectOutputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; logging?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - prompts?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + prompts?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; resources?: z.objectInputType<{ /** * Whether this server supports subscribing to resource updates. */ subscribe: z.ZodOptional; + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.ZodOptional; + }, z.ZodTypeAny, "passthrough"> | undefined; + tools?: z.objectInputType<{ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; - tools?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>; serverInfo: z.ZodObject<{ name: z.ZodString; @@ -6613,12 +7362,18 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ mimeType: string; }; }>, "many">; -}>, z.ZodTypeAny, "passthrough">>, z.ZodObject, z.ZodTypeAny, "passthrough">>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { prompts: z.ZodArray, "many">; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { prompts: z.ZodArray, "many">; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { prompts: z.ZodArray, "many">; -}>, z.ZodTypeAny, "passthrough">>, z.ZodObject, z.ZodTypeAny, "passthrough">>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - resourceTemplates: z.ZodOptional; - /** - * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. - */ - mimeType: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">>; - resources: z.ZodOptional; +}>, { + resources: z.ZodArray; /** * A human-readable name for this resource. * @@ -6845,7 +7586,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ mimeType: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; - uri: string; + uri: URL; mimeType?: string | undefined; description?: string | undefined; }, { @@ -6853,50 +7594,24 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ uri: string; mimeType?: string | undefined; description?: string | undefined; - }>, "many">>; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, "many">; +}>, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - resourceTemplates: z.ZodOptional; - /** - * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. - */ - mimeType: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">>; - resources: z.ZodOptional; +}>, { + resources: z.ZodArray; /** * A human-readable name for this resource. * @@ -6915,7 +7630,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ mimeType: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; - uri: string; + uri: URL; mimeType?: string | undefined; description?: string | undefined; }, { @@ -6923,50 +7638,24 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ uri: string; mimeType?: string | undefined; description?: string | undefined; - }>, "many">>; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, "many">; +}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { - resourceTemplates: z.ZodOptional; - /** - * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type. - */ - mimeType: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }, { - name: string; - uriTemplate: string; - mimeType?: string | undefined; - description?: string | undefined; - }>, "many">>; - resources: z.ZodOptional; +}>, { + resources: z.ZodArray; /** * A human-readable name for this resource. * @@ -6985,7 +7674,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ mimeType: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; - uri: string; + uri: URL; mimeType?: string | undefined; description?: string | undefined; }, { @@ -6993,7 +7682,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ uri: string; mimeType?: string | undefined; description?: string | undefined; - }>, "many">>; + }>, "many">; }>, z.ZodTypeAny, "passthrough">>, z.ZodObject; /** * The MIME type of this resource, if known. */ @@ -7016,7 +7705,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ text: z.ZodString; }>, "strip", z.ZodTypeAny, { text: string; - uri: string; + uri: URL; mimeType?: string | undefined; }, { text: string; @@ -7026,7 +7715,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ /** * The URI of this resource. */ - uri: z.ZodString; + uri: z.ZodEffects; /** * The MIME type of this resource, if known. */ @@ -7037,7 +7726,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ */ blob: z.ZodString; }>, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; blob: string; mimeType?: string | undefined; }, { @@ -7055,7 +7744,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ /** * The URI of this resource. */ - uri: z.ZodString; + uri: z.ZodEffects; /** * The MIME type of this resource, if known. */ @@ -7067,7 +7756,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ text: z.ZodString; }>, "strip", z.ZodTypeAny, { text: string; - uri: string; + uri: URL; mimeType?: string | undefined; }, { text: string; @@ -7077,7 +7766,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ /** * The URI of this resource. */ - uri: z.ZodString; + uri: z.ZodEffects; /** * The MIME type of this resource, if known. */ @@ -7088,7 +7777,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ */ blob: z.ZodString; }>, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; blob: string; mimeType?: string | undefined; }, { @@ -7106,7 +7795,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ /** * The URI of this resource. */ - uri: z.ZodString; + uri: z.ZodEffects; /** * The MIME type of this resource, if known. */ @@ -7118,7 +7807,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ text: z.ZodString; }>, "strip", z.ZodTypeAny, { text: string; - uri: string; + uri: URL; mimeType?: string | undefined; }, { text: string; @@ -7128,7 +7817,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ /** * The URI of this resource. */ - uri: z.ZodString; + uri: z.ZodEffects; /** * The MIME type of this resource, if known. */ @@ -7139,7 +7828,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ */ blob: z.ZodString; }>, "strip", z.ZodTypeAny, { - uri: string; + uri: URL; blob: string; mimeType?: string | undefined; }, { @@ -7168,12 +7857,18 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{ _meta: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { toolResult: z.ZodUnknown; -}>, z.ZodTypeAny, "passthrough">>, z.ZodObject, z.ZodTypeAny, "passthrough">>, z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { tools: z.ZodArray, "many">; -}>, "passthrough", z.ZodTypeAny, z.objectOutputType, "passthrough", z.ZodTypeAny, z.objectOutputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { tools: z.ZodArray, "many">; -}>, z.ZodTypeAny, "passthrough">, z.objectInputType, z.ZodTypeAny, "passthrough">, z.objectInputType, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, { + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.ZodOptional; +}>, { tools: z.ZodArray; +export type Cursor = z.infer; export type Request = z.infer; export type Notification = z.infer; export type Result = z.infer; @@ -7326,6 +8034,8 @@ export type InitializedNotification = z.infer; export type Progress = z.infer; export type ProgressNotification = z.infer; +export type PaginatedRequest = z.infer; +export type PaginatedResult = z.infer; export type ResourceContents = z.infer; export type TextResourceContents = z.infer; export type BlobResourceContents = z.infer; @@ -7333,6 +8043,8 @@ export type Resource = z.infer; export type ResourceTemplate = z.infer; export type ListResourcesRequest = z.infer; export type ListResourcesResult = z.infer; +export type ListResourceTemplatesRequest = z.infer; +export type ListResourceTemplatesResult = z.infer; export type ReadResourceRequest = z.infer; export type ReadResourceResult = z.infer; export type ResourceListChangedNotification = z.infer; @@ -7345,6 +8057,7 @@ export type ListPromptsRequest = z.infer; export type ListPromptsResult = z.infer; export type GetPromptRequest = z.infer; export type GetPromptResult = z.infer; +export type PromptListChangedNotification = z.infer; export type Tool = z.infer; export type ListToolsRequest = z.infer; export type ListToolsResult = z.infer; diff --git a/packages/mcp-typescript/dist/types.d.ts.map b/packages/mcp-typescript/dist/types.d.ts.map index 55b424f..3a5dbe1 100644 --- a/packages/mcp-typescript/dist/types.d.ts.map +++ b/packages/mcp-typescript/dist/types.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe,QAAQ,CAAC;AAEr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AAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"} \ No newline at end of file diff --git a/packages/mcp-typescript/dist/types.js b/packages/mcp-typescript/dist/types.js index 225e87f..6700223 100644 --- a/packages/mcp-typescript/dist/types.js +++ b/packages/mcp-typescript/dist/types.js @@ -1,10 +1,15 @@ import { z } from "zod"; +export const PROTOCOL_VERSION = "2024-10-07"; /* JSON-RPC types */ export const JSONRPC_VERSION = "2.0"; /** * A progress token, used to associate progress notifications with the original request. */ export const ProgressTokenSchema = z.union([z.string(), z.number().int()]); +/** + * An opaque token used to represent a cursor for pagination. + */ +export const CursorSchema = z.string(); export const RequestSchema = z.object({ method: z.string(), params: z.optional(z @@ -121,7 +126,6 @@ export const JSONRPCMessageSchema = z.union([ */ export const EmptyResultSchema = ResultSchema.strict(); /* Initialization */ -export const PROTOCOL_VERSION = 1; /** * Text provided to or from an LLM. */ @@ -182,7 +186,7 @@ export const InitializeRequestSchema = RequestSchema.extend({ /** * The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well. */ - protocolVersion: z.number().int(), + protocolVersion: z.string().or(z.number().int()), capabilities: ClientCapabilitiesSchema, clientInfo: ImplementationSchema, }), @@ -202,7 +206,14 @@ export const ServerCapabilitiesSchema = z.object({ /** * Present if the server offers any prompt templates. */ - prompts: z.optional(z.object({}).passthrough()), + prompts: z.optional(z + .object({ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.optional(z.boolean()), + }) + .passthrough()), /** * Present if the server offers any resources to read. */ @@ -212,12 +223,23 @@ export const ServerCapabilitiesSchema = z.object({ * Whether this server supports subscribing to resource updates. */ subscribe: z.optional(z.boolean()), + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.optional(z.boolean()), }) .passthrough()), /** * Present if the server offers any tools to call. */ - tools: z.optional(z.object({}).passthrough()), + tools: z.optional(z + .object({ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.optional(z.boolean()), + }) + .passthrough()), }); /** * After receiving an initialize request from the client, the server sends this response. @@ -226,7 +248,7 @@ export const InitializeResultSchema = ResultSchema.extend({ /** * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect. */ - protocolVersion: z.number().int(), + protocolVersion: z.string().or(z.number().int()), capabilities: ServerCapabilitiesSchema, serverInfo: ImplementationSchema, }); @@ -266,6 +288,23 @@ export const ProgressNotificationSchema = NotificationSchema.extend({ progressToken: ProgressTokenSchema, }), }); +/* Pagination */ +export const PaginatedRequestSchema = RequestSchema.extend({ + params: z.optional(z.object({ + /** + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. + */ + cursor: z.optional(CursorSchema), + })), +}); +export const PaginatedResultSchema = ResultSchema.extend({ + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.optional(CursorSchema), +}); /* Resources */ /** * The contents of a specific resource or sub-resource. @@ -274,7 +313,7 @@ export const ResourceContentsSchema = z.object({ /** * The URI of this resource. */ - uri: z.string().url(), + uri: z.string().transform((s) => new URL(s)), /** * The MIME type of this resource, if known. */ @@ -299,7 +338,7 @@ export const ResourceSchema = z.object({ /** * The URI of this resource. */ - uri: z.string().url(), + uri: z.string().transform((s) => new URL(s)), /** * A human-readable name for this resource. * @@ -345,15 +384,26 @@ export const ResourceTemplateSchema = z.object({ /** * Sent from the client to request a list of resources the server has. */ -export const ListResourcesRequestSchema = RequestSchema.extend({ +export const ListResourcesRequestSchema = PaginatedRequestSchema.extend({ method: z.literal("resources/list"), }); /** * The server's response to a resources/list request from the client. */ -export const ListResourcesResultSchema = ResultSchema.extend({ - resourceTemplates: z.optional(z.array(ResourceTemplateSchema)), - resources: z.optional(z.array(ResourceSchema)), +export const ListResourcesResultSchema = PaginatedResultSchema.extend({ + resources: z.array(ResourceSchema), +}); +/** + * Sent from the client to request a list of resource templates the server has. + */ +export const ListResourceTemplatesRequestSchema = PaginatedRequestSchema.extend({ + method: z.literal("resources/templates/list"), +}); +/** + * The server's response to a resources/templates/list request from the client. + */ +export const ListResourceTemplatesResultSchema = PaginatedResultSchema.extend({ + resourceTemplates: z.array(ResourceTemplateSchema), }); /** * Sent from the client to the server, to read a specific resource URI. @@ -364,7 +414,7 @@ export const ReadResourceRequestSchema = RequestSchema.extend({ /** * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. */ - uri: z.string().url(), + uri: z.string().transform((s) => new URL(s)), }), }); /** @@ -388,7 +438,7 @@ export const SubscribeRequestSchema = RequestSchema.extend({ /** * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. */ - uri: z.string().url(), + uri: z.string().transform((s) => new URL(s)), }), }); /** @@ -400,7 +450,7 @@ export const UnsubscribeRequestSchema = RequestSchema.extend({ /** * The URI of the resource to unsubscribe from. */ - uri: z.string().url(), + uri: z.string().transform((s) => new URL(s)), }), }); /** @@ -412,7 +462,7 @@ export const ResourceUpdatedNotificationSchema = NotificationSchema.extend({ /** * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to. */ - uri: z.string().url(), + uri: z.string().transform((s) => new URL(s)), }), }); /* Prompts */ @@ -453,13 +503,13 @@ export const PromptSchema = z.object({ /** * Sent from the client to request a list of prompts and prompt templates the server has. */ -export const ListPromptsRequestSchema = RequestSchema.extend({ +export const ListPromptsRequestSchema = PaginatedRequestSchema.extend({ method: z.literal("prompts/list"), }); /** * The server's response to a prompts/list request from the client. */ -export const ListPromptsResultSchema = ResultSchema.extend({ +export const ListPromptsResultSchema = PaginatedResultSchema.extend({ prompts: z.array(PromptSchema), }); /** @@ -488,6 +538,12 @@ export const GetPromptResultSchema = ResultSchema.extend({ description: z.optional(z.string()), messages: z.array(SamplingMessageSchema), }); +/** + * An optional notification from the server to the client, informing it that the list of prompts it offers has changed. This may be issued by servers without any previous subscription from the client. + */ +export const PromptListChangedNotificationSchema = NotificationSchema.extend({ + method: z.literal("notifications/prompts/list_changed"), +}); /* Tools */ /** * Definition for a tool the client can call. @@ -512,13 +568,13 @@ export const ToolSchema = z.object({ /** * Sent from the client to request a list of tools the server has. */ -export const ListToolsRequestSchema = RequestSchema.extend({ +export const ListToolsRequestSchema = PaginatedRequestSchema.extend({ method: z.literal("tools/list"), }); /** * The server's response to a tools/list request from the client. */ -export const ListToolsResultSchema = ResultSchema.extend({ +export const ListToolsResultSchema = PaginatedResultSchema.extend({ tools: z.array(ToolSchema), }); /** @@ -722,6 +778,7 @@ export const ServerNotificationSchema = z.union([ ResourceUpdatedNotificationSchema, ResourceListChangedNotificationSchema, ToolListChangedNotificationSchema, + PromptListChangedNotificationSchema, ]); export const ServerResultSchema = z.union([ EmptyResultSchema, diff --git a/packages/mcp-typescript/dist/types.js.map b/packages/mcp-typescript/dist/types.js.map index 8dc4185..ea1d6c2 100644 --- a/packages/mcp-typescript/dist/types.js.map +++ b/packages/mcp-typescript/dist/types.js.map @@ -1 +1 @@ -{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,oBAAoB;AACpB,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC;AAErC;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;AAE3E,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAChB,CAAC;SACE,MA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AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC9C,0BAA0B;IAC1B,6BAA6B;CAC9B,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC;IACxC,iBAAiB;IACjB,yBAAyB;CAC1B,CAAC,CAAC;AAEH,qBAAqB;AACrB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC;IACzC,iBAAiB;IACjB,0BAA0B;CAC3B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC9C,0BAA0B;IAC1B,gCAAgC;IAChC,iCAAiC;IACjC,qCAAqC;IACrC,iCAAiC;IACjC,mCAAmC;CACpC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC;IACxC,iBAAiB;IACjB,sBAAsB;IACtB,oBAAoB;IACpB,qBAAqB;IACrB,uBAAuB;IACvB,yBAAyB;IACzB,wBAAwB;IACxB,oBAAoB;IACpB,qBAAqB;CACtB,CAAC,CAAC;AAEH,MAAM,OAAO,QAAS,SAAQ,KAAK;IACjC,YACkB,IAAY,EAC5B,OAAe,EACC,IAAc;QAE9B,KAAK,CAAC,aAAa,IAAI,KAAK,OAAO,EAAE,CAAC,CAAC;QAJvB,SAAI,GAAJ,IAAI,CAAQ;QAEZ,SAAI,GAAJ,IAAI,CAAU;IAGhC,CAAC;CACF"} \ No newline at end of file diff --git a/packages/mcp-typescript/src/client/index.ts b/packages/mcp-typescript/src/client/index.ts index c8c729b..9b9aa81 100644 --- a/packages/mcp-typescript/src/client/index.ts +++ b/packages/mcp-typescript/src/client/index.ts @@ -37,7 +37,7 @@ export class Client extends Protocol< { method: "initialize", params: { - protocolVersion: 1, + protocolVersion: PROTOCOL_VERSION, capabilities: {}, clientInfo: this._clientInfo, }, diff --git a/packages/mcp-typescript/src/types.ts b/packages/mcp-typescript/src/types.ts index f7500d1..442faaf 100644 --- a/packages/mcp-typescript/src/types.ts +++ b/packages/mcp-typescript/src/types.ts @@ -1,5 +1,7 @@ import { z } from "zod"; +export const PROTOCOL_VERSION = "2024-10-07"; + /* JSON-RPC types */ export const JSONRPC_VERSION = "2.0"; @@ -8,6 +10,11 @@ export const JSONRPC_VERSION = "2.0"; */ export const ProgressTokenSchema = z.union([z.string(), z.number().int()]); +/** + * An opaque token used to represent a cursor for pagination. + */ +export const CursorSchema = z.string(); + export const RequestSchema = z.object({ method: z.string(), params: z.optional( @@ -141,8 +148,6 @@ export const JSONRPCMessageSchema = z.union([ export const EmptyResultSchema = ResultSchema.strict(); /* Initialization */ -export const PROTOCOL_VERSION = 1; - /** * Text provided to or from an LLM. */ @@ -208,7 +213,7 @@ export const InitializeRequestSchema = RequestSchema.extend({ /** * The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well. */ - protocolVersion: z.number().int(), + protocolVersion: z.string().or(z.number().int()), capabilities: ClientCapabilitiesSchema, clientInfo: ImplementationSchema, }), @@ -229,7 +234,16 @@ export const ServerCapabilitiesSchema = z.object({ /** * Present if the server offers any prompt templates. */ - prompts: z.optional(z.object({}).passthrough()), + prompts: z.optional( + z + .object({ + /** + * Whether this server supports notifications for changes to the prompt list. + */ + listChanged: z.optional(z.boolean()), + }) + .passthrough(), + ), /** * Present if the server offers any resources to read. */ @@ -240,13 +254,26 @@ export const ServerCapabilitiesSchema = z.object({ * Whether this server supports subscribing to resource updates. */ subscribe: z.optional(z.boolean()), + /** + * Whether this server supports notifications for changes to the resource list. + */ + listChanged: z.optional(z.boolean()), }) .passthrough(), ), /** * Present if the server offers any tools to call. */ - tools: z.optional(z.object({}).passthrough()), + tools: z.optional( + z + .object({ + /** + * Whether this server supports notifications for changes to the tool list. + */ + listChanged: z.optional(z.boolean()), + }) + .passthrough(), + ), }); /** @@ -256,7 +283,7 @@ export const InitializeResultSchema = ResultSchema.extend({ /** * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect. */ - protocolVersion: z.number().int(), + protocolVersion: z.string().or(z.number().int()), capabilities: ServerCapabilitiesSchema, serverInfo: ImplementationSchema, }); @@ -301,6 +328,27 @@ export const ProgressNotificationSchema = NotificationSchema.extend({ }), }); +/* Pagination */ +export const PaginatedRequestSchema = RequestSchema.extend({ + params: z.optional( + z.object({ + /** + * An opaque token representing the current pagination position. + * If provided, the server should return results starting after this cursor. + */ + cursor: z.optional(CursorSchema), + }), + ), +}); + +export const PaginatedResultSchema = ResultSchema.extend({ + /** + * An opaque token representing the pagination position after the last returned result. + * If present, there may be more results available. + */ + nextCursor: z.optional(CursorSchema), +}); + /* Resources */ /** * The contents of a specific resource or sub-resource. @@ -309,7 +357,7 @@ export const ResourceContentsSchema = z.object({ /** * The URI of this resource. */ - uri: z.string().url(), + uri: z.string().transform((s) => new URL(s)), /** * The MIME type of this resource, if known. */ @@ -337,7 +385,7 @@ export const ResourceSchema = z.object({ /** * The URI of this resource. */ - uri: z.string().url(), + uri: z.string().transform((s) => new URL(s)), /** * A human-readable name for this resource. @@ -391,16 +439,31 @@ export const ResourceTemplateSchema = z.object({ /** * Sent from the client to request a list of resources the server has. */ -export const ListResourcesRequestSchema = RequestSchema.extend({ +export const ListResourcesRequestSchema = PaginatedRequestSchema.extend({ method: z.literal("resources/list"), }); /** * The server's response to a resources/list request from the client. */ -export const ListResourcesResultSchema = ResultSchema.extend({ - resourceTemplates: z.optional(z.array(ResourceTemplateSchema)), - resources: z.optional(z.array(ResourceSchema)), +export const ListResourcesResultSchema = PaginatedResultSchema.extend({ + resources: z.array(ResourceSchema), +}); + +/** + * Sent from the client to request a list of resource templates the server has. + */ +export const ListResourceTemplatesRequestSchema = PaginatedRequestSchema.extend( + { + method: z.literal("resources/templates/list"), + }, +); + +/** + * The server's response to a resources/templates/list request from the client. + */ +export const ListResourceTemplatesResultSchema = PaginatedResultSchema.extend({ + resourceTemplates: z.array(ResourceTemplateSchema), }); /** @@ -412,7 +475,7 @@ export const ReadResourceRequestSchema = RequestSchema.extend({ /** * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it. */ - uri: z.string().url(), + uri: z.string().transform((s) => new URL(s)), }), }); @@ -441,7 +504,7 @@ export const SubscribeRequestSchema = RequestSchema.extend({ /** * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it. */ - uri: z.string().url(), + uri: z.string().transform((s) => new URL(s)), }), }); @@ -454,7 +517,7 @@ export const UnsubscribeRequestSchema = RequestSchema.extend({ /** * The URI of the resource to unsubscribe from. */ - uri: z.string().url(), + uri: z.string().transform((s) => new URL(s)), }), }); @@ -467,7 +530,7 @@ export const ResourceUpdatedNotificationSchema = NotificationSchema.extend({ /** * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to. */ - uri: z.string().url(), + uri: z.string().transform((s) => new URL(s)), }), }); @@ -511,14 +574,14 @@ export const PromptSchema = z.object({ /** * Sent from the client to request a list of prompts and prompt templates the server has. */ -export const ListPromptsRequestSchema = RequestSchema.extend({ +export const ListPromptsRequestSchema = PaginatedRequestSchema.extend({ method: z.literal("prompts/list"), }); /** * The server's response to a prompts/list request from the client. */ -export const ListPromptsResultSchema = ResultSchema.extend({ +export const ListPromptsResultSchema = PaginatedResultSchema.extend({ prompts: z.array(PromptSchema), }); @@ -550,6 +613,13 @@ export const GetPromptResultSchema = ResultSchema.extend({ messages: z.array(SamplingMessageSchema), }); +/** + * An optional notification from the server to the client, informing it that the list of prompts it offers has changed. This may be issued by servers without any previous subscription from the client. + */ +export const PromptListChangedNotificationSchema = NotificationSchema.extend({ + method: z.literal("notifications/prompts/list_changed"), +}); + /* Tools */ /** * Definition for a tool the client can call. @@ -575,14 +645,14 @@ export const ToolSchema = z.object({ /** * Sent from the client to request a list of tools the server has. */ -export const ListToolsRequestSchema = RequestSchema.extend({ +export const ListToolsRequestSchema = PaginatedRequestSchema.extend({ method: z.literal("tools/list"), }); /** * The server's response to a tools/list request from the client. */ -export const ListToolsResultSchema = ResultSchema.extend({ +export const ListToolsResultSchema = PaginatedResultSchema.extend({ tools: z.array(ToolSchema), }); @@ -802,6 +872,7 @@ export const ServerNotificationSchema = z.union([ ResourceUpdatedNotificationSchema, ResourceListChangedNotificationSchema, ToolListChangedNotificationSchema, + PromptListChangedNotificationSchema, ]); export const ServerResultSchema = z.union([ @@ -828,6 +899,7 @@ export class McpError extends Error { /* JSON-RPC types */ export type ProgressToken = z.infer; +export type Cursor = z.infer; export type Request = z.infer; export type Notification = z.infer; export type Result = z.infer; @@ -861,6 +933,10 @@ export type PingRequest = z.infer; export type Progress = z.infer; export type ProgressNotification = z.infer; +/* Pagination */ +export type PaginatedRequest = z.infer; +export type PaginatedResult = z.infer; + /* Resources */ export type ResourceContents = z.infer; export type TextResourceContents = z.infer; @@ -869,6 +945,12 @@ export type Resource = z.infer; export type ResourceTemplate = z.infer; export type ListResourcesRequest = z.infer; export type ListResourcesResult = z.infer; +export type ListResourceTemplatesRequest = z.infer< + typeof ListResourceTemplatesRequestSchema +>; +export type ListResourceTemplatesResult = z.infer< + typeof ListResourceTemplatesResultSchema +>; export type ReadResourceRequest = z.infer; export type ReadResourceResult = z.infer; export type ResourceListChangedNotification = z.infer< @@ -887,6 +969,9 @@ export type ListPromptsRequest = z.infer; export type ListPromptsResult = z.infer; export type GetPromptRequest = z.infer; export type GetPromptResult = z.infer; +export type PromptListChangedNotification = z.infer< + typeof PromptListChangedNotificationSchema +>; /* Tools */ export type Tool = z.infer;