René's URL Explorer Experiment


Title: Two notification-subscription tools omit destructiveHint, defaulting to destructive under MCP 2025-06-18 · Issue #2841 · github/github-mcp-server · GitHub

Open Graph Title: Two notification-subscription tools omit destructiveHint, defaulting to destructive under MCP 2025-06-18 · Issue #2841 · github/github-mcp-server

X Title: Two notification-subscription tools omit destructiveHint, defaulting to destructive under MCP 2025-06-18 · Issue #2841 · github/github-mcp-server

Description: Describe the bug Under MCP schema 2025-06-18, an omitted destructiveHint defaults to true. Two tools currently emit readOnlyHint: false but omit destructiveHint, so a spec-conformant client will render them as destructive even though the...

Open Graph Description: Describe the bug Under MCP schema 2025-06-18, an omitted destructiveHint defaults to true. Two tools currently emit readOnlyHint: false but omit destructiveHint, so a spec-conformant client will re...

X Description: Describe the bug Under MCP schema 2025-06-18, an omitted destructiveHint defaults to true. Two tools currently emit readOnlyHint: false but omit destructiveHint, so a spec-conformant client will re...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Two notification-subscription tools omit destructiveHint, defaulting to destructive under MCP 2025-06-18","articleBody":"### Describe the bug\n\nUnder MCP schema 2025-06-18, an omitted `destructiveHint` defaults to `true`.\n\nTwo tools currently emit `readOnlyHint: false` but omit `destructiveHint`, so a spec-conformant client will render them as destructive even though they appear to operate only on the caller's own notification-subscription state:\n\n1. `manage_notification_subscription` in `pkg/github/notifications.go:413`\n   - Updates the caller's own thread subscription state (`watch`, `ignore`, or remove the subscription preference record at `:460` and `:465`)\n   - This does not modify thread or repository content\n\n2. `manage_repository_notification_subscription` in `pkg/github/notifications.go:509`\n   - Updates the caller's own repository subscription state (`subscribed`, `ignored`, or remove the subscription preference record at `:564` and `:569`)\n   - This does not modify repository content\n\nIf that reading is right, both tools are non-read-only but not destructive, and should set `destructiveHint: false` explicitly.\n\nI'm filing this as a question rather than asserting a bug in case I'm misreading the intended risk model.\n\nI scoped this deliberately to these two tools. I did not include other write tools because their current hints are more arguable from source review.\n\n### Affected version\n\nGitHub MCP Server `v1.5.0`\n\nSource reviewed at commit `40db5e3`  \nAffected code:\n- `pkg/github/notifications.go:413`\n- `pkg/github/notifications.go:509`\n\n### Steps to reproduce\n\n1. Open `pkg/github/notifications.go`\n2. Inspect `manage_notification_subscription` and `manage_repository_notification_subscription`\n3. Note that both emit `readOnlyHint: false`\n4. Note that neither sets `destructiveHint`\n5. Under MCP schema 2025-06-18, a conformant client therefore interprets both as `destructiveHint: true`\n\n### Expected behavior\n\nThese per-user subscription toggles should surface as non-destructive writes.\n\n### Actual behavior\n\nThey default to destructive under schema 2025-06-18, so consent UIs over-warn on operations that appear to affect only the caller's own subscription metadata.\n\n### Logs\n\nN/A. Static annotation review only.\n\nIf this matches the intended semantics, I'm happy to open a small PR setting `destructiveHint: false` explicitly on both. From the repo comments, it looks like snapshots can be regenerated with:\n\n`UPDATE_TOOLSNAPS=true go test ./...`","author":{"url":"https://github.com/MaazAhmed47","@type":"Person","name":"MaazAhmed47"},"datePublished":"2026-07-08T13:26:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2841/github-mcp-server/issues/2841"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1f0ef487-5e5c-4ad8-3754-ef77b495c68f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC310:338D73:520141:754395:6A5F1FF2
html-safe-nonce3389e90269a62f62aef2f84829f300476c62995cf487c0ee1f93a21bc44b6efd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzEwOjMzOEQ3Mzo1MjAxNDE6NzU0Mzk1OjZBNUYxRkYyIiwidmlzaXRvcl9pZCI6IjQ3NDgyNTgzMzUxODMwMjAwMTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb20f5f2acd3fd7f4f89ba22eb42cabc0ce84f872ec37285b2294f86967b73b4f
hovercard-subject-tagissue:4837884525
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/2841/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3fa47a67f637d3a8f2d9f75b38e93df551818b1f21df364317299f32444e0506/github/github-mcp-server/issues/2841
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3fa47a67f637d3a8f2d9f75b38e93df551818b1f21df364317299f32444e0506/github/github-mcp-server/issues/2841
og:image:altDescribe the bug Under MCP schema 2025-06-18, an omitted destructiveHint defaults to true. Two tools currently emit readOnlyHint: false but omit destructiveHint, so a spec-conformant client will re...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMaazAhmed47
hostnamegithub.com
expected-hostnamegithub.com
Nonebf8fa4b42b6d150def6175efb9b0f1ec8e9628d7229ee2bdf6e850e7bdad923e
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
release7debc3c6cd5de09c6e22b47a1b9982acb2aabb7b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/github-mcp-server/issues/2841#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F2841
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F2841
Sign up https://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/2841
Reloadhttps://github.com/github/github-mcp-server/issues/2841
Reloadhttps://github.com/github/github-mcp-server/issues/2841
Please reload this pagehttps://github.com/github/github-mcp-server/issues/2841
github https://github.com/github
github-mcp-serverhttps://github.com/github/github-mcp-server
Notifications https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Fork 4.6k https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Star 31.6k https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Code https://github.com/github/github-mcp-server
Issues 170 https://github.com/github/github-mcp-server/issues
Pull requests 172 https://github.com/github/github-mcp-server/pulls
Discussions https://github.com/github/github-mcp-server/discussions
Actions https://github.com/github/github-mcp-server/actions
Models https://github.com/github/github-mcp-server/models
Security and quality 2 https://github.com/github/github-mcp-server/security
Insights https://github.com/github/github-mcp-server/pulse
Code https://github.com/github/github-mcp-server
Issues https://github.com/github/github-mcp-server/issues
Pull requests https://github.com/github/github-mcp-server/pulls
Discussions https://github.com/github/github-mcp-server/discussions
Actions https://github.com/github/github-mcp-server/actions
Models https://github.com/github/github-mcp-server/models
Security and quality https://github.com/github/github-mcp-server/security
Insights https://github.com/github/github-mcp-server/pulse
#2884https://github.com/github/github-mcp-server/pull/2884
#2845https://github.com/github/github-mcp-server/pull/2845
Two notification-subscription tools omit destructiveHint, defaulting to destructive under MCP 2025-06-18https://github.com/github/github-mcp-server/issues/2841#top
#2884https://github.com/github/github-mcp-server/pull/2884
#2845https://github.com/github/github-mcp-server/pull/2845
bugSomething isn't workinghttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
request ai reviewhttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22request%20ai%20review%22
https://github.com/MaazAhmed47
MaazAhmed47https://github.com/MaazAhmed47
on Jul 8, 2026https://github.com/github/github-mcp-server/issues/2841#issue-4837884525
bugSomething isn't workinghttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
request ai reviewhttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22request%20ai%20review%22
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

Viewport: width=device-width


URLs of crawlers that visited me.