PR Reviewer 🔍
Um assistente inteligente para análise de Pull Requests que integra GitHub com Notion para documentação automatizada de revisões.
🌟 Características
- Análise automática de Pull Requests do GitHub
- Integração com Notion para documentação estruturada
- Interface MCP (Model-Controller-Provider) para processamento eficiente
- Suporte a análise detalhada de mudanças de código
- Geração automática de documentação no Notion
🚀 Começando
Pré-requisitos
- Python 3.8 ou superior
- Conta no GitHub com token de acesso
- Conta no Notion com permissões de API
- Tokens de acesso configurados
Instalação
- Clone o repositório:
- Crie e ative um ambiente virtual:
- Instale as dependências:
- Configure as variáveis de ambiente:
Crie um arquivo
.env
com as seguintes variáveis:
💻 Uso
Para iniciar o analisador de PRs:
O serviço irá:
- Inicializar o servidor MCP para análise de PRs
- Estabelecer conexão com a API do GitHub
- Configurar a integração com o Notion
- Aguardar solicitações de análise de PRs
- Gerar documentação automaticamente no Notion
🛠️ Arquitetura
O projeto é estruturado em dois componentes principais:
pr_analyzer.py
: Core da aplicação que gerencia o servidor MCP e coordena as análisesgithub_integration.py
: Módulo responsável pela integração com a API do GitHub
Componentes
PR Analyzer
- Inicializa o servidor FastMCP
- Gerencia a integração com o Notion
- Registra ferramentas para análise de PRs
- Processa as solicitações de análise
GitHub Integration
- Gerencia a comunicação com a API do GitHub
- Recupera informações de Pull Requests
- Processa mudanças de código
📝 Licença
Este projeto está sob a licença MIT. Veja o arquivo LICENSE
para mais detalhes.
👥 Contribuição
Contribuições são bem-vindas! Por favor, sinta-se à vontade para submeter PRs.
- Faça um Fork do projeto
- Crie sua Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit suas mudanças (
git commit -m 'Add some AmazingFeature'
) - Push para a Branch (
git push origin feature/AmazingFeature
) - Abra um Pull Request
📞 Suporte
Se você encontrar algum problema ou tiver sugestões, por favor abra uma issue no repositório.
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.
An intelligent assistant for Pull Request analysis that integrates GitHub with Notion for automated review documentation through an MCP (Model-Controller-Provider) server architecture.
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that fetches GitHub Pull Request comments with file paths, line ranges, and replies using a GitHub personal access token.Last updated -13TypeScriptMIT License
- -securityFlicense-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.Last updated -JavaScript
- -securityFlicense-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 -1TypeScript
- -securityAlicense-qualityA free, open-source service that transforms GitHub projects into MCP endpoints, enabling AI assistants to access and understand project documentation without any setup.Last updated -3,835TypeScriptApache 2.0