Describe the bug
When issue_write is called with 'assignees' set to empty array, the tool behaves as if the parameter was not provided at all (ignores it). This results in inability to e.g. unassign an issue from user.
Same issue is observed when trying to set 'labels' to empty array.
Affected version
Latest, connected to remote GitHub MCP server via MCP inspector.
Steps to reproduce the behavior
- Create an issue.
- Assign issue to user by calling issue_write with 'assignees' parameter set to [ 'anna-kogai' ]
- Unassign issue from user by calling issue_write with 'assignees' parameter set to []
- Observe tool reporting success
Expected vs actual behavior
Expected behavior: The list of assignees is empty.
Actual behavior: Assignees is still set to [ 'anna-kogai' ]
Logs
Paste any available logs. Redact if needed.
Describe the bug
When issue_write is called with 'assignees' set to empty array, the tool behaves as if the parameter was not provided at all (ignores it). This results in inability to e.g. unassign an issue from user.
Same issue is observed when trying to set 'labels' to empty array.
Affected version
Latest, connected to remote GitHub MCP server via MCP inspector.
Steps to reproduce the behavior
Expected vs actual behavior
Expected behavior: The list of assignees is empty.
Actual behavior: Assignees is still set to [ 'anna-kogai' ]
Logs
Paste any available logs. Redact if needed.