CodeRabbit

CodeRabbit MCP Connector for Claude

F

Manage AI-powered code reviews via CodeRabbit — list users, track PR review metrics, audit admin actions, and control seat assignments from any AI agent.

9 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your CodeRabbit organization to any AI agent and take full control of your AI-powered code review operations through natural conversation.

What you can do

  • User Management — List all organization members, filter by seat assignment or role, and inspect individual profiles
  • Seat Control — Bulk assign or unassign CodeRabbit seats to enable or disable AI code reviews for team members
  • Role Administration — Promote members to admin or demote admins to member role in bulk operations
  • PR Review Metrics — Retrieve complexity scores, review times, and comment breakdowns for merged pull requests across any date range
  • Compliance Audit Logs — Access tamper-resistant records of administrative actions for SIEM integration and compliance reporting
  • Configuration — View and update seat assignment modes (automatic vs. manual)

How it works

  1. Subscribe to this server
  2. Enter your CodeRabbit API Key from Organization Settings
  3. Start managing your code review infrastructure from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Engineering Managers — get instant visibility into team code review velocity and quality metrics
  • Platform Engineers — automate seat management and role administration across large organizations
  • Compliance Officers — query audit logs for administrative action reports without accessing the dashboard
ai-code-reviewpull-request-automationcode-qualitysecurity-analysisteam-productivitydev-workflow

9 tools expose this connector's capabilities to your AI agent.

assign_seats

Up to 500 user IDs per request. Assign CodeRabbit seats to users

get_audit_logs

Ideal for compliance reporting. Retrieve organization audit logs

demote_users

Demote users from admin to member role

get_seat_mode

Get the current seat assignment mode

list_users

Optionally filter by seat assignment status or role. List all users in the CodeRabbit organization

get_metrics

Useful for engineering productivity analysis. Retrieve PR review metrics for a date range

promote_users

Promote users to admin role

unassign_seats

Does not delete user accounts. Remove CodeRabbit seats from users

update_seat_mode

Requires Enterprise plan. Update the seat assignment mode

See how to talk to your AI agent using CodeRabbit.

Show me all team members who don't have a CodeRabbit seat assigned.

I found 4 unassigned members: - **sarah.chen** (Member) - **marcus.dev** (Member) - **alex.ops** (Admin) - **new.hire** (Member) Would you like me to assign seats to all of them?

What were our code review metrics for March 2026?

Here are the March 2026 review metrics: - **Total PRs reviewed:** 142 - **Average complexity score:** 7.3/10 - **Average review time:** 4.2 minutes - **Critical issues found:** 23 - **Suggestions accepted:** 67% Would you like a breakdown by repository or author?

Show me the audit trail of admin actions from last week.

Audit log entries for the past 7 days: 1. **seat.assigned** — admin@company.com assigned 3 seats (Mar 28) 2. **role.promoted** — admin@company.com promoted marcus.dev to admin (Mar 29) 3. **config.updated** — admin@company.com changed review language to TypeScript-only (Mar 30) All entries are tamper-resistant and SIEM-ready.

Yes! Use the `get_metrics` tool with a date range (e.g., 2026-03-01 to 2026-03-31). It returns complexity scores, average review times, and comment breakdowns categorized by severity for all merged PRs.

Related Connectors