Submit

GitHub PR Comments MCP Server

@shaileshahuja

MCP server that fetches GitHub Pull Request comments
Overview

what is GitHub PR Comments MCP Server?

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

how to use GitHub PR Comments MCP Server?

To use the server, you can either install it via Smithery or manually clone the repository, install dependencies, and set up your GitHub token. After building the project, you can run the server and use the get_pr_comments tool to fetch comments.

key features of GitHub PR Comments MCP Server?

  • Fetches PR comments along with file paths, line ranges, and replies.
  • Utilizes the GitHub API through Octokit.
  • Implements an MCP server with StdioServerTransport.
  • Returns comments in a structured JSON format.

use cases of GitHub PR Comments MCP Server?

  1. Automating the retrieval of comments for code reviews.
  2. Integrating with CI/CD pipelines to analyze PR feedback.
  3. Building tools that require access to PR discussions and comments.

FAQ from GitHub PR Comments MCP Server?

  • How do I install the server?

You can install it via Smithery or manually by cloning the repository and setting up your environment.

  • What parameters does the get_pr_comments tool accept?

It accepts owner, repo, and pull_number as parameters to fetch comments.

  • Can I run the server in development mode?

Yes, you can run the server in development mode using the command npm run dev.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.