Skip to content

Remove documentation for unavailable tool-search command - #3162

Merged
tommaso-moro merged 2 commits into
mainfrom
tommaso-moro-fix-issue-3161
Aug 26, 2026
Merged

Remove documentation for unavailable tool-search command#3162
tommaso-moro merged 2 commits into
mainfrom
tommaso-moro-fix-issue-3161

Conversation

@tommaso-moro

@tommaso-moro tommaso-moro commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Remove the README section advertising the unavailable tool-search CLI command.

Why

Fixes #3161

The binary has never registered this subcommand, so the documented examples fail with an unknown-command error. There is no established requirement to expand the CLI surface, making removal of the inaccurate documentation the narrower fix.

What changed

  • Remove the tool-search description and examples from the README.
  • Leave the existing CLI and MCP tool surfaces unchanged.

MCP impact

  • No tool or API changes. This is documentation-only.
  • Tool schema or behavior changed
  • New tool added

Prompts tested (tool changes only)

  • N/A; no MCP tools changed.

Security / limits

  • No security or limits impact.
  • Auth / permissions considered
  • Data exposure, filtering, or token/size limits considered

Tool renaming

  • I am renaming tools as part of this PR (e.g. a part of a consolidation effort)
    • I have added the new tool aliases in deprecated_tool_aliases.go
  • I am not renaming tools as part of this PR

Note: if you're renaming tools, you must add the new tool aliases in deprecated_tool_aliases.go. For more information, see the official docs.

Lint & tests

  • Linted locally with ./script/lint
  • Tested locally with ./script/test

Docs

  • Not needed
  • Updated (README / docs / examples)

Wire the documented tool-search subcommand to the existing discovery engine and configured inventory.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 26, 2026 13:42
@tommaso-moro
tommaso-moro requested a review from a team as a code owner August 26, 2026 13:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Registers the documented tool-search CLI command and connects it to the existing filtered tool inventory.

Changes:

  • Adds configurable tool search with result limits and TTY-aware color.
  • Tests registration, filtering, feature flags, and output.
  • Restores color dependencies and generated license metadata.
Show a summary per file
File Description
cmd/github-mcp-server/tool_search.go Implements and registers tool search.
cmd/github-mcp-server/tool_search_test.go Tests command behavior and filtering.
go.mod Adds the color dependency.
go.sum Records dependency checksums.
third-party-licenses.darwin.md Updates macOS license inventory.
third-party-licenses.linux.md Updates Linux license inventory.
third-party-licenses.windows.md Updates Windows license inventory.
third-party/github.com/fatih/color/LICENSE.md Adds dependency license.
third-party/github.com/mattn/go-colorable/LICENSE Adds dependency license.
third-party/github.com/mattn/go-isatty/LICENSE Adds dependency license.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 9/10 changed files
  • Comments generated: 0
  • Review effort level: Balanced

Remove the CLI section that advertised a subcommand the binary does not provide.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: f1d58829-0794-4caa-aa18-86543d177609
@tommaso-moro tommaso-moro changed the title Fix missing tool-search CLI command Remove documentation for unavailable tool-search command Aug 26, 2026
@tommaso-moro
tommaso-moro merged commit a00dc31 into main Aug 26, 2026
18 checks passed
@tommaso-moro
tommaso-moro deleted the tommaso-moro-fix-issue-3161 branch August 26, 2026 15:12
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.

docs/CLI: README documents tool-search subcommand that does not exist in the binary

3 participants