Skip to content

Conversation

jspahrsummers
Copy link
Member

No description provided.

@@ -196,7 +197,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.string().or(z.number().int()),
protocolVersion: z.string(),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know of any client or server sending numbers anymore, so bringing this into spec compliance.

@jspahrsummers jspahrsummers merged commit 7372b8a into main Nov 7, 2024
3 checks passed
@jspahrsummers jspahrsummers deleted the justin/support-older-protocol-version branch November 7, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant