BIGTOP-4447: Add basic MCP Server support#227
Merged
kevinw66 merged 21 commits intoapache:mainfrom Jul 10, 2025
Merged
Conversation
Upgrades Spring AI to 1.0.0-RC1 and Spring Boot to 3.1.1 to ensure compatibility with newer versions and leverage the latest features and fixes. Renames the method for tool callback provider to better align with its purpose and naming conventions.
Adds a new dependency with an Apache-2.0 license to the license configuration file. Enhances the `get` method in the cluster service by introducing a `@ToolParam` annotation for better parameter documentation and validation. Improves maintainability and compliance with licensing and annotation standards.
Adds several new dependencies to the license configuration and BOM file, including Jackson, Swagger, and ANTLR modules. Removes a redundant comment in the application configuration file to improve clarity. These changes ensure proper dependency tracking and enhance maintainability.
Introduces StackService integration to enhance tool callback provider functionality. Refactors stack listing by extracting common logic into a reusable method, improving code clarity and maintainability. Adds a new annotated method to expose stack listing via tools. Removes unused logging annotation from AuthInterceptor.
Introduces `CommandService` and `HostService` to enhance cluster and service management capabilities. Adds `MCPInterceptor` for handling authentication and permissions for `/mcp` API endpoints. Updates `WebConfig` to register the new interceptor. Enhances `CommandServiceImpl` and `HostServiceImpl` with annotations and detailed parameter descriptions to support AI tool integration. Refines `StackServiceImpl` with named tool annotations for improved stack listing functionality.
kevinw66
approved these changes
Jul 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.