Description
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
-
Have a discussion that leads to the AI being aware you are on a branch suitable for being made into a pull request
-
Ask the AI something like 'Make a pull request and watch github actions for the relevant actions to complete.' after a discuss
-
Confirm the AI's too requests, which should be
git_branch:show-current
,list_pull_requests
,create_pull_request
, thenget_pull_request_status
-
See that
get_pull_request_status
has failed and look at the input and output -
See that the input is
{ "owner": "org-name", "repo": "repo-name", "pull_number": 123 }
with the output "missing required parameter: pullNumber" -
Expected vs actual behavior
The AI should have sent pullNumber.
Logs
