GitHub Enterprise MCP Server

by containerelic
Verified

create-pull-request

Generate and manage pull requests directly via the GitHub Enterprise API. Specify base and head branches, add titles, descriptions, and draft statuses to streamline code collaboration and review workflows.

Input Schema

NameRequiredDescriptionDefault
baseYesBase branch (e.g., 'main')
bodyNoPull request description
draftNoCreate as draft PR
headYesHead branch (e.g., 'username:feature' or just 'feature' for same repo)
ownerYesRepository owner (user or organization)
repoYesRepository name
titleYesPull request title

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "base": { "description": "Base branch (e.g., 'main')", "type": "string" }, "body": { "description": "Pull request description", "type": "string" }, "draft": { "default": false, "description": "Create as draft PR", "type": "boolean" }, "head": { "description": "Head branch (e.g., 'username:feature' or just 'feature' for same repo)", "type": "string" }, "owner": { "description": "Repository owner (user or organization)", "type": "string" }, "repo": { "description": "Repository name", "type": "string" }, "title": { "description": "Pull request title", "type": "string" } }, "required": [ "owner", "repo", "title", "head", "base" ], "type": "object" }

You must be authenticated.

Other Tools from GitHub Enterprise MCP Server

Related Tools

ID: 27uwbz7hqw