Hosted search_issues silently returns incorrect keyword results
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- github, go
- Ambito
- backend-api-design, search
Direzione di ricerca
Inizia riproducendo le query search_issues elencate sull’endpoint MCP ospitato e confrontale con GitHub REST GET /search/issues. Poi segui l’implementazione di search_issues e il percorso della richiesta ospitata; il lavoro è completato quando le query per parole chiave mantengono la semantica di ricerca di GitHub oppure restituiscono un segnale esplicito di query non supportata/errore invece di risultati riusciti ma errati e silenziosi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bug description
The hosted GitHub MCP search_issues tool silently returns materially incorrect keyword search results while reporting incomplete_results: false.
This reproduces when calling the hosted endpoint directly, without an MCP aggregator.
Environment
- Endpoint:
https://api.githubcopilot.com/mcp - Server:
github-mcp-server - Reported version:
github-mcp-server/remote-34ac9c16f8fd3e2a5af74929de89de3a11e98f9b - Protocol negotiated:
2025-11-25 - Date verified: 2026-08-31
Reproduction
Call search_issues with ordinary GitHub issue search syntax already scoped to issues.
| Query | Hosted MCP total_count |
GitHub REST GET /search/issues |
|---|---|---|
repo:modelcontextprotocol/python-sdk transport |
0 | 410 |
repo:modelcontextprotocol/python-sdk windows |
0 | 95 |
repo:anthropics/claude-code hooks |
3 | 8016 |
memory leak |
40 | 407744 at verification time |
The three returned hooks results were titled plugins, trap, and Hook before Exit, which also does not match normal GitHub full-text search behavior.
Passing owner and repo separately with a keyword-only query produced the same incorrect results, so this is not limited to embedding repo: in query.
Qualifier-only searches such as repo:modelcontextprotocol/python-sdk label:bug return plausible counts, which makes the keyword failure easy for an agent to trust silently.
Expected behavior
search_issues should preserve GitHub issue search semantics and return counts/results consistent with the GitHub REST Search API for the same effective query, or return an explicit error/unsupported-query signal.
Actual behavior
The tool returns a successful response with incomplete_results: false, but keyword matches are missing or unrelated.
Impact
Agents can incorrectly conclude that an issue, bug report, or prior discussion does not exist. This is a correctness failure rather than only a ranking-quality difference.
- Lingua principale
- Go
- Stelle
- 33.1k
- Fork
- 5k
- Merge medio
- 2g 1h
- PR unite (30g)
- 25
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/github-mcp-server
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
github/github-mcp-server#3235 ·
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
github/github-mcp-server#3042 · 2 commenti ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/github-mcp-server#3032 · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
github/github-mcp-server#2803 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
github/github-mcp-server#2740 ·
Tutte le issue di github/github-mcp-server
Issue simili
-
textual definition
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
geneontology/go-ontology#32653 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
-
needs design
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100