René's URL Explorer Experiment


Title: fix(pull_request_read): reject pagination parameters the selected method does not support by larik15 · Pull Request #3317 · github/github-mcp-server · GitHub

Open Graph Title: fix(pull_request_read): reject pagination parameters the selected method does not support by larik15 · Pull Request #3317 · github/github-mcp-server

X Title: fix(pull_request_read): reject pagination parameters the selected method does not support by larik15 · Pull Request #3317 · github/github-mcp-server

Description: What pull_request_read accepts two pagination styles in one schema — page/perPage for the REST-backed list methods and after (a GraphQL cursor) for get_review_comments. A parameter the selected method could not use was dropped silently, so a caller passing after to get_files received the first page again with no signal that nothing had advanced. This adds a guard before the method dispatch that returns a tool error naming the method and the unsupported parameter: get_review_comments rejects page get_files, get_commits, get_reviews, get_comments, get_check_runs reject after get, get_diff, get_status reject all three, since they return a single object Calls that already use the right parameters are unaffected. Why For an LLM caller a schema description is guidance, not enforcement. The description for after already says it is only for get_review_comments, but the model still sees a pagination cursor in the schema and reaches for it when it wants the next page of files. Silent drops are the worst outcome for that caller: the response is plausible, so it never retries. Follow-up to #2489, which exposed after in the schema but did not add the guard; same failure class as #2347. Testing go test ./pkg/github/... passes. Added Test_rejectUnsupportedPagination covering the accepted and rejected combination for each method group. Fixes #3316

Open Graph Description: What pull_request_read accepts two pagination styles in one schema — page/perPage for the REST-backed list methods and after (a GraphQL cursor) for get_review_comments. A parameter the selected met...

X Description: What pull_request_read accepts two pagination styles in one schema — page/perPage for the REST-backed list methods and after (a GraphQL cursor) for get_review_comments. A parameter the selected met...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ce94519f-c430-29a4-6959-8f1fe2d62a34
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE60E:176057:1F0658:2B00DF:6B05D619
html-safe-nonce2d5155a4bf5780460c04f62e79f81bfeb71f5a7d0510c91281c3b01d2c58f898
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjBFOjE3NjA1NzoxRjA2NTg6MkIwMERGOjZCMDVENjE5IiwidmlzaXRvcl9pZCI6IjU5NjgxNDgzNzQzMzQzMzAzOTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac917e5b75f82713227348e06cce3fff78e093e18a74bec42b8f787b50ab6f1078
hovercard-subject-tagpull_request:4590064563
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/github-mcp-server/pull/3317/files
twitter:imagehttps://avatars.githubusercontent.com/u/322807539?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/322807539?s=400&v=4
og:image:altWhat pull_request_read accepts two pagination styles in one schema — page/perPage for the REST-backed list methods and after (a GraphQL cursor) for get_review_comments. A parameter the selected met...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7cc8361bc0396e5c33704280422dd7a38c5b91f6190589faea57461f56967249
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/github/github-mcp-server/pull/3317/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fpull%2F3317%2Ffiles
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%2Fpull%2F3317%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fgithub-mcp-server
Reloadhttps://github.com/github/github-mcp-server/pull/3317/files
Reloadhttps://github.com/github/github-mcp-server/pull/3317/files
Reloadhttps://github.com/github/github-mcp-server/pull/3317/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fgithub-mcp-server%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server%2Fissues%2Fnew%2Fchoose
larik15https://github.com/larik15
github:mainhttps://github.com/github/github-mcp-server/tree/main
larik15:fix/pull-request-read-pagination-guardhttps://github.com/larik15/github-mcp-server/tree/fix/pull-request-read-pagination-guard
Conversation 1 https://github.com/github/github-mcp-server/pull/3317
Commits 2 https://github.com/github/github-mcp-server/pull/3317/commits
Checks 14 https://github.com/github/github-mcp-server/pull/3317/checks
Findings https://github.com/github/github-mcp-server/pull/3317/findings
Files changed https://github.com/github/github-mcp-server/pull/3317/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3317/files
fix(pull_request_read): reject pagination parameters the selected method does not support https://github.com/github/github-mcp-server/pull/3317/files#top
Show all changes 2 commits https://github.com/github/github-mcp-server/pull/3317/files
6a5567e fix(pull_request_read): reject pagination parameters the selected met… larik15 Sep 21, 2026 https://github.com/github/github-mcp-server/pull/3317/commits/6a5567e79dcee52aa7dc3de2cf45f5cd35c74e78
c7eb7b9 Merge branch 'main' into fix/pull-request-read-pagination-guard IrynaKulakova Oct 13, 2026 https://github.com/github/github-mcp-server/pull/3317/commits/c7eb7b9359b42a33ee06f6c2788c3d0c4befae94
Clear filters https://github.com/github/github-mcp-server/pull/3317/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3317/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3317/files
pullrequests.go https://github.com/github/github-mcp-server/pull/3317/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
pullrequests_test.go https://github.com/github/github-mcp-server/pull/3317/files#diff-efebb180e5ae7933bb1c29403a3c82937a5716357f0c9538781f23770635872f
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
pkg/github/pullrequests.gohttps://github.com/github/github-mcp-server/pull/3317/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
View file https://github.com/github/github-mcp-server/blob/c7eb7b9359b42a33ee06f6c2788c3d0c4befae94/pkg/github/pullrequests.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/3317/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/3317/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
https://github.com/github/github-mcp-server/pull/3317/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
https://github.com/github/github-mcp-server/pull/3317/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
pkg/github/pullrequests_test.gohttps://github.com/github/github-mcp-server/pull/3317/files#diff-efebb180e5ae7933bb1c29403a3c82937a5716357f0c9538781f23770635872f
View file https://github.com/github/github-mcp-server/blob/c7eb7b9359b42a33ee06f6c2788c3d0c4befae94/pkg/github/pullrequests_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/3317/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/3317/files#diff-efebb180e5ae7933bb1c29403a3c82937a5716357f0c9538781f23770635872f
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3317/files
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-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.