Feature/mcp tool reduction#138
Merged
Merged
Conversation
handleDiscoveryTool now accepts an optional onCategoryActivated callback that fires when discover_by_category returns results. This allows index.ts to dynamically register tools for the browsed category and emit listChanged notifications to MCP clients.
…index.ts Wire up router tool, tier-1 filtering, and dynamic category activation in the MCP server entry point. In default mode, only ~15 tools are exposed initially; discover_by_category triggers dynamic registration with listChanged notifications. --full flag restores all 203 tools for backwards compatibility.
…router - Filter out tier-1 tools when dynamically registering a category to prevent duplicates (e.g., activating schema-tools won't re-expose hana_tables) - Defensively strip __projectContext from nested args in router tool - Remove dead-code exports (isDiscoveryTool, isContentTool) from tier-config
Reflect the new progressive discovery model (~22 default tools instead of 203) across all MCP-related documentation: README, feature guides, troubleshooting, and development instructions. Remove the completed implementation plan file.
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.