java-sdk/mcp-test/src/main/java/io/modelcontextprotocol
Repository files (latest commit first)
Filename Latest commit message Latest commit date
gongwn1 9ebff0c5d9 feat: implement resource update notifications (#264)
This enables servers to notify clients when specific resources are updated,
allowing clients to react to individual resource changes rather than just
list changes.

- Add ResourcesUpdatedNotification schema with uri field
- Add METHOD_NOTIFICATION_RESOURCES_UPDATED constant
- Implement notifyResourcesUpdated() methods in McpAsyncServer and McpSyncServer
- Add client-side support for resource update consumers and handlers
- Client automatically reads updated resource content when notification received
- Add tests for both async and sync server implementations

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2025-06-24 12:04:22 +02:00
..
client feat: Improve pagination support on client side (#306) 2025-06-24 07:57:31 +02:00
server feat: implement resource update notifications (#264) 2025-06-24 12:04:22 +02:00
MockMcpTransport.java refactor: remove deprecated 0.7.0 code 2025-03-27 00:01:45 +01:00