Skip to main content

codereview buddy helps your AI agent interact with AI code review--smoothly!

Project description

codereviewbuddy

ci Python 3.14+ FastMCP

An MCP server that helps your AI coding agent interact with AI code reviewers — smoothly.

Manages review comments from Unblocked, Devin, and CodeRabbit on GitHub PRs with staleness detection, batch resolution, and re-review triggering.

Features

  • List review comments with reviewer identification and staleness detection
  • Resolve comments individually or bulk-resolve stale ones (files changed since review)
  • Reply to review threads directly from your agent
  • Request re-reviews with per-reviewer logic (manual trigger for Unblocked, auto for Devin/CodeRabbit)
  • Zero config auth — uses gh CLI, no PAT tokens or .env files

Prerequisites

MCP Client Configuration

Windsurf

Add to your MCP settings (~/.codeium/windsurf/mcp_config.json):

{
  "mcpServers": {
    "codereviewbuddy": {
      "command": "uvx",
      "args": ["codereviewbuddy"]
    }
  }
}

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "codereviewbuddy": {
      "command": "uvx",
      "args": ["codereviewbuddy"]
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "codereviewbuddy": {
      "command": "uvx",
      "args": ["codereviewbuddy"]
    }
  }
}

From source (development)

{
  "mcpServers": {
    "codereviewbuddy": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/codereviewbuddy", "codereviewbuddy"]
    }
  }
}

MCP Tools

Tool Description
list_review_comments Fetch all review threads with reviewer ID, status, and staleness
resolve_comment Resolve a single thread by GraphQL node ID (PRRT_...)
resolve_stale_comments Bulk-resolve threads on files modified since the review
reply_to_comment Reply to a review thread
request_rereview Trigger re-reviews per reviewer (handles differences automatically)

Installation

pip install codereviewbuddy

With uv:

uv tool install codereviewbuddy

Development

git clone https://github.com/detailobsessed/codereviewbuddy.git
cd codereviewbuddy
uv sync

Testing

poe test          # Run tests (excludes slow)
poe test-cov      # Run with coverage report
poe test-all      # Run all tests including slow

Quality checks

poe lint          # ruff check
poe typecheck     # ty check
poe check         # lint + typecheck
poe prek          # run all pre-commit hooks

Template Updates

This project was generated with copier-uv-bleeding. To pull the latest template changes:

copier update --trust .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codereviewbuddy-0.3.1.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codereviewbuddy-0.3.1-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file codereviewbuddy-0.3.1.tar.gz.

File metadata

  • Download URL: codereviewbuddy-0.3.1.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for codereviewbuddy-0.3.1.tar.gz
Algorithm Hash digest
SHA256 404909b54cd732db19755d7fd3715186e1aa6809beef90d03a20211d2cef0a9a
MD5 56c7feb36a0c0c9e632d5870818f8eb9
BLAKE2b-256 ff7f4342fc49efaab2115982742a4abba1fe640a43f59cb8c3e690398344f3ce

See more details on using hashes here.

File details

Details for the file codereviewbuddy-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: codereviewbuddy-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for codereviewbuddy-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ef34595a7269ccceef86250ecb35505f08cfa96e20ebd0c6be2270e147e9162
MD5 109b413b97d2880e77a638c4a78cd1ee
BLAKE2b-256 1c9256312b616f459d151ed4b7a235930cace6bf111a35244646e421e4dcd7ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page