From 505f65d58ef9823369c37f18a1051c9efe9286fc Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Sun, 14 Dec 2025 11:24:02 +0800 Subject: [PATCH 1/3] Add optional description field to Implementation schema Added an optional description field to the schema. --- src/types.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index dc0c22353..c381bf3fe 100644 --- a/src/types.ts +++ b/src/types.ts @@ -329,7 +329,12 @@ export const ImplementationSchema = BaseMetadataSchema.extend({ /** * An optional URL of the website for this implementation. */ - websiteUrl: z.string().optional() + websiteUrl: z.string().optional(), + + /** + * An optional human-readable description of what this implementation does. + */ + description: z.string().optional(), }); const FormElicitationCapabilitySchema = z.intersection( From 72b0a7c87bd1192717ab92d2501de2fc74f34546 Mon Sep 17 00:00:00 2001 From: Konstantin Konstantinov Date: Mon, 15 Dec 2025 17:54:28 +0200 Subject: [PATCH 2/3] update comment --- src/types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types.ts b/src/types.ts index c381bf3fe..9c9aec647 100644 --- a/src/types.ts +++ b/src/types.ts @@ -333,6 +333,10 @@ export const ImplementationSchema = BaseMetadataSchema.extend({ /** * An optional human-readable description of what this implementation does. + * + * This can be used by clients or servers to provide context about their purpose + * and capabilities. For example, a server might describe the types of resources + * or tools it provides, while a client might describe its intended use case. */ description: z.string().optional(), }); From 182e13c9d2cddf8d0c8e7d4909b5caf8c13eeb97 Mon Sep 17 00:00:00 2001 From: Konstantin Konstantinov Date: Mon, 15 Dec 2025 17:56:21 +0200 Subject: [PATCH 3/3] prettier fix --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 9c9aec647..beb5fd929 100644 --- a/src/types.ts +++ b/src/types.ts @@ -338,7 +338,7 @@ export const ImplementationSchema = BaseMetadataSchema.extend({ * and capabilities. For example, a server might describe the types of resources * or tools it provides, while a client might describe its intended use case. */ - description: z.string().optional(), + description: z.string().optional() }); const FormElicitationCapabilitySchema = z.intersection(