Skip to main content
Glama

Git Workflow Automation MCP Server

by Arcia125

merge_pull_request

Merge a GitHub pull request using specified methods (merge, squash, rebase) and optionally delete the branch. Supports dry runs to preview changes before execution.

Instructions

Merge a GitHub pull request

Input Schema

NameRequiredDescriptionDefault
deleteBranchNoDelete branch after merge
dryRunNoPreview without executing
mergeMethodNoMerge methodmerge
prNumberYesPull request number
workingDirNoWorking directory path

Input Schema (JSON Schema)

{ "properties": { "deleteBranch": { "default": true, "description": "Delete branch after merge", "type": "boolean" }, "dryRun": { "default": false, "description": "Preview without executing", "type": "boolean" }, "mergeMethod": { "default": "merge", "description": "Merge method", "enum": [ "merge", "squash", "rebase" ], "type": "string" }, "prNumber": { "description": "Pull request number", "type": "string" }, "workingDir": { "description": "Working directory path", "type": "string" } }, "required": [ "prNumber" ], "type": "object" }

Other Tools from Git Workflow Automation MCP Server

Related Tools

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/Arcia125/git-workflow-mcp-server'

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