- Notifications
You must be signed in to change notification settings - Fork1k
Open
Description
Describe the bug
Every time thesearch_issues
in invoked I get this "error" (Query must include 'is:issue' or 'is:pull-request'
).
Anyway, the request goes on and the answer contains the results.
ModelContextProtocol.Client.McpClient[145193555] stdio-docker request failed for method 'tools/call': failed to search issues: GET https://api.github.com/search/issues?order=desc&page=1&per_page=1&q=AssemblyLoadContext+repo%3Adotnet%2Fruntime&sort=comments: 422 Query must include 'is:issue' or 'is:pull-request' [] (-32603).
A clear and concise description of what the bug is.
Affected version
{"name":"github-mcp-server","version":"v0.4.0"}' capabilities: '{"logging":{},"resources":{"subscribe":true,"listChanged":true},"tools":{"listChanged":true}}'
Steps to reproduce the behavior
I can see the error just because I log all the traffic, otherwise standard MCP clients normally don't bother about errors that are not blocking.
The query is "AssemblyLoadContext" on thedotnet/runtime
repository.
While the repo may be not the best value passed to the mcp server (it's the LLM creating it), the error does not depend on it.
Expected vs actual behavior
The error should not occur even if it is not blocking.