github-pr-mcp

github-pr-mcp

3.3

If you are the rightful owner of github-pr-mcp 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.

GitHub PR Comments MCP Server is a Model Context Protocol server designed to fetch comments from GitHub Pull Requests using a personal access token.

The GitHub PR Comments MCP Server is a specialized server that leverages the Model Context Protocol to retrieve comments from GitHub Pull Requests. It utilizes the GitHub API through the Octokit library and implements the MCP server using StdioServerTransport. The server is capable of fetching comments along with their file paths, line ranges, and any replies, returning this data in a structured JSON format. This server is particularly useful for developers and teams who need to programmatically access and analyze PR comments for code review processes or integration with other tools. The server can be installed via Smithery or manually, and it provides a tool called `get_pr_comments` for fetching comments based on repository details and pull request numbers.

Features

  • Fetches PR comments with file paths, line ranges, and replies
  • Uses GitHub API via Octokit
  • Implements MCP server with StdioServerTransport
  • Returns comments in a structured JSON format

Tools

  1. get_pr_comments

    Get comment information for the specified Pull Request, the required parameters include the warehouse owner, warehouse name, and PR number