René's URL Explorer Experiment


Title: feat(issues): add batch_update_issue_labels granular tool by CAOShurong · Pull Request #3149 · github/github-mcp-server · GitHub

Open Graph Title: feat(issues): add batch_update_issue_labels granular tool by CAOShurong · Pull Request #3149 · github/github-mcp-server

X Title: feat(issues): add batch_update_issue_labels granular tool by CAOShurong · Pull Request #3149 · github/github-mcp-server

Description: Closes #2412 Summary Adds a feature-flagged granular tool batch_update_issue_labels that applies label changes to multiple issues in a single MCP call. Today the only path for bulk labeling is N sequential update_issue_labels calls, which is exactly the friction described in #2412 (label all issues from milestone X as priority/high forces either N noisy round-trips or dropping out of the MCP-first pattern to script the gh CLI). Design Per-issue operations: each entry in operations targets one issue with add and/or remove label arrays. Labels not named in an operation are left untouched — this is add/remove semantics (POST/DELETE .../issues/{n}/labels), not replace semantics. Fail-closed input validation: empty operations, duplicate issue numbers, entries missing both add and remove, and empty label names fail the whole call before any mutation is attempted, with an index-addressed error (operations[2]: duplicate issue_number 7...) pointing at the exact entry. Per-issue API errors are isolated: if issue #3's API call fails but #1 and #2 succeed, the result reports each outcome individually ({"issue_number":3,"applied":false,"error":"add failed: ..."}) instead of losing the successful work; overall result is marked as an error so the client knows to inspect it. For operations that add labels, the returned labels reflect any successful removals. The field is omitted if the resulting set is empty, no add was requested, or a removal fails and the final state may be unknown. This follows the existing granular-tools pattern: registered in the issues toolset, gated behind FeatureFlagIssuesGranular, mutually exclusive with the consolidated issue_write. Skills Updates issue-backlog-triage to use the batch tool when available, preserve approval and label safeguards, and report partial failures. The tool is optional in the skill catalog, so triage remains available without granular tools. Testing script/test (go test -race ./...) on Windows with Go 1.27.3 and two build workers. script/lint with golangci-lint 2.14.0. Handler and MCP transport regressions cover adding and removing labels together, case-insensitive removal, partial failure, and validation before mutation. Built the server and checked its CLI help. Skill catalog, toolset-instruction coverage, and documentation generation. Example { "owner": "org", "repo": "repo", "operations": [ {"issue_number": 10, "add": ["sprint-42"]}, {"issue_number": 15, "add": ["breaking-change"], "remove": ["needs-triage"]}, {"issue_number": 20, "remove": ["stale"]} ] }

Open Graph Description: Closes #2412 Summary Adds a feature-flagged granular tool batch_update_issue_labels that applies label changes to multiple issues in a single MCP call. Today the only path for bulk labeling is N se...

