Skip to content

Copilot's AI insists that this tool's get_pull_request_status is pull_number but the tool expects pullNumber #392

Closed as not planned
@dantman

Description

@dantman

Describe the bug

Whenever Copilot attempts to run get_pull_request_status it always fails for me with an error that pullNumber is missing and the input includes a pull_number.

Affected version

Please run docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version and paste the output below

GitHub MCP Server
Version: v0.2.1
Commit: 9fa582d
Build Date: 2025-04-21T23:03:04Z

Steps to reproduce the behavior

  1. Have a discussion that leads to the AI being aware you are on a branch suitable for being made into a pull request

  2. Ask the AI something like 'Make a pull request and watch github actions for the relevant actions to complete.' after a discuss

  3. Confirm the AI's too requests, which should be git_branch:show-current, list_pull_requests, create_pull_request, then get_pull_request_status

  4. See that get_pull_request_status has failed and look at the input and output

  5. See that the input is { "owner": "org-name", "repo": "repo-name", "pull_number": 123 } with the output "missing required parameter: pullNumber"

  6. Expected vs actual behavior

The AI should have sent pullNumber.

Logs

Image

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