René's URL Explorer Experiment


Title: feat: Support choosing the merge commit author email by Arham-Begani · Pull Request #3852 · github/github-mcp-server · GitHub

Open Graph Title: feat: Support choosing the merge commit author email by Arham-Begani · Pull Request #3852 · github/github-mcp-server

X Title: feat: Support choosing the merge commit author email by Arham-Begani · Pull Request #3852 · github/github-mcp-server

Description: Summary Allow merge_pull_request callers to choose the merge commit's author email with an optional author_email argument. Calls that omit the email retain the existing REST merge path. Why Fixes #3814. Accounts with multiple verified email addresses need to select the appropriate work or noreply address when merging through MCP, as they can in GitHub's web UI. What changed Add the optional argument to the tool schema and typed input normalization. Use GraphQL mergePullRequest when a nonempty email is supplied, forwarding the commit title, message, merge method and expected head SHA. Return GraphQL failures directly without retrying the merge through REST. Preserve the existing text and structured success-response shape, and add regression coverage, the schema snapshot, generated documentation and bundled skill guidance. MCP impact No tool or API changes Tool schema or behavior changed — one optional argument; existing calls retain their behavior. New tool added Prompts tested (tool changes only) Automated tests invoke the tool through an in-memory MCP client with mocked GitHub endpoints. They cover selecting an email for merge, squash and rebase; commit metadata; the head-SHA guard; invalid-email/API errors; missing results; and legacy/modern output compatibility. Existing REST cases and an explicitly empty email are also covered. No natural-language client prompt or live GitHub merge was executed. The tests verify the actual MCP request/response boundary and GitHub request construction. Security / limits No security or limits impact Auth / permissions considered — GitHub validates the requested email and merge permissions. Errors cannot trigger a merge that discards the requested email, and the existing expected-head protection is forwarded. Data exposure, filtering, or token/size limits considered Tool renaming I am renaming tools as part of this PR I am not renaming tools as part of this PR Lint & tests Linted locally with script/lint — 0 issues. Tested locally with script/test using scoped GOFLAGS='-p=2 -timeout=25m' — all 32 test-bearing packages pass. The original direct-handler regression failed before implementation because the request still reached REST. The focused MCP-client and REST tests pass. The first full race-enabled run reached the default 10-minute timeout in the existing all-tools schema-parity matrix; no assertion or race failure was reported. The full rerun passes with the scoped 25-minute timeout (pkg/github: 1054.237 seconds). Repository tests and CI timeouts are unchanged. Documentation generation, the server build, tool catalog and skill-instruction checks pass. The full UPDATE_TOOLSNAPS=true go test ./... run also passes with the same local timeout (32 test-bearing packages). The real UI type check and build pass. npm audit reports four existing dependency advisories (two low, two high); package manifests and lockfiles are unchanged. Live authenticated E2E tests were not run. Docs Not needed Updated — generated README argument documentation and the tool schema snapshot. Skills Updated the bundled pull-request-authoring skill to pass a requested email and report rejection instead of retrying without it. Catalog and skill-instruction validation pass. AI assistance: Codex assisted with the implementation, tests and this description. The diff also received an independent read-only AI review.

Open Graph Description: Summary Allow merge_pull_request callers to choose the merge commit's author email with an optional author_email argument. Calls that omit the email retain the existing REST merge path. Why Fix...