X Description: Closes #2412 Summary Adds a feature-flagged granular tool batch_update_issue_labels that applies label changes to multiple issues in a single MCP call. Today the only path for bulk labeling is N se...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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:9d71b988-f2e1-db30-2c10-ca3a470c71f4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8EC4:FFE72:60D709:80FED7:6B05E8BB
html-safe-nonce92a19a77517ac894f9aba1659da248965f88ba0402f646e742b8059901d6dbf7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUM0OkZGRTcyOjYwRDcwOTo4MEZFRDc6NkIwNUU4QkIiLCJ2aXNpdG9yX2lkIjoiMjk1NjU4Njg0MTg5OTY1NzQwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca94aa3854282f7919190f76acd85c62a550eafc3ef358993aa8d4348c99bcc1a
hovercard-subject-tagpull_request:4347868286
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/3149/files
twitter:imagehttps://avatars.githubusercontent.com/u/170531907?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/170531907?s=400&v=4
og:image:altCloses #2412 Summary Adds a feature-flagged granular tool batch_update_issue_labels that applies label changes to multiple issues in a single MCP call. Today the only path for bulk labeling is N se...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9e6b0e6e5a9a8e0ddb968297ede4e2eac72d30ea174a0970eb8f22d6958e91e3
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
release023691d14ad20c90d3ee61b0a0977b17dc6b6361
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/github-mcp-server/pull/3149/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fpull%2F3149%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%2F3149%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/3149/files
Reloadhttps://github.com/github/github-mcp-server/pull/3149/files
Reloadhttps://github.com/github/github-mcp-server/pull/3149/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
CAOShuronghttps://github.com/CAOShurong
github:mainhttps://github.com/github/github-mcp-server/tree/main
CAOShurong:codex/2412-batch-issue-labelshttps://github.com/CAOShurong/github-mcp-server/tree/codex/2412-batch-issue-labels
Conversation 3 https://github.com/github/github-mcp-server/pull/3149
Commits 13 https://github.com/github/github-mcp-server/pull/3149/commits
Checks 1 https://github.com/github/github-mcp-server/pull/3149/checks
Findings https://github.com/github/github-mcp-server/pull/3149/findings
Files changed https://github.com/github/github-mcp-server/pull/3149/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3149/files
feat(issues): add batch_update_issue_labels granular tool https://github.com/github/github-mcp-server/pull/3149/files#top
Show all changes 13 commits https://github.com/github/github-mcp-server/pull/3149/files
46f9a99 feat(issues): add batch_update_issue_labels granular tool CAOShurong Aug 24, 2026 https://github.com/github/github-mcp-server/pull/3149/commits/46f9a99ec758bd55a5c3f77283e58cc34719ca4e
d4711bf fix(issues): adapt batch labels scope access CAOShurong Aug 27, 2026 https://github.com/github/github-mcp-server/pull/3149/commits/d4711bfc93e808089d0bce76b6d71dab235bfcef
4d70f4c Merge main and verify batch labels through MCP transport CAOShurong Oct 5, 2026 https://github.com/github/github-mcp-server/pull/3149/commits/4d70f4c1925b5cba44928ab614c661523aef19e4
6b9f599 Merge remote-tracking branch 'origin/main' into codex/mcp3149-sync-612 CAOShurong Oct 13, 2026 https://github.com/github/github-mcp-server/pull/3149/commits/6b9f599e8245799438e9b9679414938b8cc2dc55
02e3b71 fix: keep batch label tool compatible with v2 module CAOShurong Oct 13, 2026 https://github.com/github/github-mcp-server/pull/3149/commits/02e3b7107bcc5dc89d4d281e42e42827499821b9
b36634c fix: register batch label tool with typed output CAOShurong Oct 13, 2026 https://github.com/github/github-mcp-server/pull/3149/commits/b36634cbc3c5e76b15f659d34dd105d8e1f73776
b55303d fix: preserve typed batch label compatibility CAOShurong Oct 13, 2026 https://github.com/github/github-mcp-server/pull/3149/commits/b55303dc52a92eaca6eb142eb16d7eab019f2a43
e55adc9 Merge remote-tracking branch 'origin/main' into mcp3149-main-sync-local CAOShurong Oct 13, 2026 https://github.com/github/github-mcp-server/pull/3149/commits/e55adc9f9798f279c21b99d731f6556a03aeb744
8055b9b Merge main into batch issue labels CAOShurong Oct 15, 2026 https://github.com/github/github-mcp-server/pull/3149/commits/8055b9ba4ae1bcb569d5b38b458144b6d2e8002f
5bfe0a3 Merge main into batch issue labels CAOShurong Oct 15, 2026 https://github.com/github/github-mcp-server/pull/3149/commits/5bfe0a3499725f2824069f07840b3d3bfd2012f1
d677bf6 Merge current main CAOShurong Oct 22, 2026 https://github.com/github/github-mcp-server/pull/3149/commits/d677bf6d885354b527d78e4082822fee88e83c9d
404d1aa Merge upstream main and correct batch label results CAOShurong Nov 13, 2026 https://github.com/github/github-mcp-server/pull/3149/commits/404d1aa2f2ab1423f0db994072b2dd808f3a463e
3e25aa4 Merge main and cover batch labeling in triage skills CAOShurong Nov 14, 2026 https://github.com/github/github-mcp-server/pull/3149/commits/3e25aa4ebb7cc6397fe14c9cde1695d0e1c52eac
Clear filters https://github.com/github/github-mcp-server/pull/3149/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3149/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3149/files
feature-flags.md https://github.com/github/github-mcp-server/pull/3149/files#diff-c0b20dca58f0b7d630b9fe35f9c81482e026cc8a3170456f87e6192d308f620c
batch_update_issue_labels.snap https://github.com/github/github-mcp-server/pull/3149/files#diff-2b10aeaa779fa864f396ec9576fe8c9bfd8f6128e3dd3b95544bd5cb6aec81d6
batch_labels_granular_test.go https://github.com/github/github-mcp-server/pull/3149/files#diff-6ab2bfea93d1a5f2adbda0d2055bf25b936a1987e2087ce4d3be4d9aa51a5d86
granular_issue_types.go https://github.com/github/github-mcp-server/pull/3149/files#diff-1627e300b2e394de859a9ac76279c1a0dec4b2d572060c2f7735fcf25ecd7e8b
granular_tools_test.go https://github.com/github/github-mcp-server/pull/3149/files#diff-d554e18b7c7d185a06f29558db5cc0b2ae3ebadeb1c48069ab1c6c48340567e6
helper_test.go https://github.com/github/github-mcp-server/pull/3149/files#diff-e8fa532ff8ba951d7e64e769647b469b857271a3926192545c2d9ab7bb94f402
issues_granular.go https://github.com/github/github-mcp-server/pull/3149/files#diff-6e631c944c5c90bb6a8f31f77dc046ea2c574c8bf76484813554d1efe8f1643d
tools.go https://github.com/github/github-mcp-server/pull/3149/files#diff-bcdea1f25cf43d8b075cfa770714fc9db90a9fe0bb05e5172304b66912b33889
typed_granular_issue_outputs_test.go https://github.com/github/github-mcp-server/pull/3149/files#diff-c895edf146dd15ad28f4738de0afe5a1dac34a6738207842e56b301016503b7c
SKILL.md https://github.com/github/github-mcp-server/pull/3149/files#diff-304e53a8cb1d702fe2bc8eb021209596d07c5c72680aa7fe7a79079c4ef3011f
tools.go https://github.com/github/github-mcp-server/pull/3149/files#diff-5c89bcea79251bd661cd63a177927f070b0bfbfb127aa5f62c8e8b4e27a6b4fd
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
docs/feature-flags.mdhttps://github.com/github/github-mcp-server/pull/3149/files#diff-c0b20dca58f0b7d630b9fe35f9c81482e026cc8a3170456f87e6192d308f620c
View file https://github.com/github/github-mcp-server/blob/3e25aa4ebb7cc6397fe14c9cde1695d0e1c52eac/docs/feature-flags.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/3149/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/3149/files#diff-c0b20dca58f0b7d630b9fe35f9c81482e026cc8a3170456f87e6192d308f620c
https://github.com/github/github-mcp-server/pull/3149/files#diff-c0b20dca58f0b7d630b9fe35f9c81482e026cc8a3170456f87e6192d308f620c
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
pkg/github/__toolsnaps__/batch_update_issue_labels.snaphttps://github.com/github/github-mcp-server/pull/3149/files#diff-2b10aeaa779fa864f396ec9576fe8c9bfd8f6128e3dd3b95544bd5cb6aec81d6
View file https://github.com/github/github-mcp-server/blob/3e25aa4ebb7cc6397fe14c9cde1695d0e1c52eac/pkg/github/__toolsnaps__/batch_update_issue_labels.snap
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/3149/{{ revealButtonHref }}
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3149/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.