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.5.0.tar.gz (15.1 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.5.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codereviewbuddy-0.5.0.tar.gz
  • Upload date:
  • Size: 15.1 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.5.0.tar.gz
Algorithm Hash digest
SHA256 4328ddf5e1d8e4c0cf085e4347716d6afb6588e35f871fe07288633f3dbd24b0
MD5 b2d08d18dcaf39cdb8e2702558d6b806
BLAKE2b-256 3f13e9b263a74638008af8ca7e207d3bd5d33582b713077a1670392aea979e06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: codereviewbuddy-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 20.3 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7af3b360796133d5a1124de094248de896efc9d09c1f41ac3212e23041277926
MD5 71194c0e2bb74d5f51213ac3c54fc86f
BLAKE2b-256 858b1fa8a863931e3dfea98a7b934fda3092d1bfb077d2595b0af1af8ac45177

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