PR Reviewer is a tool designed to analyze GitHub pull requests and create detailed reports in Notion. It leverages the MCP (Model Context Protocol) to facilitate communication and integration between different services.
shell
git clone https://github.com/attikpo-akrabal-godwin/PR-Reviewer.git
cd pr-reviewer
shell
python -m venv .venv
source .venv/bin/activate # On Windows use `.venv\Scripts\activate`
shell
pip install -r requirements.txt
.env
file in the project root and add your GitHub and Notion credentials:dotenv
GITHUB_TOKEN=your_github_token
NOTION_API_KEY=your_notion_api_key
NOTION_PAGE_ID=your_notion_page_id
NOTION_DATABASE_ID=your_notion_database_id
shell
python pr_anayzer.py
main.py
: Entry point for the project.pr_anayzer.py
: Contains the PRAnalyzer
class which initializes the MCP server and registers tools for PR analysis.github_integration.py
: Contains functions to fetch changes from GitHub pull requests..env
: Environment variables for GitHub and Notion credentials.requirements.txt
: List of dependencies.pyproject.toml
: Project metadata and dependencies.This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
For any questions or inquiries, please contact [email protected].