Skip to content

Conversation

tzolov
Copy link
Collaborator

@tzolov tzolov commented Jul 23, 2025

  • Add @mcptool and @McpToolParam annotations for defining MCP tools
  • Implement AsyncMcpToolProvider and SyncMcpToolProvider for tool management
  • Add tool method callbacks for both synchronous and asynchronous operations
  • Integrate JSON schema generation using victools jsonschema library
  • Add utility classes for JSON parsing, reactive types, and class introspection
  • Update Spring integration classes to support tool specifications
  • Add comprehensive test coverage for all tool-related functionality
  • Update dependencies to include Jackson, Swagger annotations, and schema generation
  • Fix resource adapter to use builder pattern and provide default names
  • Clean up misplaced async code from sync annotation provider

BREAKING: Removes incorrectly placed async sampling components from sync provider

Resolves #2

…hema generation

- Add @mcptool and @McpToolParam annotations for defining MCP tools
- Implement AsyncMcpToolProvider and SyncMcpToolProvider for tool management
- Add tool method callbacks for both synchronous and asynchronous operations
- Integrate JSON schema generation using victools jsonschema library
- Add utility classes for JSON parsing, reactive types, and class introspection
- Update Spring integration classes to support tool specifications
- Add comprehensive test coverage for all tool-related functionality
- Update dependencies to include Jackson, Swagger annotations, and schema generation
- Update README documentation

BREAKING: Removes incorrectly placed async sampling components from sync provider

Resolves spring-ai-community#2

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
@tzolov tzolov force-pushed the add-tool-support branch from 73371f4 to 2df3c74 Compare July 23, 2025 12:57
@tzolov tzolov merged commit 3b22fab into spring-ai-community:main Jul 23, 2025
1 check 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.

Consider adding @McpTool server annotation

1 participant