What happened?
The v2 specs https://modelcontextprotocol.io/specification/draft/basic#_meta explains that clientInfo is optional. Yet, it produces an error for instance when used with serveStdio:
Invalid _meta envelope for protocol revision 2026-07-28: io.modelcontextprotocol/clientInfo: missing
What did you expect?
No error following the spec
Code to reproduce
Just take the MWE but removes io.modelcontextprotocol/clientInfo in the _meta field
SDK version
2.0.0-beta.4
Area
Server
What happened?
The v2 specs https://modelcontextprotocol.io/specification/draft/basic#_meta explains that clientInfo is optional. Yet, it produces an error for instance when used with
serveStdio:What did you expect?
No error following the spec
Code to reproduce
SDK version
2.0.0-beta.4
Area
Server