Submit

Code Review

@Orcus2021

A MCP tool that automates code review and leaves comments directly on GitHub PRs, with support for Notion integration for custom review guidelines.
Overview

Code Review MCP Tool

This tool is a Model Context Protocol (MCP) server that provides automated code review and leaves GitHub PR comments for any app that supports MCP integration.

Features

  • Compare code differences between two git branches

  • Compare code differences from GitHub pull request URLs

  • Add summary comments to GitHub pull requests

  • Add line-specific comments to GitHub pull requests

  • Provide detailed code review guidelines

  • Support Notion integration to retrieve review guidelines from Notion code blocks, with default guidelines as fallback Include pre-configured style and code review guidelines

Usage

Local Git Branch Review

In your MCP-compatible app, send the following command:

code review
base branch: branch/any_branch

GitHub PR Review

In your MCP-compatible app, send the following command:

code review
https://github.com/owner/repo/pull/123

After generating the review report, please:

1.  Add PR summary comment
2.  If individual files require suggested changes, use line comments.

Find all the details here: https://github.com/Orcus2021/code-review-mcp-server

Server Config

{
  "mcpServers": {
    "code-review": {
      "command": "npx",
      "args": [
        "-y",
        "code-review-mcp-server"
      ],
      "env": {
        "GITHUB_TOKEN": "github_token",
        "NOTION_API_KEY": "notion_api_key",
        "NOTION_CODE_REVIEW_GUIDELINE_CODE_BLOCK_URL": "notion_code_block_url_here",
        "NOTION_STYLE_GUIDELINE_CODE_BLOCK_URL": "notion_code_block_url_here",
        "IGNORE_PATTERNS": "pattern1,pattern2,pattern3"
      }
    }
  }
}
© 2025 MCP.so. All rights reserved.

Build with ShipAny.