Skip to content

Feature/mcp tool reduction#138

Merged
jung-thomas merged 7 commits into
mainfrom
feature/mcp-tool-reduction
May 14, 2026
Merged

Feature/mcp tool reduction#138
jung-thomas merged 7 commits into
mainfrom
feature/mcp-tool-reduction

Conversation

@jung-thomas
Copy link
Copy Markdown
Contributor

No description provided.

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.
@jung-thomas jung-thomas merged commit a16df5e into main May 14, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant