mcp-gh-pr-mini

y-hirakaw/mcp-gh-pr-mini

3.1

If you are the rightful owner of mcp-gh-pr-mini and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A minimal MCP server for interacting with GitHub pull requests.

The mcp-gh-pr-mini is a lightweight Model Context Protocol (MCP) server designed to facilitate interaction with GitHub pull requests. It provides essential functionalities such as creating, listing, and managing pull requests directly from an MCP-compatible client. This tool is particularly useful for developers who want to streamline their workflow by integrating pull request management into their development environment. By using a fine-grained GitHub personal access token, users can perform read and write operations on pull requests, issues, and repository contents. The server is designed to be simple and easy to set up, making it an excellent starting point for those new to MCP server development.

Features

  • Create a pull request in a GitHub repository
  • List open pull requests
  • Get the diff for a pull request
  • Request reviewers for a pull request
  • Add a comment to a pull request

Usages

usage with vscode

"mcp": {
  "servers": {
    "mcp-gh-pr-mini": {
      "command": "npx",
      "args": ["mcp-gh-pr-mini"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "{Your Fine-Grained GitHub Token}"
      }
    }
  }
}