Title: issue_write tool ignore parameters set to default values (e.g. empty array) · Issue #2596 · github/github-mcp-server · GitHub
Open Graph Title: issue_write tool ignore parameters set to default values (e.g. empty array) · Issue #2596 · github/github-mcp-server
X Title: issue_write tool ignore parameters set to default values (e.g. empty array) · Issue #2596 · github/github-mcp-server
Description: 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 obse...
Open Graph Description: 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. unassig...
X Description: 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....
Opengraph URL: https://github.com/github/github-mcp-server/issues/2596
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"issue_write tool ignore parameters set to default values (e.g. empty array)","articleBody":"### Describe the bug\n\nWhen 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. \n\nSame issue is observed when trying to set 'labels' to empty array. \n\n### Affected version\n\nLatest, connected to remote GitHub MCP server via MCP inspector.\n\n### Steps to reproduce the behavior\n\n1. Create an issue.\n2. Assign issue to user by calling issue_write with 'assignees' parameter set to [ 'anna-kogai' ] \n3. Unassign issue from user by calling issue_write with 'assignees' parameter set to []\n4. Observe tool reporting success\n\n### Expected vs actual behavior\n\nExpected behavior: The list of assignees is empty. \nActual behavior: Assignees is still set to [ 'anna-kogai' ]\n\n### Logs\n\nPaste any available logs. Redact if needed.\n","author":{"url":"https://github.com/anna-kogai","@type":"Person","name":"anna-kogai"},"datePublished":"2026-06-02T23:23:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2596/github-mcp-server/issues/2596"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:51e1ab8b-8033-f7ea-4618-6fdd7bb51621 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9FE6:830DA:2418099:31F1335:6A60AAA3 |
| html-safe-nonce | a25a49b02c81a696b6a70fd150c6f8b8c88b6c2f10723ba2f5a843bdeddc0d16 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkU2OjgzMERBOjI0MTgwOTk6MzFGMTMzNTo2QTYwQUFBMyIsInZpc2l0b3JfaWQiOiIyNTMwNjQ5MjIyODM4MDA0Mzg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e01f2db7ee5ea30b2d1a786143cb84e31fa1d87b364eedf24b33e1cb6b75bd47 |
| hovercard-subject-tag | issue:4575658903 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/2596/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cf275b7cb0edaffa13f4eb6112d3aebf29802f72825f493808a668b17f6152f6/github/github-mcp-server/issues/2596 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cf275b7cb0edaffa13f4eb6112d3aebf29802f72825f493808a668b17f6152f6/github/github-mcp-server/issues/2596 |
| og:image:alt | 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. unassig... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anna-kogai |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66af895cfa11168648b21cb54f2bdc3b0587503cc95c3040344b93f2cd4f9e08 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 942771284 |
| octolytics-dimension-repository_nwo | github/github-mcp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 942771284 |
| octolytics-dimension-repository_network_root_nwo | github/github-mcp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b2efb079bef4751afb19e51eb8a7bfb7a46dd1a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width