GitHub Enterprise MCP Server

by containerelic
Verified

merge-pull-request

Merge pull requests in GitHub Enterprise repositories using specified methods (merge, squash, rebase). Input repository owner, name, and pull request number. Append custom commit messages or titles.

Input Schema

NameRequiredDescriptionDefault
commit_messageNoExtra detail to append to automatic commit message
commit_titleNoTitle for the automatic commit message
merge_methodNoMerge method to usemerge
ownerYesRepository owner (user or organization)
pull_numberYesPull request number
repoYesRepository name

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "commit_message": { "description": "Extra detail to append to automatic commit message", "type": "string" }, "commit_title": { "description": "Title for the automatic commit message", "type": "string" }, "merge_method": { "default": "merge", "description": "Merge method to use", "enum": [ "merge", "squash", "rebase" ], "type": "string" }, "owner": { "description": "Repository owner (user or organization)", "type": "string" }, "pull_number": { "description": "Pull request number", "type": "number" }, "repo": { "description": "Repository name", "type": "string" } }, "required": [ "owner", "repo", "pull_number" ], "type": "object" }

You must be authenticated.

Other Tools from GitHub Enterprise MCP Server

Related Tools

ID: 27uwbz7hqw