get_coderabbit_reviews
Get all CodeRabbit reviews for a specific GitHub pull request
Work through CodeRabbit's review of a pull request from the client: the review, its line comments, the AI prompt behind any one of them, and the resolve that closes it.
LABSCO SUMMARY
The split matches how the review is actually consumed — reviews, then the line comments inside one, then a single comment with the prompt that produced it — and both resolve tools take a note, so why a comment was closed ends up on the record instead of in someone's memory. Scope is one pull request at a time: owner, repo and pullNumber are on every read, so there is no view across repositories and no way to ask for a fresh review from here.
A read-and-resolve layer over CodeRabbit's review output on GitHub pull requests, six tools addressed by owner, repo and pullNumber.
A GitHub personal access token in GITHUB_PAT that can reach the repositories you care about, and pull requests CodeRabbit has already reviewed — every tool reads or resolves existing output, none of them asks for a review.
One command plus credentials — npx coderabbitai-mcp@latest, then supply credentials
USE CASES
Fetch the reviews on the pull request, open the one you care about, and pull its line comments as a list you can read in order instead of scrolling the conversation view.
Take a comment you disagree with and open its details, which include the AI prompt CodeRabbit generated for it — enough to tell a rule you want to keep from one you want to argue with.
Mark each addressed comment resolved with a note saying what changed, then resolve the conversation on the GitHub side so the pull request stops showing an open thread.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
get_coderabbit_reviewsGet all CodeRabbit reviews for a specific GitHub pull request
get_comment_detailsGet detailed information about a specific CodeRabbit comment including AI prompts
get_review_commentsGet all individual line comments from CodeRabbit reviews
get_review_detailsGet detailed information about a specific CodeRabbit review
resolve_commentMark a CodeRabbit comment as resolved or addressed
resolve_conversationResolve or unresolve a CodeRabbit review conversation in GitHub
BEFORE YOU INSTALL
6 tools when we connected. resolve_conversation, which closes a whole review conversation, is undocumented. Resolving comments needs a token with repo write access.
Both documented clients run the server on your machine.
CONTEXT COST
Rated by the size of the 6 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npx coderabbitai-mcp@latest{
"mcpServers": {
"coderabbitai": {
"command": "npx",
"args": [
"coderabbitai-mcp@latest"
],
"env": {
"GITHUB_PAT": "<YOUR_GITHUB_PAT>"
}
}
}
}{
"mcpServers": {
"coderabbitai": {
"command": "npx",
"args": [
"coderabbitai-mcp@latest"
],
"env": {
"GITHUB_PAT": "${GITHUB_PAT}"
}
}
}
}