Omjaiswal26/GitHub-PR-Review-MCP-Server
3.2
If you are the rightful owner of GitHub-PR-Review-MCP-Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This project demonstrates the use of the FastMCP library to create a GitHub PR review server.
GitHub-PR-Review-MCP
Overview
This project is a FastMCP based GitHub PR Review Server.
Features
- List PRs in a repository
- Get diff for a specific PR
- Suggest comments for a PR
- Review a PR
Setup
- Clone the repository
git clone https://github.com/cymake/GitHub-PR-Review-MCP.git
- Install the dependencies using uv
pip install uv
uv pip install -r requirements.txt
- Create a
.env
file and set theGITHUB_TOKEN
environment variable
GITHUB_TOKEN=your_github_token
Usage
- Run the server
python server.py
- Run the client
python client.py
Connecting to Claude Desktop
- Run Claude Desktop
- Run the server
- Edit 'claude_desktop_config.json'
- Add the following
{
"mcpServers": {
"pr-review-server": {
"command": "uv",
"args": ["run","--with", "fastmcp", "--with", "dotenv", "--with", "requests", "python", "path/to/server.py"],
"env": {
"GITHUB_TOKEN": "your_github_token"
}
}
}
}
-
Restart Claude Desktop
-
Ask about various PRs and Enjoy!!!