create_pull_request
Create a new pull request in a GitHub repository
Purpose
This skill provides access to the MCP tool create_pull_request. It allows you to create a new pull request in a github repository.
Parameters
The tool accepts the following parameters:
owner
Required
- Type:
string - Description: Repository owner (username or organization)
repo
Required
- Type:
string - Description: Repository name
title
Required
- Type:
string - Description: Pull request title
body
Optional
- Type:
string - Description: Pull request body/description
head
Required
- Type:
string - Description: The name of the branch where your changes are implemented
base
Required
- Type:
string - Description: The name of the branch you want the changes pulled into
draft
Optional
- Type:
boolean - Description: Whether to create the pull request as a draft
maintainer_can_modify
Optional
- Type:
boolean - Description: Whether maintainers can modify the pull request
Usage Instructions
To use this tool:
- Prepare the parameters according to the schema above
- Invoke the MCP tool
create_pull_requestwith the prepared parameters - Process the result returned by the tool
Example
{
"owner": "example_value",
"repo": "example_value",
"title": "example_value",
"body": "example_value",
"head": "example_value",
"base": "example_value",
"draft": true,
"maintainer_can_modify": true
}
Notes
- This skill requires an active MCP connection to the server providing the
create_pull_requesttool - Ensure the MCP server is properly configured and running before attempting to use this tool
- Review the parameter requirements carefully to avoid errors