Title: Add granular `add_label_to_issue` / `remove_label_from_issue` tools · Issue #2724 · github/github-mcp-server · GitHub
Open Graph Title: Add granular `add_label_to_issue` / `remove_label_from_issue` tools · Issue #2724 · github/github-mcp-server
X Title: Add granular `add_label_to_issue` / `remove_label_from_issue` tools · Issue #2724 · github/github-mcp-server
Description: Describe the feature or problem you'd like to solve There is currently no way to remove a single label from an issue without replacing the issue's entire label set. The only issue-label tool, update_issue_labels (pkg/github/issues_granul...
Open Graph Description: Describe the feature or problem you'd like to solve There is currently no way to remove a single label from an issue without replacing the issue's entire label set. The only issue-label tool, updat...
X Description: Describe the feature or problem you'd like to solve There is currently no way to remove a single label from an issue without replacing the issue's entire label set. The only issue-label too...
Opengraph URL: https://github.com/github/github-mcp-server/issues/2724
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add granular `add_label_to_issue` / `remove_label_from_issue` tools","articleBody":"### Describe the feature or problem you'd like to solve\n\nThere is currently no way to remove a single label from an issue without replacing the issue's entire label set. The only issue-label tool, `update_issue_labels` (`pkg/github/issues_granular.go`), states in its own description: \"This replaces the current labels with the provided list.\"\n\nTo remove one label, a client must:\n1. Read all current labels on the issue\n2. Compute the full set minus the one to remove\n3. Send the complete remaining set back\n\nIf step 1 or 2 is incomplete or stale, labels are silently dropped. This read-modify-write pattern is error-prone for agents and adds round-trips.\n\n### Proposed solution\n\nAdd discrete, non-destructive tools backed by the existing REST endpoints:\n- `add_label_to_issue` → `POST /repos/{owner}/{repo}/issues/{issue_number}/labels`\n- `remove_label_from_issue` → `DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}`\n\nThese operate on a single label without touching the rest of the issue's labels.\n\n### Precedent in the codebase\n\nSub-issues already follow exactly this granular pattern with `add_sub_issue` and `remove_sub_issue`, rather than forcing a full-set replacement. Labels-on-issues would benefit from the same treatment.\n\n### Additional context\n\nRelated to #2412 (bulk/batch label operations). This proposal is the single-issue, single-label complement: #2412 covers operating across many issues at once, while this covers safely adding/removing one label on one issue without clobbering the others.","author":{"url":"https://github.com/pritesh-lahoti","@type":"Person","name":"pritesh-lahoti"},"datePublished":"2026-06-17T17:47:20Z","url":"https://github.com/github/github-mcp-server/issues/2724"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:d963ba95-e1ce-76a3-e0e0-64fb6ea1317d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C62A:C2655:3C3171:4FDFF5:6B05E110 |
| html-safe-nonce | 10093ff8ca815410b51bd4d42965ee1366fefe62dcf4092cdb3b6e32e93e6778 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjJBOkMyNjU1OjNDMzE3MTo0RkRGRjU6NkIwNUUxMTAiLCJ2aXNpdG9yX2lkIjoiNTMxODMxMzU5OTA0MTkyMTI5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1e6774be71026b98cda071800ca9c8d66c71f87a80bbc85c55ecf740ca959d19 |
| hovercard-subject-tag | issue:4685715908 |
| 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/2724/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a4d96ecbe0d1d7156581b0ec27fc89a396fe99f5e5041764e9356745aa9a5372/github/github-mcp-server/issues/2724 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a4d96ecbe0d1d7156581b0ec27fc89a396fe99f5e5041764e9356745aa9a5372/github/github-mcp-server/issues/2724 |
| og:image:alt | Describe the feature or problem you'd like to solve There is currently no way to remove a single label from an issue without replacing the issue's entire label set. The only issue-label tool, updat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pritesh-lahoti |
| hostname | github.com |
| expected-hostname | github.com |
| None | ab9d6b164c6e5b32656ef80f1a302b2dafee4e4c9360ef3fced66da06fb522fa |
| 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 | 2db8c3558610af6beef9310dcf5537e201a6e5fb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width