← Back to PR Review MCP Server
Install PR Review MCP Server
Pick your client, copy the command, done.
Manual setup required. The maintainer's config contains paths only you know — edit the placeholders below before adding it to Claude Code.
1
Prepare the server locally
Run this once before adding it to Claude Code.
git clone https://github.com/<your-username>/pr-review-mcp.git
cd pr-review-mcp
pip install -r requirements.txt2
Register it in Claude Code
claude mcp add -e "GITHUB_TOKEN=${GITHUB_TOKEN}" -e "GITHUB_REPO=${GITHUB_REPO}" pr-review -- python /path/to/pr-review-mcp/server.pyReplace any placeholder paths in the command with the real path on your machine.
Required:
GITHUB_TOKENGITHUB_REPO+ 1 optionalEnvironment Variables
Set these before running PR Review MCP Server.
VariableDescriptionRequired
GITHUB_TOKENGitHub Personal Access Token (classic) with repo scopeYesGITHUB_REPOThe repository in owner/repo formatYesMCP_DEBUGEnables verbose debug loggingNoAvailable Tools (2)
Once configured, PR Review MCP Server gives your AI agent access to:
list_open_prsLists open PRs in the configured repository.get_pr_diffFetches the code diff for a specific PR number, filtering out binary/asset files.pr_numberTry It Out
After setup, try these prompts with your AI agent:
→List open PRs
→Review PR #42
→What changed in PR #15?
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Python 3.8+ with pip installed
GITHUB_TOKEN— GitHub Personal Access Token (classic) with repo scopeGITHUB_REPO— The repository in owner/repo format
Keep this setup from going cold
Save the docs, env vars, and workflow around PR Review MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.