Version Control · Developer Tools

Code Review MCP Server logo

Code Review MCP Server

Orcus2021/code-review-mcp-server

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.

Install

npx -y code-review-mcp-server

Client configuration

{
  "mcpServers": {
    "code-review-tool": {
      "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_REVIEW_GUIDELINE_CODE_BLOCK_URL>",
        "NOTION_STYLE_GUIDELINE_CODE_BLOCK_URL": "<NOTION_STYLE_GUIDELINE_CODE_BLOCK_URL>",
        "LOCAL_INSTRUCTIONS_FILE_PATH": "<LOCAL_INSTRUCTIONS_FILE_PATH>",
        "IGNORE_PATTERNS": "<IGNORE_PATTERNS>"
      }
    }
  }
}

Environment variables

GITHUB_TOKENNOTION_API_KEYNOTION_CODE_REVIEW_GUIDELINE_CODE_BLOCK_URLNOTION_STYLE_GUIDELINE_CODE_BLOCK_URLLOCAL_INSTRUCTIONS_FILE_PATHIGNORE_PATTERNS
GitHub stars
2
Category
Version Control, Developer Tools
Updated
Oct 6, 2026

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

  • Support local markdown files for complete review instructions

  • Include pre-configured style and code review guidelines

  • Read PR templates from local directories

  • Create GitHub Pull Requests with auto-detection of repository information

Tools (7)

  • CodeReview

    Runs git diff between branch and base branch.

  • GetLocalGitDiff

    Get git diff between two branches locally.

  • CodeReviewWithGithubUrl

    Fetches diff from a GitHub PR URL.

  • AddPRSummaryComment

    Adds a summary comment to a GitHub PR.

  • AddPRLineComment

    Adds multiple comments to specific lines in a GitHub PR.

  • GetPRTemplate

    Read PR template from specified folder path and template name, returns template content or default template if not found.

  • CreatePR

    Create a new GitHub Pull Request with specified title, body, and branches.

Details on this page are taken from the project's README. Open README

Related MCP servers

More servers
core logo

core

opensumi/core

3.3k

A framework helps you quickly build AI Native IDE products.

Version Control
test1 logo

test1

trpc-group/trpc-go

942

tRPC-Go, is the Go language implementation of tRPC, which is a pluggable, high-performance RPC framework.

Version Control
AI-Gateway logo

AI-Gateway

Azure-Samples/AI-Gateway

565

New! The AI Gateway Dev Portal is now live — A starting point for building your own developer portal on top of Azure API Management AI Gateway's. Fork it, open it in VS Code with GitHub Copilot (or any coding agent), and shape it to fit your needs!

Version Control
e2b logo

e2b

e2b-dev/mcp-server

233

Deprecated: This project is no longer actively maintained. It may not receive further updates or bug fixes.

Version Control
MCP Git Ingest logo

MCP Git Ingest

adhikasp/mcp-git-ingest

180

A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.

Version Control
gitlab mcp logo

gitlab mcp

zereight/gitlab-mcp

70

Documentation → Setup guides, environment variables, and the full tool reference live on the hosted docs site.

Version Control