
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that performs automated code review on git branch diffs and GitHub pull requests, then posts summary and line comments to PRs.
Code Review MCP Server is cataloged as an MCP server attributed to orcus2021. An MCP server that performs automated code review on git branch diffs and GitHub pull requests, then posts summary and line comments to PRs. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Code Review MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
A local markdown file takes highest priority, then Notion integration, then built-in default guidelines.
You can provide a GITHUB_TOKEN environment variable or use an installed and authenticated GitHub CLI.
README.md · 39bf38eec098 · 采集于 2026-11-13 10:16:49 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
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.
GITHUB_TOKEN environment variable (to use the GitHub RESTful API), orgh) installed and authenticatedTo use this tool in any app that supports MCP, follow these steps:
{
"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_block_url_here",
"NOTION_STYLE_GUIDELINE_CODE_BLOCK_URL": "notion_code_block_url_here",
"LOCAL_INSTRUCTIONS_FILE_PATH": "/path/to/complete-instructions.md",
"IGNORE_PATTERNS": "pattern1,pattern2,pattern3"
}
}
}
}
| Variable | Required | Description |
|---|---|---|
GITHUB_TOKEN | Optional | GitHub personal access token for API access. Falls back to GitHub CLI if not provided. |
LOCAL_INSTRUCTIONS_FILE_PATH | Optional | Path to a local markdown file containing complete review instructions. When provided, this file completely replaces the combined Notion/default guidelines. Priority: Local > Notion > Default. |
IGNORE_PATTERNS | Optional | Comma-separated glob patterns for files to exclude from review. |
| Notion | ||
NOTION_API_KEY | Optional | Required for fetching review guidelines from Notion. |
NOTION_CODE_REVIEW_GUIDELINE_CODE_BLOCK_URL | Optional | Notion URL containing code review guidelines. Must point to a Notion </> Code block and requires valid NOTION_API_KEY to function. Falls back to default guidelines if not configured. |
NOTION_STYLE_GUIDELINE_CODE_BLOCK_URL | Optional | Notion URL containing style guidelines. Must point to a Notion </> Code block and requires valid NOTION_API_KEY to function. Falls back to default guidelines if not configured. |
The tool supports multiple sources for review instructions with the following priority order (implementation):
Local Markdown File (Highest Priority)
LOCAL_INSTRUCTIONS_FILE_PATH environment variable.md or .markdown fileNotion Integration (Medium Priority)
NOTION_API_KEY and respective URL environment variablesDefault Guidelines (Lowest Priority)
For detailed instructions, refer to: Notion API Authorization Guide
The tool requires the following environment variables:
NOTION_API_KEY=your_token_here
NOTION_CODE_REVIEW_GUIDELINE_CODE_BLOCK_URL=your_notion_code_block_url
NOTION_STYLE_GUIDELINE_CODE_BLOCK_URL=your_notion_style_guideline_url
These can be provided in the env section of your MCP configuration as shown above.
Share button on your Notion pageNote: Currently only supports reading code blocks from Notion
For detailed instructions, refer to: Notion API Connections Guide
Tip: For better review results, it's recommended to switch to the branch being reviewed before running the code review command.
In your MCP-compatible app, send the following command:
code review
base branch: branch/any_branch
This will:
To get only the git diff without review instructions:
get local git diff
base branch: main
This will return the raw git diff output between the current branch and the specified base branch, useful for further processing or analysis.
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.
This will fetch the PR's diff, provide a code review, and leave PR comments directly on GitHub.
Create a PR with automatic repository detection:
create PR base on diff
base branch: main
The tool will:
Manual override (if auto-detection fails):
create PR
github url: https://github.com/user/repo
base branch: main
Read PR templates from your repository:
get PR template
This will:
pull_request_template.md in the specified folder.github/ subdirectoryCustom template name:
get PR template
folder path: /path/to/your/repo/template
template name: custom_template.md
You can automate code review in your CI pipeline by triggering an n8n webhook, which will call this project's MCP tool to perform the review and return results or leave comments on your PR.
For a step-by-step guide and recommended workflow diagram, see: CI Integration with n8n and MCP Tool
This tool provides multiple ways to configure review guidelines:
Create a complete instruction file in markdown format and set the LOCAL_INSTRUCTIONS_FILE_PATH environment variable. This provides the most flexibility and version control for your review process.
Configure separate style and code review guidelines through Notion code blocks.
The tool includes built-in guidelines covering:
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Code Review MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/code-review-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.