René's URL Explorer Experiment


Title: Non-destructive write tools omit `destructiveHint: false`, causing conservative approval prompts · Issue #3281 · github/github-mcp-server · GitHub

Open Graph Title: Non-destructive write tools omit `destructiveHint: false`, causing conservative approval prompts · Issue #3281 · github/github-mcp-server

X Title: Non-destructive write tools omit `destructiveHint: false`, causing conservative approval prompts · Issue #3281 · github/github-mcp-server

Description: Describe the bug Some clearly non-destructive/additive GitHub MCP tools set ReadOnlyHint: false but omit DestructiveHint: false. Under the MCP ToolAnnotations contract, destructiveHint defaults to true when omitted for a non-read-only to...

Open Graph Description: Describe the bug Some clearly non-destructive/additive GitHub MCP tools set ReadOnlyHint: false but omit DestructiveHint: false. Under the MCP ToolAnnotations contract, destructiveHint defaults to ...

X Description: Describe the bug Some clearly non-destructive/additive GitHub MCP tools set ReadOnlyHint: false but omit DestructiveHint: false. Under the MCP ToolAnnotations contract, destructiveHint defaults to ...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Non-destructive write tools omit `destructiveHint: false`, causing conservative approval prompts","articleBody":"### Describe the bug\n\nSome clearly non-destructive/additive GitHub MCP tools set `ReadOnlyHint: false` but omit `DestructiveHint: false`.\n\nUnder the MCP `ToolAnnotations` contract, `destructiveHint` defaults to `true` when omitted for a non-read-only tool. Clients that honor the conservative default can therefore treat routine additive operations as potentially destructive and require additional confirmation.\n\nThis is observable with ChatGPT using the official `github-mcp-server` over Streamable HTTP / Secure MCP Tunnel: read tools execute automatically when the app is configured with elevated / \"Allow all actions\" permissions, while routine write tools such as creating a branch or opening a pull request still trigger confirmation.\n\nOn desktop, the user can approve for the conversation. On mobile, the same workflow can require repeated per-call approvals.\n\n### Examples in the current server\n\n`create_branch` currently advertises:\n\n```go\nAnnotations: &mcp.ToolAnnotations{\n    Title:        t(\"TOOL_CREATE_BRANCH_USER_TITLE\", \"Create branch\"),\n    ReadOnlyHint: false,\n},\n```\n\n`create_pull_request` currently advertises:\n\n```go\nAnnotations: &mcp.ToolAnnotations{\n    Title:        t(\"TOOL_CREATE_PULL_REQUEST_USER_TITLE\", \"Open new pull request\"),\n    ReadOnlyHint: false,\n},\n```\n\nBoth operations are additive and appear to be good candidates for an explicit:\n\n```go\nDestructiveHint: jsonschema.Ptr(false),\n```\n\nThere is already precedent in the codebase: `create_pull_request_review` explicitly sets `DestructiveHint: false`, while genuinely destructive tools such as `delete_file` explicitly set `DestructiveHint: true`.\n\n### Expected behavior\n\nClearly additive write tools should explicitly advertise `DestructiveHint: false` instead of inheriting the MCP default of `true`.\n\nIt may also be worth auditing other write tools and explicitly classifying them rather than relying on the default. Tools whose behavior depends on the requested method or which can overwrite/delete existing state should remain conservative.\n\n### Why this matters\n\nThis does not change security enforcement; MCP annotations are hints. But clients use those hints to drive confirmation UX.\n\nMissing `destructiveHint: false` makes safe additive operations indistinguishable from potentially destructive writes to conservative clients, which creates significant approval friction in agentic workflows.\n\n### Environment\n\n* `github-mcp-server` v1.12.1\n* Streamable HTTP transport\n* ChatGPT custom MCP app over OpenAI Secure MCP Tunnel\n* App permission set to elevated / Allow all actions\n* Read operations do not prompt; routine write operations do\n\n### Related issues\n\n* #798 — fine-grained confirmation settings for write actions\n* #2723 — `label_write` delete missing `DestructiveHint: true`\n","author":{"url":"https://github.com/AlexanderWilhelmsenBerg","@type":"Person","name":"AlexanderWilhelmsenBerg"},"datePublished":"2026-09-15T07:40:31Z","url":"https://github.com/github/github-mcp-server/issues/3281"}

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:3fa5d6b4-3347-1ccf-e9a1-d48cf05316f2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id82E4:78C82:18E995:227F43:6B05D405
html-safe-nonce0dc3a62bd661ceabd3bc68a9731216932d45f87aa741fadad203fca7e515ea15
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkU0Ojc4QzgyOjE4RTk5NToyMjdGNDM6NkIwNUQ0MDUiLCJ2aXNpdG9yX2lkIjoiMzM0MTU0MzQyMDYxMDMzNTc0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac503e986781addb6fcacf043d8337aa99d60eb3116c63033bb0e6c5cead7f1fd8
hovercard-subject-tagissue:5459058785
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/3281/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e6def37946b033eb9b3b5daa70f6179f3b6022433f8fb56daf24dfc6c1944337/github/github-mcp-server/issues/3281
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e6def37946b033eb9b3b5daa70f6179f3b6022433f8fb56daf24dfc6c1944337/github/github-mcp-server/issues/3281
og:image:altDescribe the bug Some clearly non-destructive/additive GitHub MCP tools set ReadOnlyHint: false but omit DestructiveHint: false. Under the MCP ToolAnnotations contract, destructiveHint defaults to ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlexanderWilhelmsenBerg
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/3281#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F3281
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%2F3281
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/3281
Reloadhttps://github.com/github/github-mcp-server/issues/3281
Reloadhttps://github.com/github/github-mcp-server/issues/3281
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/3281
New issuehttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3281
#3293https://github.com/github/github-mcp-server/pull/3293
Non-destructive write tools omit destructiveHint: false, causing conservative approval promptshttps://github.com/github/github-mcp-server/issues/3281#top
#3293https://github.com/github/github-mcp-server/pull/3293
bughttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/AlexanderWilhelmsenBerg
AlexanderWilhelmsenBerghttps://github.com/AlexanderWilhelmsenBerg
on Sep 15, 2026https://github.com/github/github-mcp-server/issues/3281#issue-5459058785
Fine-grained confirmation settings for write actions in toolsets #798https://github.com/github/github-mcp-server/issues/798
label_write delete is missing DestructiveHint: true annotation #2723https://github.com/github/github-mcp-server/issues/2723
AlexanderWilhelmsenBerghttps://github.com/AlexanderWilhelmsenBerg
bughttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
on Sep 15, 2026https://github.com/github/github-mcp-server/issues/3281#event-31155630247
github-actionshttps://github.com/apps/github-actions
request ai reviewhttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22request%20ai%20review%22
on Sep 15, 2026https://github.com/github/github-mcp-server/issues/3281#event-31155671782
https://github.com/larik15
larik15https://github.com/larik15
on Sep 16, 2026https://github.com/github/github-mcp-server/issues/3281#issuecomment-5694155545
JoannaaKLhttps://github.com/JoannaaKL
request ai reviewhttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22request%20ai%20review%22
on Oct 29, 2026https://github.com/github/github-mcp-server/issues/3281#event-34577665801
Sign up for freehttps://github.com/signup?return_to=https://github.com/github/github-mcp-server/issues/3281
Sign in to commenthttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3281
bughttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%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

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.