Skip to main content
Glama

GitHub Enterprise MCP Server

merge-pull-request

Automatically merge pull requests on GitHub Enterprise by specifying the repository, owner, PR number, and desired merge method (merge, squash, or rebase). Simplifies integration via API for streamlined workflow management.

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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ddukbg/github-enterprise-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server