Query must include 'is:issue' or 'is:pull-request' on `search_issues` · Issue #462 · github/github-mcp-server · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Query must include 'is:issue' or 'is:pull-request' on search_issues #462

Closed
@raffaeler

Description

@raffaeler

Describe the bug

Every time the search_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 the dotnet/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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    TMZ Celebrity News – Breaking Stories, Videos & Gossip

    Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

    Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

    🎥 Watch TMZ Live

    TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.