René's URL Explorer Experiment


Title: Enforce explicit `ReadOnlyHint` on all MCP tool definitions via AST validation by Copilot · Pull Request #2487 · github/github-mcp-server · GitHub

Open Graph Title: Enforce explicit `ReadOnlyHint` on all MCP tool definitions via AST validation by Copilot · Pull Request #2487 · github/github-mcp-server

X Title: Enforce explicit `ReadOnlyHint` on all MCP tool definitions via AST validation by Copilot · Pull Request #2487 · github/github-mcp-server

Description: GitHub's official MCP Server. Contribute to github/github-mcp-server development by creating an account on GitHub.

Open Graph Description: Summary Adds a compile-time-style guard in tests to ensure every mcp.Tool in pkg/github explicitly sets Annotations.ReadOnlyHint. This prevents silent regressions where missing annotations degrade ...

X Description: Summary Adds a compile-time-style guard in tests to ensure every mcp.Tool in pkg/github explicitly sets Annotations.ReadOnlyHint. This prevents silent regressions where missing annotations degrade ...

Opengraph URL: https://github.com/github/github-mcp-server/pull/2487

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4fe771cc-81bc-9aad-e0e4-25554fd8f1e4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC758:148E27:469F84:5E3964:6A62987F
html-safe-noncee65a9960efd37e8b670560cb6f000b0236e01bfb9ab6cf032c6841c9f98b6904
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzU4OjE0OEUyNzo0NjlGODQ6NUUzOTY0OjZBNjI5ODdGIiwidmlzaXRvcl9pZCI6IjQ4NDg4NDQzNzc2MDY0OTQzMzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2fc7e7a6c6690790d1f468390a31dd6f4104f07ec4321b4f84604179d4f6ed9a
hovercard-subject-tagpull_request:3696539733
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/github/github-mcp-server/2487/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3f383b51dc9b9c7a48189aada1d855c032548416f07b21ebb1ef1f83dfd8de8b/github/github-mcp-server/pull/2487
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3f383b51dc9b9c7a48189aada1d855c032548416f07b21ebb1ef1f83dfd8de8b/github/github-mcp-server/pull/2487
og:image:altSummary Adds a compile-time-style guard in tests to ensure every mcp.Tool in pkg/github explicitly sets Annotations.ReadOnlyHint. This prevents silent regressions where missing annotations degrade ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCopilot
hostnamegithub.com
expected-hostnamegithub.com
None10ffaff7e212112a3b4eeb224665f909dff951514db9af4f00de33b681024427
turbo-cache-controlno-cache
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
releasee470e2fc66e1ac7f528caec0fd8825047788d563
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/github-mcp-server/pull/2487#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fpull%2F2487
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%2Fpull%2F2487
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=github%2Fgithub-mcp-server
Reloadhttps://github.com/github/github-mcp-server/pull/2487
Reloadhttps://github.com/github/github-mcp-server/pull/2487
Reloadhttps://github.com/github/github-mcp-server/pull/2487
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2487
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.7k https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Code https://github.com/github/github-mcp-server
Issues 172 https://github.com/github/github-mcp-server/issues
Pull requests 162 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
SamMorrowDrumshttps://github.com/SamMorrowDrums
Copilothttps://github.com/apps/copilot-swe-agent
mainhttps://github.com/github/github-mcp-server/tree/main
copilot/fix-missing-annotations-checkhttps://github.com/github/github-mcp-server/tree/copilot/fix-missing-annotations-check
Conversationhttps://github.com/github/github-mcp-server/pull/2487
Findingshttps://github.com/github/github-mcp-server/pull/2487/findings
Commits1 (1)https://github.com/github/github-mcp-server/pull/2487/commits
Checkshttps://github.com/github/github-mcp-server/pull/2487/checks
Files changedhttps://github.com/github/github-mcp-server/pull/2487/files
Enforce explicit ReadOnlyHint on all MCP tool definitions via AST validationhttps://github.com/github/github-mcp-server/pull/2487#top
SamMorrowDrumshttps://github.com/SamMorrowDrums
Copilothttps://github.com/apps/copilot-swe-agent
mainhttps://github.com/github/github-mcp-server/tree/main
copilot/fix-missing-annotations-checkhttps://github.com/github/github-mcp-server/tree/copilot/fix-missing-annotations-check
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
May 17, 2026https://github.com/github/github-mcp-server/pull/2487#issue-4462550962
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2487
official docshttps://github.com/github/github-mcp-server/blob/main/docs/tool-renaming.md
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2487
https://github.com/apps/copilot-swe-agent
Add AST check for explicit ReadOnlyHint annotationshttps://github.com/github/github-mcp-server/pull/2487/commits/c3714f8d9fa08eaa6a52496df71041cb70afc15e
c3714f8https://github.com/github/github-mcp-server/pull/2487/commits/c3714f8d9fa08eaa6a52496df71041cb70afc15e
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
SamMorrowDrumshttps://github.com/SamMorrowDrums
May 17, 2026https://github.com/github/github-mcp-server/pull/2487#event-25621472787
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
May 17, 2026https://github.com/github/github-mcp-server/pull/2487#event-25621476781
created this pull request from a sessionhttps://github.com/github/github-mcp-server/sessions/4498e46d-61ac-4b8e-bb49-ea50f83aa1d5
SamMorrowDrumshttps://github.com/SamMorrowDrums
May 17, 2026 06:41https://github.com/github/github-mcp-server/pull/2487#event-25621478023
View session https://github.com/github/github-mcp-server/sessions/4498e46d-61ac-4b8e-bb49-ea50f83aa1d5
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
SamMorrowDrumshttps://github.com/SamMorrowDrums
May 17, 2026 06:41https://github.com/github/github-mcp-server/pull/2487#event-25621478045
finished workhttps://github.com/github/github-mcp-server/sessions/4498e46d-61ac-4b8e-bb49-ea50f83aa1d5
SamMorrowDrumshttps://github.com/SamMorrowDrums
May 17, 2026 06:41https://github.com/github/github-mcp-server/pull/2487#event-25621478071
started workhttps://github.com/github/github-mcp-server/sessions/bafef355-3dde-4a42-b9d6-7d2317372173
SamMorrowDrumshttps://github.com/SamMorrowDrums
May 17, 2026 06:47https://github.com/github/github-mcp-server/pull/2487#event-25621528786
View session https://github.com/github/github-mcp-server/sessions/bafef355-3dde-4a42-b9d6-7d2317372173
finished workhttps://github.com/github/github-mcp-server/sessions/bafef355-3dde-4a42-b9d6-7d2317372173
SamMorrowDrumshttps://github.com/SamMorrowDrums
May 17, 2026 06:47https://github.com/github/github-mcp-server/pull/2487#event-25621535131
started workhttps://github.com/github/github-mcp-server/sessions/bea0bc83-c47d-4afd-8b7d-8777efabca4f
SamMorrowDrumshttps://github.com/SamMorrowDrums
May 17, 2026 06:51https://github.com/github/github-mcp-server/pull/2487#event-25621563367
View session https://github.com/github/github-mcp-server/sessions/bea0bc83-c47d-4afd-8b7d-8777efabca4f
finished workhttps://github.com/github/github-mcp-server/sessions/bea0bc83-c47d-4afd-8b7d-8777efabca4f
SamMorrowDrumshttps://github.com/SamMorrowDrums
May 17, 2026 06:52https://github.com/github/github-mcp-server/pull/2487#event-25621573005
started workhttps://github.com/github/github-mcp-server/sessions/50fd2c0b-2c4c-4583-b447-63fb7efabb84
SamMorrowDrumshttps://github.com/SamMorrowDrums
May 17, 2026 06:57https://github.com/github/github-mcp-server/pull/2487#event-25621616341
View session https://github.com/github/github-mcp-server/sessions/50fd2c0b-2c4c-4583-b447-63fb7efabb84
finished workhttps://github.com/github/github-mcp-server/sessions/50fd2c0b-2c4c-4583-b447-63fb7efabb84
SamMorrowDrumshttps://github.com/SamMorrowDrums
May 17, 2026 06:58https://github.com/github/github-mcp-server/pull/2487#event-25621634195
https://github.com/SamMorrowDrums
SamMorrowDrumshttps://github.com/SamMorrowDrums
May 17, 2026 https://github.com/github/github-mcp-server/pull/2487#ref-issue-4456967897
Audit and fix missing ReadOnlyHint annotations on read-intent tools #2483 https://github.com/github/github-mcp-server/issues/2483
https://github.com/pachecocordovamoiseseduardo-byte
pachecocordovamoiseseduardo-bytehttps://github.com/pachecocordovamoiseseduardo-byte
May 23, 2026 https://github.com/github/github-mcp-server/pull/2487#pullrequestreview-4349882932
View reviewed changes https://github.com/github/github-mcp-server/pull/2487/files/c3714f8d9fa08eaa6a52496df71041cb70afc15e
https://github.com/SamMorrowDrums
SamMorrowDrumshttps://github.com/SamMorrowDrums
May 29, 2026https://github.com/github/github-mcp-server/pull/2487#event-26101222648
https://github.com/jluocsa
jluocsahttps://github.com/jluocsa
May 29, 2026 https://github.com/github/github-mcp-server/pull/2487#ref-pullrequest-4462347787
test(github): enforce explicit ReadOnlyHint on every mcp.Tool literal #2486 https://github.com/github/github-mcp-server/pull/2486
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fpull%2F2487
https://github.com/SamMorrowDrums
SamMorrowDrums https://github.com/SamMorrowDrums
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
https://github.com/pachecocordovamoiseseduardo-byte
pachecocordovamoiseseduardo-byte https://github.com/pachecocordovamoiseseduardo-byte
https://github.com/github/github-mcp-server/pull/2487/files/c3714f8d9fa08eaa6a52496df71041cb70afc15e
https://github.com/SamMorrowDrums
SamMorrowDrums https://github.com/SamMorrowDrums
Copilot code review https://github.com/apps/copilot-swe-agent
Copilot https://github.com/apps/copilot-swe-agent
Please reload this pagehttps://github.com/github/github-mcp-server/pull/2487
https://github.com/apps/copilot-swe-agent
https://github.com/pachecocordovamoiseseduardo-byte
https://github.com/SamMorrowDrums
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.