-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Describe the feature or problem you'd like to solve
Currently, GitHub MCP Server lacks the functionality to add reviewers to pull requests. Being able to directly specify reviewers through the API is important for streamlining workflows and automating code review processes.
Proposed solution
Implement support for the GitHub API endpoint POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers
in the MCP Server, allowing users to add reviewers to pull requests programmatically.
A proposed interface could look like:
{
"owner": "repository_owner",
"repo": "repository_name",
"pull_number": pull_request_number,
"reviewers": ["reviewer1", "reviewer2"]
}
Additional context
This feature would enhance automation capabilities for teams, allowing them to integrate reviewer assignment into CI/CD pipelines and other automated workflows. It would be particularly valuable for teams with established review patterns, such as automatically assigning specific reviewers based on file types changed or components affected. Additionally, this would bring the MCP Server more in line with the full capabilities of the GitHub API.