Skip to content

Conversation

tzolov
Copy link
Collaborator

@tzolov tzolov commented Sep 25, 2025

DEPENDS ON modelcontextprotocol/java-sdk#576

  • Add getResourceTemplateSpecifications() methods to all resource providers
  • Separate regular resources from resource templates based on URI template detection
  • Rename ProvidrerUtils to McpProviderUtils (fix typo)
  • Filter resources with URI templates into separate template specifications
  • Update tests to verify resource template handling
  • Upgrade MCP Java SDK from 0.13.1 to 0.14.0-SNAPSHOT

This change enables proper handling of MCP resource templates (URIs with variables like {id}) while maintaining backward compatibility for regular resources.

- Add getResourceTemplateSpecifications() methods to all resource providers
- Separate regular resources from resource templates based on URI template detection
- Rename ProvidrerUtils to McpProviderUtils (fix typo)
- Filter resources with URI templates into separate template specifications
- Update tests to verify resource template handling
- Upgrade MCP Java SDK from 0.13.1 to 0.14.0-SNAPSHOT

This change enables proper handling of MCP resource templates (URIs with variables like {id})
while maintaining backward compatibility for regular resources.

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
@tzolov tzolov marked this pull request as ready for review September 28, 2025 09:28
@tzolov tzolov changed the title WIP feat: add support for MCP resource templates feat: add support for MCP resource templates Sep 28, 2025
@tzolov tzolov added this to the 0.5.0 milestone Sep 28, 2025
@tzolov tzolov merged commit 54f4563 into spring-ai-community:main Sep 28, 2025
1 of 3 checks passed
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