home / mcp / pr review mcp server

PR Review MCP Server

Provides an AI-assisted review workflow by connecting Claude Desktop to GitHub PRs, filtering non-code assets, and exposing code-focused review tools.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "iskanderal-auto-review-claudemcp": {
      "command": "python",
      "args": [
        "server.py"
      ],
      "env": {
        "GITHUB_REPO": "owner/repo",
        "GITHUB_TOKEN": "YOUR_TOKEN"
      }
    }
  }
}

You run an MCP server that connects Claude Desktop to GitHub Pull Requests, filters out non-code noise like binary assets, and exposes two practical tools to review code efficiently: list_open_prs and get_pr_diff. This setup speeds up QA processes by delivering clean, review-ready code to Claude for AI-assisted analysis.

How to use

After you configure the MCP server, Claude Desktop will expose two tools you can use directly from its interface:

How to install

Prerequisites you need before installation.

      Additional sections

      Configuration notes, security considerations, troubleshooting tips, and a practical project layout help you deploy and operate the MCP server smoothly.

      Configuration and usage notes

      This MCP server provides two main endpoints you can use through Claude tooling. It stores credentials securely and supports environment-based or interactive setup.

      Troubleshooting and tips

      If you encounter token or authentication errors, verify that your GitHub token has the appropriate scope and that credentials are stored in the correct location for your environment.

      Available tools

      list_open_prs

      Lists open pull requests in the configured repository.

      get_pr_diff

      Fetches the code diff for a specific PR number while filtering out binary or asset files.