René's URL Explorer Experiment


Title: Protocol-gated tools (delete_repository) are listed based on the client's requested protocolVersion string, not the negotiated version · Issue #3763 · github/github-mcp-server · GitHub

Open Graph Title: Protocol-gated tools (delete_repository) are listed based on the client's requested protocolVersion string, not the negotiated version · Issue #3763 · github/github-mcp-server

X Title: Protocol-gated tools (delete_repository) are listed based on the client's requested protocolVersion string, not the negotiated version · Issue #3763 · github/github-mcp-server

Description: Describe the bug delete_repository is meant to be available only to sessions on protocol ≥ 2026-07-28 with form elicitation. The availability check reads req.ProtocolVersion(). For a session started with initialize, that returns the vers...

Open Graph Description: Describe the bug delete_repository is meant to be available only to sessions on protocol ≥ 2026-07-28 with form elicitation. The availability check reads req.ProtocolVersion(). For a session starte...

X Description: Describe the bug delete_repository is meant to be available only to sessions on protocol ≥ 2026-07-28 with form elicitation. The availability check reads req.ProtocolVersion(). For a session starte...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Protocol-gated tools (delete_repository) are listed based on the client's requested protocolVersion string, not the negotiated version","articleBody":"### Describe the bug\n\n`delete_repository` is meant to be available only to sessions on protocol ≥ `2026-07-28` with form elicitation. The availability check reads `req.ProtocolVersion()`. For a session started with `initialize`, that returns the version the **client requested** (`InitializeParams.ProtocolVersion`), not the version the server answered. The comparison is also a plain string compare. As a result:\n\n- A client that requests `2026-07-28` is negotiated down to `2025-11-25` (deliberate in go-sdk, since `initialize` is deprecated in 2026-07-28), yet `tools/list` includes `delete_repository`.\n- Any string that sorts after `2026-07-28`, such as `zzz`, does the same.\n\nImpact is low. By code reading (not tested), `--read-only` should still remove the tool and deletion still requires the elicitation confirmation. But the listed tool set doesn't match the protocol the session actually speaks.\n\nUpstream context: go-sdk issue modelcontextprotocol/go-sdk#1258 (closed 2026-11-03 by go-sdk PR #1266) fixed the same requested-vs-negotiated confusion *inside* the SDK, through an unexported `ServerSession.protocolVersion()`. The public `ServerRequest.ProtocolVersion()` on go-sdk main still returns `InitializeParams.ProtocolVersion`. That fix isn't in a go-sdk release yet (latest v1.8.0, which this repo pins), so a go-sdk bump alone will not change this server's behaviour.\n\nCode (main 99d6d650, unchanged since v2.1.0): `pkg/inventory/tool_availability.go:120,136,175` (`req.ProtocolVersion()`), `:148-151` (`protocolVersion >= minimum`, string compare). go-sdk v1.8.0 `mcp/shared.go:674-686` (`ServerRequest.ProtocolVersion`).\n\n### Affected version\n\nv2.1.0 (image `sha256:f6056fc1…0f8a`, commit 4bcdcdf8) and main nightly (image `sha256:48bc16d0…338f`, revision 99d6d650). stdio, `--toolsets=all`.\n\n### Steps to reproduce the behavior\n\n1. `initialize`:\n   ```json\n   {\"protocolVersion\":\"2026-07-28\",\"capabilities\":{\"elicitation\":{\"form\":{}}},\"clientInfo\":{\"name\":\"t\",\"version\":\"0\"}}\n   ```\n   The result has `protocolVersion: \"2025-11-25\"`. `tools/list`: 92 tools, including `delete_repository`.\n2. Same with `\"protocolVersion\":\"zzz\",\"capabilities\":{\"elicitation\":{}}`. Negotiated `2025-11-25`, 92 tools, including `delete_repository`.\n3. Same with `\"protocolVersion\":\"2025-11-25\"` and form elicitation: 91 tools, no `delete_repository`.\n4. `\"2026-07-28\"` without an elicitation capability: 91 tools, no `delete_repository`.\n\n### Expected vs actual behavior\n\nExpected: availability follows the negotiated version (`2025-11-25` in steps 1 and 2), so `delete_repository` is not listed. Unknown version strings are not treated as newer.\n\nActual: the requested string decides, and `zzz` counts as newer than `2026-07-28`.\n\nSuggested fix: gate on the negotiated version. Either have go-sdk expose it, or make `ServerRequest.ProtocolVersion()` return it (a follow-up to go-sdk #1266). Meanwhile, when there is no per-request `_meta` version, cap the session value to the `initialize` result's version. Compare against a list of known versions, not lexically.\n\n### Logs\n\n```\nrequested 2026-07-28 + elicitation.form -> negotiated 2025-11-25, tools/list 92, delete_repository listed\nrequested zzz        + elicitation      -> negotiated 2025-11-25, tools/list 92, delete_repository listed\nrequested 2025-11-25 + elicitation.form -> negotiated 2025-11-25, tools/list 91\nrequested 2026-07-28, no elicitation    -> negotiated 2025-11-25, tools/list 91\n```\nSame on v2.1.0 and main.\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:15:09Z","url":"https://github.com/github/github-mcp-server/issues/3763"}

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:32618dd7-645d-6fe9-1890-a98a45374bd5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE1F4:32E0F9:297CE5:36122A:6B06149F
html-safe-nonce9847a72eba14ebd5f72ccaed2422f70e341fadb4b953c5e7496134888ed87811
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUY0OjMyRTBGOToyOTdDRTU6MzYxMjJBOjZCMDYxNDlGIiwidmlzaXRvcl9pZCI6IjM2NjAzNTUxMTkyNTU3ODY2NTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5e89ba53aeb88d068da52ea034f3c22b1a103e8399b494dbbfa75f434f402a9b
hovercard-subject-tagissue:6281007438
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/3763/issue_layout
twitter:imagehttps://opengraph.githubassets.com/278e66c59005ee4aa03e5f33c0e907f33b5fc24ac07ae103d810252e301b2337/github/github-mcp-server/issues/3763
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/278e66c59005ee4aa03e5f33c0e907f33b5fc24ac07ae103d810252e301b2337/github/github-mcp-server/issues/3763
og:image:altDescribe the bug delete_repository is meant to be available only to sessions on protocol ≥ 2026-07-28 with form elicitation. The availability check reads req.ProtocolVersion(). For a session starte...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerafe-walker
hostnamegithub.com
expected-hostnamegithub.com
None97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374
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
release866f202ebf7ac5aff8f633417d9fd8a53818a977
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/github/github-mcp-server/issues/3763#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F3763
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%2F3763
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/3763
Reloadhttps://github.com/github/github-mcp-server/issues/3763
Reloadhttps://github.com/github/github-mcp-server/issues/3763
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/3763
New issuehttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3763
#3795https://github.com/github/github-mcp-server/pull/3795
Protocol-gated tools (delete_repository) are listed based on the client's requested protocolVersion string, not the negotiated versionhttps://github.com/github/github-mcp-server/issues/3763#top
#3795https://github.com/github/github-mcp-server/pull/3795
https://github.com/rafe-walker
rafe-walkerhttps://github.com/rafe-walker
on Nov 9, 2026https://github.com/github/github-mcp-server/issues/3763#issue-6281007438
modelcontextprotocol/go-sdk#1258https://github.com/modelcontextprotocol/go-sdk/issues/1258
#1266https://github.com/github/github-mcp-server/issues/1266
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
#1266https://github.com/github/github-mcp-server/issues/1266
Sign up for freehttps://github.com/signup?return_to=https://github.com/github/github-mcp-server/issues/3763
Sign in to commenthttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3763
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.