PR Reviewer

PR Reviewer

An intelligent assistant for Pull Request analysis that integrates GitHub with Notion for automated review documentation through an MCP (Model-Controller-Provider) server architecture.

Category
Visit Server

README

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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured