René's URL Explorer Experiment


Title: infra: expose review thread node ID in get_review_comments response (follow-up to #1768) · Issue #2331 · github/github-mcp-server · GitHub

Open Graph Title: infra: expose review thread node ID in get_review_comments response (follow-up to #1768) · Issue #2331 · github/github-mcp-server

X Title: infra: expose review thread node ID in get_review_comments response (follow-up to #1768) · Issue #2331 · github/github-mcp-server

Description: Background After #1768 shipped, resolve_review_thread is available as an MCP tool. However, the companion read path — retrieving a review thread's GraphQL node ID so it can be passed to resolve_review_thread — is still missing from the r...

Open Graph Description: Background After #1768 shipped, resolve_review_thread is available as an MCP tool. However, the companion read path — retrieving a review thread's GraphQL node ID so it can be passed to resolve_rev...

X Description: Background After #1768 shipped, resolve_review_thread is available as an MCP tool. However, the companion read path — retrieving a review thread's GraphQL node ID so it can be passed to resolve...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"infra: expose review thread node ID in get_review_comments response (follow-up to #1768)","articleBody":"## Background\n\nAfter #1768 shipped, `resolve_review_thread` is available as an MCP tool. However, the companion read path — retrieving a review thread's GraphQL node ID so it can be passed to `resolve_review_thread` — is still missing from the response schema.\n\nWhen an AI agent is addressing PR review feedback, the typical flow is:\n\n1. Read review comments with `pull_request_read method=get_review_comments`.\n2. Reply to the comment with `add_reply_to_pull_request_comment`.\n3. Resolve the thread with `resolve_review_thread`.\n\nStep 3 requires the thread's node ID (e.g. `PRRT_kwDO...`), but step 1's response does not expose it.\n\n## Problem\n\n`pull_request_read method=get_review_comments` returns each `review_threads[]` object with these fields only:\n\n```json\n{\n  \"is_resolved\": false,\n  \"is_outdated\": false,\n  \"is_collapsed\": false,\n  \"comments\": [...],\n  \"total_count\": N\n}\n```\n\nThere is **no `id` / `node_id` field on the thread object**, so there is no way to obtain the value `resolve_review_thread` requires.\n\nAuxiliary paths are also blocked:\n\n- `add_reply_to_pull_request_comment` returns the *comment*'s node ID (`PRRC_...`), which is distinct from the thread's node ID.\n- `pageInfo.startCursor` / `endCursor` are pagination cursors, not thread IDs.\n- Within an MCP-only session there is no `gh` CLI or direct GraphQL escape hatch.\n\nNote: issue #1768 stated that \"the thread IDs are already returned by `get_review_comments` in the `ID` field\". That does not appear to match the current shipped response schema — the `ID` field is absent on the thread object as of 2026-04-15.\n\n## Reproduction\n\nOn any PR with multiple unresolved review threads, calling `pull_request_read method=get_review_comments` returns no field usable as the `thread_id` argument of `resolve_review_thread`. This was observed while addressing Copilot PR reviewer feedback on a PR with 5 unresolved threads — the workflow had to fall back to manual `gh api graphql` calls outside MCP to complete step 3.\n\nMinimal repro outside MCP — compare the current MCP response shape to this GraphQL query, which does expose the thread `id`:\n\n```graphql\n{\n  repository(owner: \"\u003cowner\u003e\", name: \"\u003crepo\u003e\") {\n    pullRequest(number: \u003cn\u003e) {\n      reviewThreads(first: 50) {\n        nodes { id isResolved isOutdated }\n      }\n    }\n  }\n}\n```\n\nThe MCP response should surface the same `id` field on each thread.\n\n## Proposal\n\nEither:\n\n1. **Extend the `get_review_comments` response schema** — include `PullRequestReviewThread.id` (GraphQL node ID) as `id` or `node_id` on each thread object.\n2. **Add a dedicated method** — `pull_request_read method=get_review_threads` that returns a thin list of threads with their node IDs (and the existing `is_resolved` / `is_outdated` / `is_collapsed` flags).\n\nOption 1 is likely a single-field addition: the underlying GraphQL query almost certainly already selects the thread object (since `isResolved`/`isOutdated`/`isCollapsed` are exposed), so adding `id` to the same selection set should be a minimal change.\n\n## Current workaround\n\nFor MCP-only sessions, `resolve_review_thread` is effectively unreachable — users must drop out of MCP and click \"Resolve conversation\" in the GitHub web UI (or run `gh api graphql` outside the session). This defeats the purpose of shipping the tool in #1768.\n\n## References\n\n- #1768 — original request that added `resolve_review_thread`\n- #1086 — `is_resolved` exposure on comments\n- MCP tool list snapshot date: 2026-04-15","author":{"url":"https://github.com/kogangdon","@type":"Person","name":"kogangdon"},"datePublished":"2026-04-15T03:32:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2331/github-mcp-server/issues/2331"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1789cbc0-d3b5-d0d7-0837-bc9bc4d0e096
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC82E:69F38:4377AC:5BBDE1:6A61A92E
html-safe-nonce741a75576f8973cb7a75e84b1a0a8deabdf8d6f33c67733c256fdb75a6d68786
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODJFOjY5RjM4OjQzNzdBQzo1QkJERTE6NkE2MUE5MkUiLCJ2aXNpdG9yX2lkIjoiOTE2NDE0ODAzNDUxNTM0Nzc1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac027f0d90adef9906779743782c12b00eaf3f688f7f26df51198ce8aa74cac74e
hovercard-subject-tagissue:4266059253
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/2331/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b5baf823b6311f4d73b931f0e4323765f651de1b8f9c15f48ac307a2f8f8244d/github/github-mcp-server/issues/2331
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b5baf823b6311f4d73b931f0e4323765f651de1b8f9c15f48ac307a2f8f8244d/github/github-mcp-server/issues/2331
og:image:altBackground After #1768 shipped, resolve_review_thread is available as an MCP tool. However, the companion read path — retrieving a review thread's GraphQL node ID so it can be passed to resolve_rev...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekogangdon
hostnamegithub.com
expected-hostnamegithub.com
None6f4633bcf01c1ad14b73fd07dd39ac31d61f3d3c2578ee08ec1792b7b351eeb9
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
releaseac296ae7f21856f1f92adbad22f870b6fbb4b907
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/github-mcp-server/issues/2331#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F2331
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%2F2331
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/2331
Reloadhttps://github.com/github/github-mcp-server/issues/2331
Reloadhttps://github.com/github/github-mcp-server/issues/2331
Please reload this pagehttps://github.com/github/github-mcp-server/issues/2331
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 171 https://github.com/github/github-mcp-server/issues
Pull requests 165 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
#2245https://github.com/github/github-mcp-server/pull/2245
infra: expose review thread node ID in get_review_comments response (follow-up to #1768)https://github.com/github/github-mcp-server/issues/2331#top
#2245https://github.com/github/github-mcp-server/pull/2245
https://github.com/kogangdon
kogangdonhttps://github.com/kogangdon
on Apr 15, 2026https://github.com/github/github-mcp-server/issues/2331#issue-4266059253
#1768https://github.com/github/github-mcp-server/issues/1768
#1768https://github.com/github/github-mcp-server/issues/1768
#1768https://github.com/github/github-mcp-server/issues/1768
Add support for resolving/unresolving PR review threads #1768https://github.com/github/github-mcp-server/issues/1768
get_pull_request_review_comments doesn't return resolved state #1086https://github.com/github/github-mcp-server/issues/1086
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.