MCP server for interacting with CodeRabbit AI reviews on GitHub pull requests. Enables LLMs to analyze, implement, and resolve CodeRabbit suggestions
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.
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.
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 publicAuthentication — The GitHub Personal Access Token needs these permissions: - repo (for private repositories) or public_repo (for public only) - read:org (if accessingThe 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.
The server reads one environment variable: GITHUB_PAT. Keep credentials in your client's env block or a secrets manager rather than committing them.
repo (for private repos) or public_repo (for public only) 2. Node.js 18+: Required for running the serverDeveloper-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.
| Tool | What it does |
|---|---|
| Prerequisites | 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 |
| Authentication | The GitHub Personal Access Token needs these permissions: - repo (for private repositories) or public_repo (for public only) - read:org (if accessing organization repositories) |
{
"mcpServers": {
"coderabbitai": {
"command": "npx",
"args": ["-y", "coderabbitai-mcp"],
"env": {
"GITHUB_PAT": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
repo (for private repos) or public_repo (for public only) 2. Node.js 18+: Required for running the server| Variable | Description | Required |
|---|---|---|
| GITHUB_PAT | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.