Feedback

GitHub PR Comments MCP Server

@shaileshahuja Claim

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
shaileshahuja
Submitted by
Community
Quality
20
Stars
3

About GitHub PR Comments MCP Server

MCP server that fetches GitHub Pull Request comments

GitHub PR Comments MCP Server is a MCP server in the Version Control category listed in the AddMCP.net directory, published by shaileshahuja. Supported transport: stdio. Runtime: node. License: MIT. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: comments, github, mcp, pull-request, server.

Setup

{
    "mcpServers": {
        "github-pr-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@smithery/cli",
                "install",
                "github-pr-mcp",
                "--client",
                "claude"
            ]
        }
    }
}

GitHub PR Comments MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "github-pr-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@smithery/cli",
                "install",
                "github-pr-mcp",
                "--client",
                "claude"
            ]
        }
    }
}

GitHub PR Comments MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is GitHub PR Comments MCP Server?

A Model Context Protocol server that fetches GitHub Pull Request comments using a GitHub personal access token. It is for developers who want to programmatically retrieve PR comments with file paths, line ranges, and replies.

How to use GitHub PR Comments MCP Server?

Clone the repository, install dependencies with npm install, create a .env file with a GITHUB_TOKEN, build with npm run build, and run with npm start or directly with node dist/server.js your_github_token_here. The server exposes a tool called get_pr_comments that accepts owner, repo, and pull_number parameters.

Key features of GitHub PR Comments MCP Server

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

Use cases of GitHub PR Comments MCP Server

  • Automating code review summarization by extracting PR comments and replies
  • Integrating PR comment data into custom workflows or dashboards
  • Programmatically analyzing PR feedback across repositories

Frequently asked questions

1 What does this server do compared to alternatives?

It provides a simple MCP interface to fetch PR comments using a GitHub personal access token, returning structured JSON with file paths, line ranges, and threaded replies.

2 What dependencies or runtime requirements are needed?

Node.js, npm, and a GitHub personal access token stored in a .env file as GITHUB_TOKEN.

3 Where does data live?

All data is fetched live from the GitHub API; no local storage of comments.

4 What transport does the server use?

It uses StdioServerTransport (stdio transport) for MCP communication.

5 How is authentication handled?

Authentication requires a GitHub personal access token, provided via environment variable or command-line argument.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