Title: update_pull_request: `reviewers` field silently ignores team slugs · Issue #2440 · github/github-mcp-server · GitHub
Open Graph Title: update_pull_request: `reviewers` field silently ignores team slugs · Issue #2440 · github/github-mcp-server
X Title: update_pull_request: `reviewers` field silently ignores team slugs · Issue #2440 · github/github-mcp-server
Description: The update_pull_request tool's reviewers field silently ignores team reviewer slugs (e.g., ORG/team-slug). No error is returned, but the teams are not added as reviewers on the pull request. Steps to Reproduce Create a pull request in an...
Open Graph Description: The update_pull_request tool's reviewers field silently ignores team reviewer slugs (e.g., ORG/team-slug). No error is returned, but the teams are not added as reviewers on the pull request. Steps ...
X Description: The update_pull_request tool's reviewers field silently ignores team reviewer slugs (e.g., ORG/team-slug). No error is returned, but the teams are not added as reviewers on the pull request. St...
Opengraph URL: https://github.com/github/github-mcp-server/issues/2440
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"update_pull_request: `reviewers` field silently ignores team slugs","articleBody":"\nThe `update_pull_request` tool's `reviewers` field silently ignores team reviewer slugs (e.g., `ORG/team-slug`). No error is returned, but the teams are not added as reviewers on the pull request.\n\n## Steps to Reproduce\n\n1. Create a pull request in an organization repository\n2. Call `update_pull_request` with `reviewers` set to team slugs:\n ```json\n {\n \"owner\": \"MY-ORG\",\n \"repo\": \"my-repo\",\n \"pullNumber\": 123,\n \"reviewers\": [\"MY-ORG/my-team\"]\n }\n ```\n3. Verify review requests on the PR — they are empty\n\n## Expected Behavior\n\nEither:\n- The `reviewers` field should support team slugs (in `ORG/team-slug` format) and correctly call the GitHub API's `team_reviewers` parameter, OR\n- A separate `team_reviewers` field should be exposed on the tool, OR\n- An error should be returned indicating that team slugs are not supported\n\n## Actual Behavior\n\nThe tool returns a success response but no team review requests are created. The failure is silent.\n\nNotably, when passing an **invalid individual username**, the API correctly returns a 422 error:\n```\nReviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the repository.\n```\n\nBut team slugs are silently dropped before reaching the API — no error is surfaced.\n\n## Environment\n\nTested and reproduced on:\n- **GitHub Enterprise Server (GHES) 3.19.4**\n- **GitHub Enterprise Cloud** (EU data residency, `ghe.com`)\n\nMCP server version: `ghcr.io/github/github-mcp-server:latest` (pulled 2025-05-07, digest `sha256:2ac27ef03461ef2b877031b838a7d1fd7f12b12d4ace7796d8cad91446d55959`)\n\n## Workaround\n\nUsing the `gh` CLI works correctly:\n```\ngh pr edit 123 --add-reviewer ORG/team-slug\n```\n\n## Context\n\nThe GitHub REST API for [[requesting reviewers](https://docs.github.com/en/rest/pulls/review-requests#request-reviewers-for-a-pull-request)](https://docs.github.com/en/rest/pulls/review-requests#request-reviewers-for-a-pull-request) distinguishes between `reviewers` (array of user logins) and `team_reviewers` (array of team slugs). The MCP server tool currently only exposes a single `reviewers` field described as \"GitHub usernames to request reviews from\", with no support for teams.","author":{"url":"https://github.com/dastrobu","@type":"Person","name":"dastrobu"},"datePublished":"2026-05-07T14:55:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2440/github-mcp-server/issues/2440"}
| 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:8e420b1d-69fb-e3fe-b482-4f417b33e92e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B148:2046A1:12E312:1B61D5:6A61FACE |
| html-safe-nonce | d3af7e67a8cca9f844b4e28ee1ffe6ea9e2c141c4fb0c4f75f510108aaf3604c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTQ4OjIwNDZBMToxMkUzMTI6MUI2MUQ1OjZBNjFGQUNFIiwidmlzaXRvcl9pZCI6IjcwMDg2OTQyMDI4MTkyNzk1NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3778fb7378ec58f03157c457b308290903bf03e8bb5fa279bcc1192f67db0ef6 |
| hovercard-subject-tag | issue:4399720371 |
| 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/2440/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0832e06e9f2109c7bdd07345983dc5d87cad05e92db03085267b6d366b9c8436/github/github-mcp-server/issues/2440 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0832e06e9f2109c7bdd07345983dc5d87cad05e92db03085267b6d366b9c8436/github/github-mcp-server/issues/2440 |
| og:image:alt | The update_pull_request tool's reviewers field silently ignores team reviewer slugs (e.g., ORG/team-slug). No error is returned, but the teams are not added as reviewers on the pull request. Steps ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dastrobu |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9e41a6fd863e96b9c7e9185dc317bf107dbbf8cb10efd6dea957211963f33775 |
| 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 | 2ed5e9c44acb35dcc1d752e449d2a6f7a6164b7b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width