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.8.0.tar.gz (17.0 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.8.0-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codereviewbuddy-0.8.0.tar.gz
  • Upload date:
  • Size: 17.0 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.8.0.tar.gz
Algorithm Hash digest
SHA256 11fe27bcf1fad4d2c7b28eae555301721593370148ad5ea6fce416bcfd9f88f6
MD5 1e2f3546968baf8cae80c1602cfac2bf
BLAKE2b-256 d7899eb2c2f59756c3daf87011dd4d05409e032c57c4b07b01306f3c959d10ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: codereviewbuddy-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 23.2 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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1dfba4a870e68c15d5ecfdc2943225eca91b1768ed51e91bb5cb7708669e70c6
MD5 2263653c2e55f338cf893058f44878f6
BLAKE2b-256 f213d2649939775aaf297960e964a28fb6328ca0490074cc210a5655d9c2837f

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