What are the prerequisites for using this tool?
Node.js v18 or above, Git installed, and either a `GITHUB_TOKEN` environment variable or the GitHub CLI (`gh`) installed and authenticated for PR operations.
@Orcus2021
Basic information
A Model Context Protocol (MCP) tool that automates code review and leaves comments directly on GitHub PRs, with support for Notion integration for custom review guidelines.
Add this server to your MCP-compatible client using the configuration below.
{
"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"
}
}
}
}Run a git diff between branches. Requires a base branch name to compare against the current branch, and provide instructions to review/fix issues.
Get git diff between two branches locally. Returns raw diff output without review instructions.
Run a git diff using a GitHub PR URL. Requires a GitHub pull request URL to fetch the diff, and provide instructions to review/fix issues.
Add a summary comment to a GitHub pull request
Add multiple comments to specific lines in a GitHub pull request
Read PR template from specified folder path and template name, returns template content or default template if not found
Create a new GitHub Pull Request with specified title, body, and branches. Automatically detects GitHub URL and current branch from local git configuration.
Code Review MCP Tool for Cursor is a Model Context Protocol (MCP) server that provides automated code review and leaves GitHub PR comments for any app supporting MCP integration, such as Cursor.
Add an MCP server configuration in your app’s JSON file with command: "npx", args: ["-y", "code-review-mcp-server"], and required environment variables like GITHUB_TOKEN. Then send commands such as code review with a base branch or a GitHub PR URL to get diffs and review suggestions.
Node.js v18 or above, Git installed, and either a `GITHUB_TOKEN` environment variable or the GitHub CLI (`gh`) installed and authenticated for PR operations.
The tool uses a priority order: 1) Local markdown file via `LOCAL_INSTRUCTIONS_FILE_PATH`, 2) Notion integration (requires `NOTION_API_KEY`), 3) Built-in default guidelines.
Yes, it is an MCP server compatible with any app that supports MCP integration, including Cursor.
It is optional; the tool falls back to the GitHub CLI (`gh`) if `GITHUB_TOKEN` is not set.
Code diffs are obtained from local git or GitHub PRs via the API. No external data storage is used by the server; PR comments are added directly to GitHub.

Turn Perfex CRM into an AI-ready workspace. This MCP server exposes your full REST API to Claude, ChatGPT and any AI agent, so leads, invoices and tasks are one prompt away.

Layro connects your AI coding tool (Cursor, Claude Code, VS Code, Windsurf, Codex, Gemini CLI) to 112 production React, TypeScript and Tailwind CSS components. Your agent can search the library, read each component's pro

Design review for UI code, inside your agent. quick_review checks the files you just changed in about ten seconds. review_files returns a 0-100 score and patches. verify_fixes confirms the fixes landed, free. review_url
Modelglass turns "which model should I use?" into a lookup instead of a guess. Seven tools give your agent live pricing across image, language, video, and audio models. Sourced and versioned, not scraped once and forgott

Remote MCP server for domain and website checks: DNS, WHOIS/RDAP, domain age, TLS, DNSSEC, email auth (SPF/DKIM/DMARC), blocklists, a trust verdict ("should my agent click, sign in to, or pay this site?"), availability +
Comments