Commit Graph

5 Commits

Author SHA1 Message Date
Christian Tzolov
8897ba603e minor mcp fixes
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2025-05-04 12:36:24 +02:00
Christian Tzolov
b45c4d58a1 remove unused imports
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2025-05-03 11:25:29 +03:00
Mark Pollack
cba325ac5b Update spring boot and spring ai to latest, add some run-verify scripts for automation 2025-05-02 14:11:49 -04:00
Christian Tzolov
234d3ff919 refactor(mcp): update to use Spring Boot autoconfiguration and rename tool callbacks
Update MCP examples to use Spring Boot autoconfiguration instead of manual configuration.
Replace deprecated defaultTools method with defaultToolCallbacks across all examples.
Update documentation to reflect these changes and provide more detailed configuration examples.

- Update API from defaultTools to defaultToolCallbacks in all MCP examples
- Update README files with more detailed configuration examples

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2025-05-02 14:28:22 +03:00
Christian Tzolov
2c9fa4d8fd Add dynamic tool update example for Model Context Protocol
Implement a new example demonstrating how MCP servers can dynamically update available tools
at runtime and how clients can detect these changes.

- Add Server implementation that starts with weather forecast tools and dynamically adds math operation tools
- Add Client implementation that detects tool changes via MCP notifications
- Complete client/server architecture with proper tool registration and discovery
- Add detailed README explaining the dynamic tool update process and implementation

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
2025-05-02 11:27:30 +03:00