GitHub PR Comments MCP ServerServer

shaileshahuja
GitHub
GitHubCommentsMCP

Loading subscription status...

💡 Description

An MCP server that retrieves comments from GitHub Pull Requests using a personal GitHub access token.

📝 JSON Entries

{
  "mcpServers": [
    {
      "GitHub PR Comments MCP Server": {
        "env": {
          "GITHUB_TOKEN": "your_github_token_here"
        },
        "args": [
          "dist/server.js",
          "your_github_token_here"
        ],
        "command": "node"
      }
    }
  ]
}

🛠️ Tools

npmnpx

Features

  • Fetches PR comments with file paths, line ranges, and replies
  • Uses GitHub API via Octokit
  • Provides comments in structured JSON format

💬 Example Queries

  • Get comments from my GitHub PR with number 23
  • Fetch all comments from the 'my-repo' repository