GitHub MCP Server Plus

create_pull_request

Create a new pull request in a GitHub repository

Input Schema

NameRequiredDescriptionDefault
baseYesThe name of the branch you want the changes pulled into
bodyNoPull request body/description
draftNoWhether to create the pull request as a draft
headYesThe name of the branch where your changes are implemented
maintainer_can_modifyNoWhether maintainers can modify the pull request
ownerYesRepository owner (username or organization)
repoYesRepository name
titleYesPull request title

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "base": { "description": "The name of the branch you want the changes pulled into", "type": "string" }, "body": { "description": "Pull request body/description", "type": "string" }, "draft": { "description": "Whether to create the pull request as a draft", "type": "boolean" }, "head": { "description": "The name of the branch where your changes are implemented", "type": "string" }, "maintainer_can_modify": { "description": "Whether maintainers can modify the pull request", "type": "boolean" }, "owner": { "description": "Repository owner (username 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" }