Describe the bug
add_issue_comment intermittently fails with a type error on the issue_number parameter, then succeeds on retry with identical parameters.
Affected version
HTTP https://api.githubcopilot.com/mcp
Current version iaw. repo is 0.30.2
Steps to reproduce the behavior
- Call
add_issue_comment with valid parameters:
{
"owner": "username",
"repo": "reponame",
"issue_number": 2649,
"body": "test comment"
}
- Observe error:
parameter issue_number is not of type float64
- Retry the exact same call
- Call succeeds
Expected vs actual behavior
Expected: The call should succeed on the first attempt since issue_number is a valid number.
Actual: Intermittently fails with type error, succeeds on retry.
Logs
parameter issue_number is not of type float64
Client: Claude Code CLI 2.1.22