Skip to content

Conversation

tzolov
Copy link
Contributor

@tzolov tzolov commented Sep 27, 2025

  • Add ResourceTemplateSpecification support for both sync and async servers
  • Include resource template handling in stateful and stateless configurations
  • Add resource template bean definitions and provider methods
  • Update tests to verify resource template registration and functionality
  • Upgrade MCP SDK to 0.14.0-SNAPSHOT and mcp-annotations to 0.5.0-SNAPSHOT

Depends on: modelcontextprotocol/java-sdk#576 and spring-ai-community/mcp-annotations#62

- Add ResourceTemplateSpecification support for both sync and async servers
- Include resource template handling in stateful and stateless configurations
- Add resource template bean definitions and provider methods
- Update tests to verify resource template registration and functionality
- Upgrade MCP SDK to 0.14.0-SNAPSHOT and mcp-annotations to 0.5.0-SNAPSHOT

This extends the existing MCP resource capabilities by adding support for
parameterized resource templates, enabling more flexible resource provisioning
in MCP server implementations.

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
@tzolov tzolov marked this pull request as ready for review September 28, 2025 09:45
@ilayaperumalg ilayaperumalg self-assigned this Sep 29, 2025
@ilayaperumalg ilayaperumalg added this to the 1.1.0.M3 milestone Sep 29, 2025
public List<McpServerFeatures.SyncResourceTemplateSpecification> resourceTemplateSpecs(
ServerMcpAnnotatedBeans beansWithMcpMethodAnnotations) {

List<McpServerFeatures.SyncResourceTemplateSpecification> syncResourceSpecifications = SyncMcpAnnotationProviders
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can rename syncResourceSpecifications to syncResourceTemplateSpecifications. will fix when merging.

@ilayaperumalg
Copy link
Member

Rebased, and merged as 97ac810

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants