Version Control · Developer Tools

MCP Gh Pr Mini logo

MCP Gh Pr Mini

y-hirakaw/mcp-gh-pr-mini

A minimal MCP (Model Context Protocol) server for interacting with GitHub pull requests with dual authentication support.

Install

npx mcp-gh-pr-mini

Client configuration

{
  "mcpServers": {
    "mcp-gh-pr-mini": {
      "command": "npx",
      "args": [
        "mcp-gh-pr-mini"
      ]
    }
  }
}

Environment variables

GITHUB_PERSONAL_ACCESS_TOKEN
Category
Version Control, Developer Tools
Updated
Oct 6, 2026

About MCP Gh Pr Mini

This tool allows you to create, list, view details and diffs, request reviewers, and comment on pull requests in GitHub repositories via MCP. It supports both Personal Access Token (PAT) and GitHub CLI authentication methods.

Features

  • Parameters: owner, repo, title, body, head (source branch), base (target branch), draft (optional)

  • Parameters: owner, repo, pr_number, optional title, body, base, state (open/closed)

Tools (12)

  • create_pull_request

    Creates a new pull request in a GitHub repository.

  • update_pull_request

    Updates an existing pull request in a GitHub repository.

  • list_open_pull_requests

    Lists all open pull requests in a repository.

  • Returns

    PR title, description, state, author, branches, and metadata

  • Features

  • Tested

    17 comprehensive unit tests covering all edge cases

  • get_pull_request_diff

    Retrieves the unified diff for a pull request.

  • request_reviewers

    Adds reviewers to an existing pull request.

  • add_pr_comment

    Adds a general comment to a pull request conversation.

  • add_review_comment

    Adds a code review comment to a specific line (or the diff position) in a changed file.

  • get_pr_comments

    Retrieves all comments from a pull request.

  • get_pr_changes_for_commenting

    Gets file changes with positions available for adding review comments.

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
VS Code GitHub Copilot logo

VS Code GitHub Copilot

Desktop · Freemium · MIT

VS Code integrates MCP with GitHub Copilot through agent mode, allowing direct interaction with MCP-provided tools in your agentic coding workflow. Configure servers in Claude Desktop, workspace, or user settings, with guided MCP installation and secure handling of secrets in input variables to avoid leaking hardcoded keys.

WindowsMacOSLinuxWeb

Related MCP servers

More servers
core logo

core

opensumi/core

3.3k

A framework helps you quickly build AI Native IDE products.

Version Control
test1 logo

test1

trpc-group/trpc-go

942

tRPC-Go, is the Go language implementation of tRPC, which is a pluggable, high-performance RPC framework.

Version Control
AI-Gateway logo

AI-Gateway

Azure-Samples/AI-Gateway

565

New! The AI Gateway Dev Portal is now live — A starting point for building your own developer portal on top of Azure API Management AI Gateway's. Fork it, open it in VS Code with GitHub Copilot (or any coding agent), and shape it to fit your needs!

Version Control
e2b logo

e2b

e2b-dev/mcp-server

233

Deprecated: This project is no longer actively maintained. It may not receive further updates or bug fixes.

Version Control
MCP Git Ingest logo

MCP Git Ingest

adhikasp/mcp-git-ingest

180

A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.

Version Control
gitlab mcp logo

gitlab mcp

zereight/gitlab-mcp

70

Documentation → Setup guides, environment variables, and the full tool reference live on the hosted docs site.

Version Control