Coderabbitai MCP Server

MCP server for interacting with CodeRabbit AI reviews on GitHub pull requests. Enables LLMs to analyze, implement, and resolve CodeRabbit suggestions

Local serverstdioTypeScript

What is the Coderabbitai MCP MCP server?

Coderabbitai MCP becomes available to MCP clients through the coderabbitai mcp mcp server. MCP server for interacting with CodeRabbit AI reviews on GitHub pull requests. Enables LLMs to analyze, implement, and resolve CodeRabbit suggestions programmatically.

What Coderabbitai MCP does

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.

Key capabilities

  • Get CodeRabbit Reviews — Retrieve all CodeRabbit reviews for a specific pull request
  • Review Details — Get detailed information about specific reviews including configuration and files reviewed
  • Extract Comments — Get individual line comments with AI prompts and suggestions
  • Comment Details — Deep dive into specific comments with context and fix examples
  • Resolve Comments — Mark comments as addressed, won't fix, or not applicable
  • Automated Workflow Prompt — Use /coderabbit-review slash command for complete review processing

Tools it exposes

Once connected, the assistant can call these 2 tools directly:

  • Prerequisites — 1. GitHub Personal Access Token: Create at https://github.com/settings/tokens - Required scopes: repo (for private repos) or public_repo (for public
  • Authentication — The GitHub Personal Access Token needs these permissions: - repo (for private repositories) or public_repo (for public only) - read:org (if accessing

Installing the coderabbitai mcp mcp server

The server is distributed via npm as coderabbitai-mcp, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

The server reads one environment variable: GITHUB_PAT. Keep credentials in your client's env block or a secrets manager rather than committing them.

Requirements

  1. GitHub Personal Access Token: Create at https://github.com/settings/tokens - Required scopes: repo (for private repos) or public_repo (for public only) 2. Node.js 18+: Required for running the server

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Coderabbitai MCP sits in that group, and the shape of its toolset — Prerequisites, Authentication — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by bradthebeeble, written in TypeScript.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the coderabbitai mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
Prerequisites1. **GitHub Personal Access Token**: Create at <https://github.com/settings/tokens> - Required scopes: repo (for private repos) or public_repo (for public only) 2. **Node.js 18+**: Required for running the server
AuthenticationThe GitHub Personal Access Token needs these permissions: - repo (for private repositories) or public_repo (for public only) - read:org (if accessing organization repositories)

How to install the Coderabbitai MCP MCP server

{
  "mcpServers": {
    "coderabbitai": {
      "command": "npx",
      "args": ["-y", "coderabbitai-mcp"],
      "env": {
        "GITHUB_PAT": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  1. GitHub Personal Access Token: Create at https://github.com/settings/tokens - Required scopes: repo (for private repos) or public_repo (for public only) 2. Node.js 18+: Required for running the server
VariableDescriptionRequired
GITHUB_PATConfiguration value read at startup.Optional

Example prompts to try

  • Use Coderabbitai MCP to Prerequisites.
  • Use Coderabbitai MCP to Authentication.

Frequently asked questions

It connects Coderabbitai MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Prerequisites, Authentication) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Coderabbitai MCP directly.