code-review-mcp-server
3
The Code Review MCP Tool is a Model Context Protocol server for automated code review, providing comprehensive comments on GitHub pull requests. It integrates with Notion for guideline retrieval and offers both default and customizable review guidelines, focusing on style and quality standards.
Code Review MCP Tool
This tool is a Model Context Protocol (MCP) server designed for automated code review and adds GitHub PR comments for MCP-integrated apps.
Features
- Compare code differences between git branches or from GitHub PR URLs
- Add summary and line-specific comments to GitHub PRs
- Retrieve review guidelines from Notion code blocks, with default guidelines as a fallback
Tools
- Extracts git diffs, offers review and fix instructions
- Adds comments to GitHub PRs
Architecture
- Listens for code review requests via MCP
- Integrates with Git for diffs and Notion for guidelines
Prerequisites
- Node.js (v18 or above)
- Git
- GitHub token or CLI, Optional Notion API token
Usage
- Provides commands for local branch and GitHub PR reviews
- Supports CI pipeline integration for automated reviews
Review Guidelines
- Offers style guides and code review guidelines, customizable via Notion.