Commit 87cdaf8
feat: Add _meta support to MCPSchema (#368)
- Add _meta field to all MCP schema records for extensible metadata support
- Introduce Result and Notification sealed interfaces for better type organization
- Update Request interface to include SubscribeRequest and UnsubscribeRequest
- Add backwards-compatible constructors for existing record types
- Enhance test coverage for metadata field functionality
Breaking change: Modifyibng the Request seald inteface is a breaking change.1 parent 8d71b76 commit 87cdaf8
File tree
2 files changed
+424
-79
lines changed- mcp/src
- main/java/io/modelcontextprotocol/spec
- test/java/io/modelcontextprotocol/spec
2 files changed
+424
-79
lines changed
0 commit comments