Skip to content

Add ability to assign reviewers to pull requests #260

@monkeydaichan

Description

@monkeydaichan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions