Skip to content

docs: document search_repositories repo: qualifier limitation - #49691

Draft
pelikhan with Copilot wants to merge 3 commits into
mainfrom
copilot/deep-report-fix-repo-qualifier-issue
Draft

docs: document search_repositories repo: qualifier limitation#49691
pelikhan with Copilot wants to merge 3 commits into
mainfrom
copilot/deep-report-fix-repo-qualifier-issue

Conversation

Copilot AI commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

search_repositories silently ignores the repo:owner/name qualifier and ranks results by star count, causing agents to act on completely unrelated repositories (e.g., querying repo:github/gh-aw returns github/gitignore).

Changes

  • .github/aw/github-mcp-server.md — adds a warning block under search_repositories documenting the broken repo: qualifier, with correct alternatives:
    • Repository discovery: use org:, user:, topic:, language:, or stars: qualifiers
    • Single-repo resolution: use a repos-toolset call with explicit owner/repo (e.g., get_file_contents)
  • .github/aw/github-mcp-server-pagination.md — adds search_repositories + repo: to the Known Tool Quirks section alongside the existing list_label / list_workflows entries

Copilot AI and others added 2 commits August 2, 2026 01:54
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…ub MCP server guidance

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix github MCP search_repositories for repo: qualifier docs: document search_repositories repo: qualifier limitation Aug 2, 2026
Copilot AI requested a review from pelikhan August 2, 2026 02:01
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.

[deep-report] github MCP search_repositories ignores repo: qualifier, returns unrelated top hit

2 participants