Add tag-based filtering to intelligent_tool_finder and streamline authentication #127
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.
Summary
This PR implements tag-based filtering for the
intelligent_tool_finder
function and streamlines the agent authentication system.Enhanced intelligent_tool_finder (Addresses Issue #126)
tags
parameter: Filter tools by server tags using AND logicAuthentication System Cleanup
.oauth-tokens/
directoryTechnical Implementation
intelligent_tool_finder Changes
Behavior Matrix
Bug Fixes
Testing
✅ Verified Scenarios
tags=["sre"]
returns only SRE Gateway toolsTest Results
Documentation Updates
Benefits
.oauth-tokens/
Breaking Changes
None - All existing functionality preserved and backward compatible.
Files Changed
servers/mcpgw/server.py
: Enhanced intelligent_tool_finder with tag supportregistry/servers/mcpgw.json
: Updated tool schema and documentationagents/agent.py
: Streamlined authentication, removed .env complexityRelated Issues
Closes #126 - Enhancement: Add tag-based filtering to intelligent tool finder