Skip to content

Enable MCP tool callback by default #3043

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

tzolov
Copy link
Contributor

@tzolov tzolov commented May 8, 2025

  • Change the default value of toolcallback.enabled property to true in both configuration and documentation.
  • Update McpClientCommonProperties.Toolcallback to default enabled to true and refactor from record to class.
  • Adjust @ConditionalOnProperty in McpToolCallbackAutoConfiguration to matchIfMissing = true for tool callback.
  • Update tests to reflect new default behavior: tool callback is now enabled by default when the property is missing.
  • Update documentation to indicate the new default value for toolcallback.enabled is true.

- Change the default value of `toolcallback.enabled` property to `true` in both configuration and documentation.
- Update `McpClientCommonProperties.Toolcallback` to default `enabled` to `true` and refactor from record to class.
- Adjust `@ConditionalOnProperty` in `McpToolCallbackAutoConfiguration` to `matchIfMissing = true` for tool callback.
- Update tests to reflect new default behavior: tool callback is now enabled by default when the property is missing.
- Update documentation to indicate the new default value for `toolcallback.enabled` is `true`.

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
@tzolov tzolov added this to the 1.0.0-RC1 milestone May 8, 2025
@tzolov tzolov added the MCP label May 8, 2025
@ThomasVitale
Copy link
Contributor

Nice!

@markpollack markpollack self-assigned this May 8, 2025
@markpollack
Copy link
Member

merged in c0062dd

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