PR Reviewer
PR 审阅者🔍
用于分析 Pull 请求的智能助手,将 GitHub 与 Notion 集成以进行自动审查文档。
🌟 功能
自动分析 GitHub Pull 请求
结构化文档的 Notion 集成
MCP(模型-控制器-提供者)接口,高效处理
支持代码变更的详细分析
Notion 中的自动文档生成
Related MCP server: devflow-mcp
🚀 入门
先决条件
Python 3.8 或更高版本
带有访问令牌的 GitHub 帐户
具有 API 权限的 Notion 帐户
配置访问令牌
安装
克隆存储库:
git clone [seu-repositorio]
cd pr_reviewer创建并激活虚拟环境:
python -m venv .venv
source .venv/bin/activate # Linux/Mac
# ou
.venv\Scripts\activate # Windows安装依赖项:
pip install -r requirements.txt配置环境变量:创建一个包含以下变量的
.env文件:
NOTION_API_KEY=seu_token_do_notion
NOTION_PAGE_ID=id_da_pagina_notion
GITHUB_TOKEN=seu_token_do_github💻 使用方法
要启动 PR 分析器:
python pr_analyzer.py该服务将:
初始化 MCP 服务器以进行 PR 分析
连接到 GitHub API
设置与 Notion 的集成
等待 PR 审核请求
在 Notion 中自动生成文档
🛠️ 建筑
该项目由两个主要部分组成:
pr_analyzer.py:管理 MCP 服务器并协调分析的应用程序核心github_integration.py:负责与 GitHub API 集成的模块
成分
PR分析仪
初始化 FastMCP 服务器
管理与 Notion 的集成
注册 PR 分析工具
处理分析请求
GitHub 集成
管理与 GitHub API 的通信
从 Pull 请求中检索信息
处理代码更改
📝 许可证
该项目受 MIT 许可。请参阅LICENSE文件以了解更多详细信息。
👥 贡献
欢迎投稿!请随意提交 PR。
分叉项目
创建你的功能分支(
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')推送到分支(
git push origin feature/AmazingFeature)打开拉取请求
📞 支持
如果您遇到任何问题或有建议,请在存储库中打开一个问题。
This server cannot be deployed
Maintenance
Related MCP Connectors
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
AI code review for GitHub PRs with an MCP autofix loop for Claude Code and Cursor
Repo intel for AI coding agents: overview, PRs, contributors, hot files, CI, deps. Remote MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA tool that integrates with GitHub and Notion to analyze and review pull requests, enabling automated code reviews and documentation in Notion.-
- AlicenseNot gradedqualityDmaintenanceA production-ready MCP server that provides AI assistants with comprehensive GitHub developer tooling including PR analysis, code review, changelog generation, dependency auditing, commit summarization, and refactoring suggestions.8 npmISC
- AlicenseAqualityDmaintenanceMCP server to automate Pull Request creation with AI. Analyzes Git branches, generates descriptions, titles, suggests reviewers, and performs code reviews.84MIT
- AlicenseNot gradedqualityCmaintenanceUnified MCP control plane for AI pull request reviews on GitHub.39 npm1MIT