feat(software-catalog-mcp-extras): add full-text search via queryEntities#3540
Open
savitojs wants to merge 1 commit into
Open
feat(software-catalog-mcp-extras): add full-text search via queryEntities#3540savitojs wants to merge 1 commit into
savitojs wants to merge 1 commit into
Conversation
|
Important This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior. Changed Packages
|
3df7764 to
de740f6
Compare
…ties The query-catalog-entities action only supports exact-match filters via catalog.getEntities(), making it impossible to find entities by partial name or description. Users must know the exact metadata.name to find anything. Add a 'search' input parameter that uses catalog.queryEntities() with fullTextFilter to match against metadata.name, metadata.title, and metadata.description. The search parameter can be combined with existing exact-match filters (kind, type, owner, lifecycle, tags). When search is not provided, behavior is identical to the current implementation (catalog.getEntities with exact filters). Signed-off-by: Savitoj Singh <sasingh@redhat.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
de740f6 to
2ca48a8
Compare
|
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.



The
query-catalog-entitiesaction only supports exact-match filters viacatalog.getEntities(), making it impossible to find entities by partial name or description. Users must know the exactmetadata.nameto find anything - searching "argocd" won't finddevhub-argo-infra.The
CatalogServiceinterface already exposesqueryEntities()withfullTextFiltersupport, but this plugin never uses it. This PR adds asearchinput parameter that enables substring matching across name, title, and description.Changes:
searchinput parameter to the tool schema with description clarifying partial/substring matchingsearchis provided, usecatalog.queryEntities()withfullTextFiltertargetingmetadata.name,metadata.title, andmetadata.descriptionsearchparameter can be combined with existing exact-match filters (kind, type, owner, lifecycle, tags)searchis not provided, behavior is identical to the current implementation (catalog.getEntities()with exact filters)Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com