X Description: Summary Allow merge_pull_request callers to choose the merge commit's author email with an optional author_email argument. Calls that omit the email retain the existing REST merge path. Why...

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

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:0f5a3ff7-fe71-d323-ab53-cf87ff73fe99
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD404:107A1:2FEAD3:3F0CF4:6B0616BA
html-safe-nonce5c390659ac9706e7cf238d4187d10119a33a045b0ed756de658cf67b34c4e124
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDA0OjEwN0ExOjJGRUFEMzozRjBDRjQ6NkIwNjE2QkEiLCJ2aXNpdG9yX2lkIjoiMzI1Njk2MjM2NzY1NzIxOTc3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0e1638ae9e31227fdc0e2988cb88a85d7154518ca11361a464d8e7617ff484ee
hovercard-subject-tagpull_request:5315584369
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/3852/files
twitter:imagehttps://avatars.githubusercontent.com/u/123586002?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/123586002?s=400&v=4
og:image:altSummary Allow merge_pull_request callers to choose the merge commit's author email with an optional author_email argument. Calls that omit the email retain the existing REST merge path. Why Fix...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374
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
release866f202ebf7ac5aff8f633417d9fd8a53818a977
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/github-mcp-server/pull/3852/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fpull%2F3852%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%2F3852%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/3852/files
Reloadhttps://github.com/github/github-mcp-server/pull/3852/files
Reloadhttps://github.com/github/github-mcp-server/pull/3852/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
Arham-Beganihttps://github.com/Arham-Begani
github:mainhttps://github.com/github/github-mcp-server/tree/main
Arham-Begani:fix/merge-author-email-3814https://github.com/Arham-Begani/github-mcp-server/tree/fix/merge-author-email-3814
Conversation 3 https://github.com/github/github-mcp-server/pull/3852
Commits 3 https://github.com/github/github-mcp-server/pull/3852/commits
Checks 14 https://github.com/github/github-mcp-server/pull/3852/checks
Findings https://github.com/github/github-mcp-server/pull/3852/findings
Files changed https://github.com/github/github-mcp-server/pull/3852/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3852/files
feat: Support choosing the merge commit author email https://github.com/github/github-mcp-server/pull/3852/files#top
Show all changes 3 commits https://github.com/github/github-mcp-server/pull/3852/files
6597820 Support choosing the merge commit author email Arham-Begani Nov 14, 2026 https://github.com/github/github-mcp-server/pull/3852/commits/6597820adc7e0d3898f50d4e7d447f862a7b9dd8
83751e9 fix: validate pull numbers before GraphQL merges Arham-Begani Nov 14, 2026 https://github.com/github/github-mcp-server/pull/3852/commits/83751e9a4743a0f351ebaa33448cd6a51a954662
c035385 Merge remote-tracking branch 'upstream/main' into fix/merge-author-em… Arham-Begani Nov 22, 2026 https://github.com/github/github-mcp-server/pull/3852/commits/c0353857cdd58d8e63007104f9d5b007592675e6
Clear filters https://github.com/github/github-mcp-server/pull/3852/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3852/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3852/files
README.md https://github.com/github/github-mcp-server/pull/3852/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
merge_pull_request.snap https://github.com/github/github-mcp-server/pull/3852/files#diff-a0a40696863d977c83c89d7c3ef2d44368560d9b7ae8388bf3de03d64c6f49a1
consolidated_pull_request_types.go https://github.com/github/github-mcp-server/pull/3852/files#diff-80c88e8cd1c0345bd04bd17b49e42f27fdb8398d4a3dda9a4a8981aa2e3d442c
pullrequests.go https://github.com/github/github-mcp-server/pull/3852/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
pullrequests_merge_author_test.go https://github.com/github/github-mcp-server/pull/3852/files#diff-a3801724f58cf9439c3c378d7f4fdf80cc1c5c1f7cccf787d58d9140c880133d
pullrequests_test.go https://github.com/github/github-mcp-server/pull/3852/files#diff-efebb180e5ae7933bb1c29403a3c82937a5716357f0c9538781f23770635872f
SKILL.md https://github.com/github/github-mcp-server/pull/3852/files#diff-5672ac0d0979a89212f652e238bbae12dc3a541d95ca6cef44d4f5988bba98b0
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
README.mdhttps://github.com/github/github-mcp-server/pull/3852/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/github/github-mcp-server/blob/c0353857cdd58d8e63007104f9d5b007592675e6/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/3852/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/3852/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/pull/3852/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
pkg/github/__toolsnaps__/merge_pull_request.snaphttps://github.com/github/github-mcp-server/pull/3852/files#diff-a0a40696863d977c83c89d7c3ef2d44368560d9b7ae8388bf3de03d64c6f49a1
View file https://github.com/github/github-mcp-server/blob/c0353857cdd58d8e63007104f9d5b007592675e6/pkg/github/__toolsnaps__/merge_pull_request.snap
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/3852/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/3852/files#diff-a0a40696863d977c83c89d7c3ef2d44368560d9b7ae8388bf3de03d64c6f49a1
https://github.com/github/github-mcp-server/pull/3852/files#diff-a0a40696863d977c83c89d7c3ef2d44368560d9b7ae8388bf3de03d64c6f49a1
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
pkg/github/consolidated_pull_request_types.gohttps://github.com/github/github-mcp-server/pull/3852/files#diff-80c88e8cd1c0345bd04bd17b49e42f27fdb8398d4a3dda9a4a8981aa2e3d442c
View file https://github.com/github/github-mcp-server/blob/c0353857cdd58d8e63007104f9d5b007592675e6/pkg/github/consolidated_pull_request_types.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/3852/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/3852/files#diff-80c88e8cd1c0345bd04bd17b49e42f27fdb8398d4a3dda9a4a8981aa2e3d442c
https://github.com/github/github-mcp-server/pull/3852/files#diff-80c88e8cd1c0345bd04bd17b49e42f27fdb8398d4a3dda9a4a8981aa2e3d442c
https://github.com/github/github-mcp-server/pull/3852/files#diff-80c88e8cd1c0345bd04bd17b49e42f27fdb8398d4a3dda9a4a8981aa2e3d442c
https://github.com/github/github-mcp-server/pull/3852/files#diff-80c88e8cd1c0345bd04bd17b49e42f27fdb8398d4a3dda9a4a8981aa2e3d442c
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
pkg/github/pullrequests.gohttps://github.com/github/github-mcp-server/pull/3852/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
View file https://github.com/github/github-mcp-server/blob/c0353857cdd58d8e63007104f9d5b007592675e6/pkg/github/pullrequests.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/3852/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/3852/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
https://github.com/github/github-mcp-server/pull/3852/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
https://github.com/github/github-mcp-server/pull/3852/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
https://github.com/github/github-mcp-server/pull/3852/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
https://github.com/github/github-mcp-server/pull/3852/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
https://github.com/github/github-mcp-server/pull/3852/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
https://github.com/github/github-mcp-server/pull/3852/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
https://github.com/github/github-mcp-server/pull/3852/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
pkg/github/pullrequests_merge_author_test.gohttps://github.com/github/github-mcp-server/pull/3852/files#diff-a3801724f58cf9439c3c378d7f4fdf80cc1c5c1f7cccf787d58d9140c880133d
View file https://github.com/github/github-mcp-server/blob/c0353857cdd58d8e63007104f9d5b007592675e6/pkg/github/pullrequests_merge_author_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/3852/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
pkg/github/pullrequests_test.gohttps://github.com/github/github-mcp-server/pull/3852/files#diff-efebb180e5ae7933bb1c29403a3c82937a5716357f0c9538781f23770635872f
View file https://github.com/github/github-mcp-server/blob/c0353857cdd58d8e63007104f9d5b007592675e6/pkg/github/pullrequests_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/3852/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/3852/files#diff-efebb180e5ae7933bb1c29403a3c82937a5716357f0c9538781f23770635872f
https://github.com/github/github-mcp-server/pull/3852/files#diff-efebb180e5ae7933bb1c29403a3c82937a5716357f0c9538781f23770635872f
https://github.com/github/github-mcp-server/pull/3852/files#diff-efebb180e5ae7933bb1c29403a3c82937a5716357f0c9538781f23770635872f
https://github.com/github/github-mcp-server/pull/3852/files#diff-efebb180e5ae7933bb1c29403a3c82937a5716357f0c9538781f23770635872f
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3852/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3852/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.