Repository navigation
fix(mcp): make GitHub skill tools discoverable through omniroute_tool_search - #10575
Merged
diegosouzapw merged 1 commit intoAug 18, 2026
Conversation
…_search Add githubSkillTools to getAllToolDefinitions() so the searchable MCP catalog matches TOTAL_MCP_TOOL_COUNT, which already counts them. The GitHub skill tools were registered and counted but missing from the catalog, so omniroute_tool_search could not surface them. Adds regression tests at both layers: catalog aggregation and client-visible discovery via the MCP client.
branben
force-pushed
the
fix/mcp-github-tool-search-parity
branch
from
August 17, 2026 01:27
7545c17 to
95dbffe
Compare
Collaborator
|
This is exactly the tool-search catalog omission it describes, and it's well-tested — I re-ran both changed vitest files locally (8/8 pass) and linted the touched files (0 problems). I traced every CI red on this PR (onnxruntime dependency-contract test, CLI_TOOLS counts, Alibaba free-tier classification, repo-state sync gate) and they're all pre-existing base drift that landed on release/v3.8.50 after your branch point, not caused by this diff. We'll rebase onto the current tip before merging — no action needed from you. |
diegosouzapw
merged commit Aug 18, 2026
228ef6f
into
cheaper-inference:release/v3.8.50
5 checks passed
muhamadgalihsaputra
pushed a commit
to niyatna/NiyatnaRoute
that referenced
this pull request
Sep 27, 2026
…_search (cheaper-inference#10575) Add githubSkillTools to getAllToolDefinitions() so the searchable MCP catalog matches TOTAL_MCP_TOOL_COUNT, which already counts them. The GitHub skill tools were registered and counted but missing from the catalog, so omniroute_tool_search could not surface them. Adds regression tests at both layers: catalog aggregation and client-visible discovery via the MCP client. Co-authored-by: Brandon Bennett <brandonbennett@macbookair.myfiosgateway.com>
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.
fix(mcp): make GitHub skill tools discoverable through
omniroute_tool_searchSummary
The MCP server registers three GitHub skill tools (
omniroute_github_skills_search,omniroute_github_skills_scan,omniroute_github_skills_install), andTOTAL_MCP_TOOL_COUNTalready counts them — butgetAllToolDefinitions()did not include thegithubSkillToolscollection. As a result, a client that already knew an exact tool name could call it, but a client relying onomniroute_tool_searchcould not discover it.This PR adds
githubSkillToolsto the search catalog and adds regression coverage at both layers: catalog construction and the client-visible MCP search path.Why this matters
This is a focused instance of a recurring MCP contract-drift pattern:
This PR fixes only the tool-search catalog omission. The linked issues describe related discovery and contract-parity layers; the REST catalog and observability layers should be handled separately.
Changes
githubSkillToolstogetAllToolDefinitions()(one import + one collection entry, matching the existing pattern formemoryTools,skillTools,agentSkillTools, etc.).getAllToolDefinitions().omniroute_tool_search.changelog.d/fixes/.Scope boundaries
This PR does not change:
/api/mcp/toolsbehavior;Validation
Focused tests and gates, run under Node 24.19.0:
Results:
DATA_DIR, no writes to the developer's~/.omniroute).git diff --check: passed.Review notes
This change is deliberately narrow: it does not claim every MCP projection must have an identical inventory, nor that it resolves the entire historical MCP visibility issue cluster.