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.1.1.tar.gz (13.4 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.1.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for codereviewbuddy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 282e159476bf66df3ca271eefbce076fb27951fff76f91694e491419e0ec1acc
MD5 5184630b8ea9ba8e39eed5755adb7585
BLAKE2b-256 5b7cd40fdf58ee61e10b6cde9ef32a9e4c401f44ead524c31268f6d5f64d6dca

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for codereviewbuddy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d3444e67a08c2eff62a47aaa1411775f33c9024bdc662da7fae1da6ee5730313
MD5 2541ef8e741bc584e9507b0883bb2590
BLAKE2b-256 ffa50521ada180ca9f1d5e5ffd5e82f29ab98e8bdd28c5d5ca4b772ed9c12bcb

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