Skip to content

Add functionality to assign reviewers to pull requests #259

@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 assign reviewers through the API is essential for streamlining workflows.

Proposed solution

Implement functionality that corresponds to the GitHub API endpoint POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers to allow adding reviewers to pull requests from the MCP server.

A suggested interface could look like:

{
  "owner": "repository_owner",
  "repo": "repository_name",
  "pull_number": pull_request_number,
  "reviewers": ["reviewer1", "reviewer2"]
}

Additional context

This feature would significantly enhance automation capabilities for development teams by allowing reviewer assignment to be part of CI/CD pipelines and team workflows. It would enable automatic assignment of domain experts based on code changes, balanced reviewer distribution across team members, and integration with custom review processes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions