Skip to content

missing required parameter: query #1084

@vorburger

Description

@vorburger

Describe the bug

GitHub MCP server does not work for me to query GitHub Issues with Copilot from within VSC due to:

missing required parameter: query

The same does work fine for me when using https://github.com/copilot.

Affected version

N/A, as using https://api.githubcopilot.com/mcp/.

Steps to reproduce the behavior

  1. In GitHub Copilot in Visual Studio Code
  2. I'm selecting Agent Mode and using GPT-4.1
  3. and enabling all Tools of the remote GitHub MCP server,
  4. using this mcp.json configuration:
    {
      "servers": {
        "github": {
          "type": "http",
          "url": "https://api.githubcopilot.com/mcp/"
        }
      }
    }
  5. Prompting it with "How many issues are assigned to me on https://github.com/enola-dev/enola/issues ?"
  6. It successfully "Ran Get my user profile" (so my credentials are working)
  7. then it fails, due to:
Ran Search issues 
Completed with input: {
  "owner": "enola-dev",
  "repo": "enola",
  "q": "assignee:vorburger is:open",
  "perPage": 100
}

Ran Search issues 
Completed with input: {
  "q": "repo:enola-dev/enola assignee:vorburger is:open",
  "perPage": 100
}

There is a technical issue with the search tool: it requires the parameter to be named `query`, not `q`. I will retry using the correct parameter name. I am unable to retrieve the number of issues assigned to you due to a technical limitation with the available tools.

Metadata

Metadata

Assignees

No one assigned

    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