René's URL Explorer Experiment


Title: update_issue_labels is annotated destructiveHint: false but replaces (removes) existing labels · Issue #3760 · github/github-mcp-server · GitHub

Open Graph Title: update_issue_labels is annotated destructiveHint: false but replaces (removes) existing labels · Issue #3760 · github/github-mcp-server

X Title: update_issue_labels is annotated destructiveHint: false but replaces (removes) existing labels · Issue #3760 · github/github-mcp-server

Description: Describe the bug The granular update_issue_labels tool sets destructiveHint: false. Its own description says "This replaces the current labels with the provided list", and that is what it does: labels not in the list are removed. A host ...

Open Graph Description: Describe the bug The granular update_issue_labels tool sets destructiveHint: false. Its own description says "This replaces the current labels with the provided list", and that is what it does: lab...

X Description: Describe the bug The granular update_issue_labels tool sets destructiveHint: false. Its own description says "This replaces the current labels with the provided list", and that is what it...

Opengraph URL: https://github.com/github/github-mcp-server/issues/3760

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"update_issue_labels is annotated destructiveHint: false but replaces (removes) existing labels","articleBody":"### Describe the bug\n\nThe granular `update_issue_labels` tool sets `destructiveHint: false`. Its own description says \"This replaces the current labels with the provided list\", and that is what it does: labels not in the list are removed. A host that keys confirmation on `destructiveHint` may not prompt for a call that removes labels.\n\nThis is the opposite of #3281 / PR #3293, which are about additive tools that *omit* the hint. Here the hint is explicitly `false` on a tool that removes data. Open PR #2742 adds `method: replace|add|remove` but keeps `replace` as the default and does not change the annotation. `update_issue_assignees` uses the same annotation and the same replace pattern (`issues_granular.go:238`). That one was not tested live.\n\nA previous PR, #2471, which marked the granular `update_issue_*` tools destructive for client egress policy, was closed unmerged. This issue is narrower: it concerns only the two replace-semantics tools, where the description and the annotation disagree.\n\nThe tool is behind the `issues_granular` feature flag, and this is an annotation-accuracy item only. To enable it, start the server with `--features=issues_granular`, which swaps the consolidated `issue_write` for the granular issue tools.\n\nCode (main 99d6d650, unchanged since v2.1.0): `pkg/github/issues_granular.go:368-375` (`update_issue_labels`, `DestructiveHint: new(false)` at `:373`).\n\n### Affected version\n\nv2.1.0 (image `sha256:f6056fc1…0f8a`, commit 4bcdcdf8) and main nightly (image `sha256:48bc16d0…338f`, revision 99d6d650), both with `--features=issues_granular`.\n\n### Steps to reproduce the behavior\n\n1. `tools/list` shows `update_issue_labels` annotations `{\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":true,\"readOnlyHint\":false}`.\n2. Issue N has labels `[c, d]`.\n(123 stands for the issue/PR number.)\n3. Call:\n   ```json\n   {\"name\":\"update_issue_labels\",\"arguments\":{\"owner\":\"OWNER\",\"repo\":\"REPO\",\"issue_number\":123,\"labels\":[\"a\"]}}\n   ```\n4. Result: success. Labels are now `[a]`: `c` and `d` were removed.\n\n### Expected vs actual behavior\n\nExpected: a tool that can remove labels is annotated `destructiveHint: true`, or omits the hint, which defaults to true.\n\nActual: `destructiveHint: false`.\n\nSuggested fix: set `DestructiveHint: new(true)` on `update_issue_labels` (and `update_issue_assignees`) while replace is possible. Annotations are static, so this holds even if PR #2742 adds non-destructive methods.\n\n### Logs\n\n```\nannotations: {\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":true,\"readOnlyHint\":false,\"title\":\"Update Issue Labels\"}\nlabels before [c, d] -> update_issue_labels labels=[\"a\"] -> OK -> labels after [a]     (v2.1.0 and main)\n```\n\nFound during an independent audit of v2.1.0 on a throwaway org and private test repo. Prepared with AI assistance (Claude Code); reproduced by two independent test runs before filing.\n","author":{"url":"https://github.com/rafe-walker","@type":"Person","name":"rafe-walker"},"datePublished":"2026-11-09T06:06:04Z","url":"https://github.com/github/github-mcp-server/issues/3760"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:513eae1c-9f0c-2caf-37b0-eabb71476be5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA4A2:2FF249:34BFC7:47FE7B:6B05D953
html-safe-noncee79521fe942c9dd6791806fb302ce5323324fa5dbcaa252f6389508dcd24611b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEEyOjJGRjI0OTozNEJGQzc6NDdGRTdCOjZCMDVEOTUzIiwidmlzaXRvcl9pZCI6IjQ3NDYzOTY5MzkzMTc1MzMwMTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac98df8481de9c82bcbb4e09ed02c75e4b312df7cd5e140a52cb474eaf70e90bfe
hovercard-subject-tagissue:6280913891
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/3760/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ebdd2cc29cac263442d03462c20fdf690aff1a3e0adf351f4ef114f3e17ff680/github/github-mcp-server/issues/3760
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ebdd2cc29cac263442d03462c20fdf690aff1a3e0adf351f4ef114f3e17ff680/github/github-mcp-server/issues/3760
og:image:altDescribe the bug The granular update_issue_labels tool sets destructiveHint: false. Its own description says "This replaces the current labels with the provided list", and that is what it does: lab...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerafe-walker
hostnamegithub.com
expected-hostnamegithub.com
None7cc8361bc0396e5c33704280422dd7a38c5b91f6190589faea57461f56967249
turbo-cache-controlno-preview
go-importgithub.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id942771284
octolytics-dimension-repository_nwogithub/github-mcp-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id942771284
octolytics-dimension-repository_network_root_nwogithub/github-mcp-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseab4da203740f827015a12d36851c8de196e908bf
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/github/github-mcp-server/issues/3760#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F3760
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F3760
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fgithub-mcp-server
Reloadhttps://github.com/github/github-mcp-server/issues/3760
Reloadhttps://github.com/github/github-mcp-server/issues/3760
Reloadhttps://github.com/github/github-mcp-server/issues/3760
githubhttps://github.com/github
github-mcp-serverhttps://github.com/github/github-mcp-server
Codehttps://github.com/github/github-mcp-server
Issues238 (238)https://github.com/github/github-mcp-server/issues
Pull requests226 (226)https://github.com/github/github-mcp-server/pulls
Discussionshttps://github.com/github/github-mcp-server/discussions
Actionshttps://github.com/github/github-mcp-server/actions
Security and quality2 (2)https://github.com/github/github-mcp-server/security
Insightshttps://github.com/github/github-mcp-server/insights
https://github.com/github/github-mcp-server
New issuehttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3760
New issuehttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3760
#3800https://github.com/github/github-mcp-server/pull/3800
#3791https://github.com/github/github-mcp-server/pull/3791
update_issue_labels is annotated destructiveHint: false but replaces (removes) existing labelshttps://github.com/github/github-mcp-server/issues/3760#top
#3800https://github.com/github/github-mcp-server/pull/3800
#3791https://github.com/github/github-mcp-server/pull/3791
https://github.com/rafe-walker
rafe-walkerhttps://github.com/rafe-walker
on Nov 9, 2026https://github.com/github/github-mcp-server/issues/3760#issue-6280913891
#3281https://github.com/github/github-mcp-server/issues/3281
#3293https://github.com/github/github-mcp-server/pull/3293
#2742https://github.com/github/github-mcp-server/pull/2742
#2471https://github.com/github/github-mcp-server/pull/2471
99d6d65https://github.com/github/github-mcp-server/commit/99d6d6503a7b2a133e2f8a595d6d0ba24b4086d3
4bcdcdfhttps://github.com/github/github-mcp-server/commit/4bcdcdf8d7beee98c9448e73e257308280924cc4
99d6d65https://github.com/github/github-mcp-server/commit/99d6d6503a7b2a133e2f8a595d6d0ba24b4086d3
#2742https://github.com/github/github-mcp-server/pull/2742
https://github.com/rafe-walker
rafe-walkerhttps://github.com/rafe-walker
on Nov 12, 2026https://github.com/github/github-mcp-server/issues/3760#issuecomment-6829116483
#3791https://github.com/github/github-mcp-server/pull/3791
#3800https://github.com/github/github-mcp-server/pull/3800
#3791https://github.com/github/github-mcp-server/pull/3791
MayorFajhttps://github.com/MayorFaj
on Nov 15, 2026https://github.com/github/github-mcp-server/issues/3760#event-36176050366
feat(issues): add method option to update_issue_labelshttps://github.com/MayorFaj/github-mcp-server/commit/11728ad9c6b31f41357ef5b7fb9be42c148ffbd0
11728adhttps://github.com/MayorFaj/github-mcp-server/commit/11728ad9c6b31f41357ef5b7fb9be42c148ffbd0
Sign up for freehttps://github.com/signup?return_to=https://github.com/github/github-mcp-server/issues/3760
Sign in to commenthttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3760
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.