Skip to main content
Glama

PR Reviewer

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

  1. Clone o repositório:
git clone [seu-repositorio] cd pr_reviewer
  1. Crie e ative um ambiente virtual:
python -m venv .venv source .venv/bin/activate # Linux/Mac # ou .venv\Scripts\activate # Windows
  1. Instale as dependências:
pip install -r requirements.txt
  1. Configure as variáveis de ambiente: Crie um arquivo .env com as seguintes variáveis:
NOTION_API_KEY=seu_token_do_notion NOTION_PAGE_ID=id_da_pagina_notion GITHUB_TOKEN=seu_token_do_github

💻 Uso

Para iniciar o analisador de PRs:

python pr_analyzer.py

O serviço irá:

  1. Inicializar o servidor MCP para análise de PRs
  2. Estabelecer conexão com a API do GitHub
  3. Configurar a integração com o Notion
  4. Aguardar solicitações de análise de PRs
  5. 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álises
  • github_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.

  1. Faça um Fork do projeto
  2. Crie sua Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit suas mudanças (git commit -m 'Add some AmazingFeature')
  4. Push para a Branch (git push origin feature/AmazingFeature)
  5. Abra um Pull Request

📞 Suporte

Se você encontrar algum problema ou tiver sugestões, por favor abra uma issue no repositório.

-
security - not tested
F
license - not found
-
quality - not tested

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.

  1. 🌟 Características
    1. 🚀 Começando
      1. Pré-requisitos
      2. Instalação
    2. 💻 Uso
      1. 🛠️ Arquitetura
        1. Componentes
      2. 📝 Licença
        1. 👥 Contribuição
          1. 📞 Suporte

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              An MCP server that fetches GitHub Pull Request comments with file paths, line ranges, and replies using a GitHub personal access token.
              Last updated -
              1
              3
              TypeScript
              MIT License
            • -
              security
              F
              license
              -
              quality
              An 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
              • Apple
              • Linux
            • -
              security
              F
              license
              -
              quality
              A 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
              TypeScript
            • -
              security
              A
              license
              -
              quality
              A 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,835
              TypeScript
              Apache 2.0
              • Apple
              • Linux

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/willianmarcel/mcp-pr-reviewer'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server