Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
MCP server for interacting with CodeRabbit AI reviews on GitHub pull requests
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Fetched from the repository for this visit.
A Model Context Protocol (MCP) server for interacting with CodeRabbit AI reviews on GitHub pull requests. This server enables Large Language Models (LLMs) to analyze, understand, and implement CodeRabbit suggestions programmatically.
/coderabbit-review slash command for complete review processingNo installation required! Run directly with npx:
# Install the latest stable version explicitly
npx coderabbitai-mcp@latest
repo (for private repos) or public_repo (for public only)To use the CodeRabbit MCP server in Claude Desktop, add it to your configuration file:
Configuration file locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonStep-by-step setup:
{
"mcpServers": {
"coderabbitai": {
"command": "npx",
"args": ["coderabbitai-mcp@latest"],
"env": {
"GITHUB_PAT": "ghp_your_token_here"
}
}
}
}
ghp_your_token_here with your actual GitHub Personal Access TokenTo use the CodeRabbit MCP server in Claude Code, configure it in your project:
Step-by-step setup:
Create a .claude directory in your project root (if it doesn't exist):
mkdir .claude
Create or edit .claude/config.json:
{
"mcpServers": {
"coderabbitai": {
"command": "npx",
"args": ["coderabbitai-mcp@latest"],
"env": {
"GITHUB_PAT": "ghp_your_token_here"
}
}
}
}
ghp_your_token_here with your actual GitHub Personal Access TokenPro tip: For security, you can use environment variables instead of hardcoding the token:
{
"mcpServers": {
"coderabbitai": {
"command": "npx",
"args": ["coderabbitai-mcp@latest"],
"env": {
"GITHUB_PAT": "${GITHUB_PAT}"
}
}
}
}
Then set the GITHUB_PAT environment variable in your shell before starting Claude Code.
Use the built-in MCP prompt for complete workflow automation:
/coderabbit-review owner:bradthebeeble repo:wiseguys pullNumber:15
This prompt automatically:
get_coderabbit_reviewsGet all CodeRabbit reviews for a specific pull request.
{
"owner": "bradthebeeble",
"repo": "wiseguys",
"pullNumber": 15
}
get_review_detailsGet detailed information about a specific CodeRabbit review.
{
"owner": "bradthebeeble",
"repo": "wiseguys",
"pullNumber": 15,
"reviewId": 2969007538
}
get_review_commentsGet all individual line comments from CodeRabbit reviews.
{
"owner": "bradthebeeble",
"repo": "wiseguys",
"pullNumber": 15,
"reviewId": 2969007538
}
get_comment_detailsGet detailed information about a specific CodeRabbit comment.
{
"owner": "bradthebeeble",
"repo": "wiseguys",
"commentId": 2173534099
}
resolve_commentMark a CodeRabbit comment as resolved.
{
"owner": "bradthebeeble",
"repo": "wiseguys",
"commentId": 2173534099,
"resolution": "addressed",
"note": "Implemented asyncHandler wrapper as suggested"
}
For development or local customization:
git clone https://github.com/bradthebeeble/coderabbitai-mcp.git
cd coderabbitai-mcp
npm install
npm run build
# Build TypeScript
npm run build
# Watch mode for development
npm run dev
# Clean build files
npm run clean
# Test the server
npm test
Create a .env file (optional):
# GitHub Configuration (shorter variable name)
GITHUB_PAT=ghp_your_token_here
# Optional: CodeRabbit MCP Configuration
CODERABBIT_LOG_LEVEL=info
Server not loading (NPX):
node --versionnpx coderabbitai-mcpGitHub API errors:
No CodeRabbit reviews found:
Enable debug logging:
CODERABBIT_LOG_LEVEL=debug npx coderabbitai-mcp
/coderabbit-review promptThe GitHub Personal Access Token needs these permissions:
repo (for private repositories) or public_repo (for public only)read:org (if accessing organization repositories)The server respects GitHub's API rate limits:
git checkout -b feature-namenpm run buildMIT
Loading reviews...
GitHub checked 111h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.