code-review-mcp
Allows automated code review on GitHub repositories, including listing and retrieving pull requests, viewing diffs, and performing security, quality, and license checks.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@code-review-mcpreview PR #5 in myorg/myrepo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Code Review MCP Server
MCP (Model Context Protocol) Server สำหรับ automated code review ผ่าน GitHub
Tools
Tool | Description |
| แสดงรายการ PRs ใน repo |
| ดึงรายละเอียดและไฟล์ที่เปลี่ยนใน PR |
| ดึง unified diff ของ PR |
| ดึงเนื้อหาไฟล์ใน repo |
| ตรวจ security issues (injection, XSS, secrets, weak crypto) |
| ตรวจ quality issues (debug code, error handling, type safety) |
| ตรวจ license headers และ dependency changes |
| รัน security + quality รวมในครั้งเดียว |
Related MCP server: pr-mcp-server
Setup
# 1. Install dependencies
npm install
# 2. Copy env file
cp .env.example .env
# 3. Add your GitHub token to .env
GITHUB_TOKEN=ghp_your_token_hereRunning locally (dev)
npm run dev
# Server runs at http://localhost:3000Build & run
npm run build
npm startDeploy to Render
Push code to GitHub
Go to render.com → New → Web Service
Connect repository
Render auto-detects
render.yamlSet
GITHUB_TOKENin Environment VariablesDeploy
Deploy to Railway
Push code to GitHub
Go to railway.app → New Project → Deploy from GitHub repo
Set
GITHUB_TOKENin Variables tabRailway auto-builds and deploys
MCP Client configuration
Add to your MCP client config (e.g., Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"code-review": {
"url": "https://your-deployed-url.onrender.com/sse"
}
}
}For local dev:
{
"mcpServers": {
"code-review": {
"url": "http://localhost:3000/sse"
}
}
}GitHub Token
สร้าง token ที่ GitHub → Settings → Developer settings → Personal access tokens
Permissions ที่ต้องการ:
repo(read access to code, pull requests)
This server cannot be deployed
Maintenance
Related MCP Connectors
Scan any public GitHub MCP-server repo for security issues. 37 MCP-specific L1 rules, 8 languages.
Create, deploy, and operate MCP servers directly from your GitHub repositories.
Scan any MCP server for tool-poisoning, security, auth & license. Trust score before install.
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceComprehensive MCP server for analyzing GitHub pull requests, detecting security vulnerabilities, assessing code quality, and providing risk ratings across multiple languages.2 npmMIT
- AlicenseAqualityDmaintenanceMCP server to automate Pull Request creation with AI. Analyzes Git branches, generates descriptions, titles, suggests reviewers, and performs code reviews.84MIT
- FlicenseAqualityDmaintenanceMCP server for automated GitHub repository quality management, enabling review, README generation, cleanup, and monitoring.6-
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables checking GitHub and Codeberg PR reviews, change requests, and conversations.MIT