PR 审阅者🔍
用于分析 Pull 请求的智能助手,将 GitHub 与 Notion 集成以进行自动审查文档。
🌟 功能
自动分析 GitHub Pull 请求
结构化文档的 Notion 集成
MCP(模型-控制器-提供者)接口,高效处理
支持代码变更的详细分析
Notion 中的自动文档生成
🚀 入门
先决条件
Python 3.8 或更高版本
带有访问令牌的 GitHub 帐户
具有 API 权限的 Notion 帐户
配置访问令牌
安装
克隆存储库:
创建并激活虚拟环境:
安装依赖项:
配置环境变量:创建一个包含以下变量的
.env文件:
💻 使用方法
要启动 PR 分析器:
该服务将:
初始化 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 installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
智能拉取请求审查助手,将 GitHub 与 Notion 集成,通过模型-控制器-提供程序 (MCP) 服务器架构实现自动审查文档。
Related MCP Servers
- Asecurity-licenseAqualityAn MCP server that fetches GitHub Pull Request comments with file paths, line ranges, and replies using a GitHub personal access token.Last updated -13MIT License
- -security-license-qualityAn MCP service that enables creating GitHub Pull Requests and adding code review comments using GitHub CLI, eliminating the need to manually handle authentication and permissions.
- -security-license-qualityA Model Context Protocol server that enables AI assistants to perform GitHub operations including repository management, file operations, issue tracking, and pull request creation.Last updated -1
- -security-license-qualityA tool that integrates with GitHub and Notion to analyze and review pull requests, enabling automated code reviews and documentation in Notion.Last updated -