BC

bradthebeeble/coderabbitai-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

30 stars 3 forks Качество 65 Тренд 11MIT

MCP-сервер для взаимодействия с обзорами CodeRabbit AI по запросам GitHub

Обзор

Сервер Model Context Protocol (MCP) для взаимодействия с обзорами CodeRabbit AI по запросам GitHub. Этот сервер позволяет Большим языковым моделям (LLM) анализировать, понимать и программно реализовывать предложения CodeRabbit. - : Retrieve all CodeRabbit reviews for specific pull request - : Get detailed information about specific reviews including configuration and files review - : Get individual line comments with AI prompts and suggestions - : Deep dive into specific comments with context and fix example - : Mark comments as address, won't fix, or not applicable - : Use /coderabbit-review slash command for complete review processing Не требуется установка! Бегите напрямую с npx: 1. : Create at https://github.com/settings/tokens - Required scopes: repo (для частных репо) или public repo (только для публичных) 2.

Обзор (машинный перевод)

Сервер Model Context Protocol (MCP) для взаимодействия с обзорами CodeRabbit AI по запросам GitHub. Этот сервер позволяет Большим языковым моделям (LLM) анализировать, понимать и программно реализовывать предложения CodeRabbit.

Особенности

Обзоры CodeRabbit: Восстановите все отзывы CodeRabbit для конкретного запроса на вытягивание ** Подробности обзора : Получите подробную информацию о конкретных обзорах, включая конфигурацию и просмотренные файлы Extract Comments: Получайте индивидуальные комментарии с помощью AI-подсказок и предложений ** Комментарии: Глубокое погружение в конкретные комментарии с контекстом и исправлением примеров Решите вопросы: Марк комментарии как адресовано, не исправить, или не применимо Automated Workflow Prompt: Используйте команду /coderabbit-review для полной обработки обзора

Быстрый старт

Установка (NPX - рекомендуется)

Не требуется установка! Бегите напрямую с npx:

Предпосылки

1 GitHub Персональный Токен Доступа: Создать

  • Необходимые области применения: repo (для частных репозиториев) или public_repo (только для публичных)
  1. Node.js 18+: Требуется для запуска сервера

Конфигурация

###Клод Конфигурация рабочего стола

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

CodeRabbit MCP Server

A Model Context Protocol (MCP) server for interacting with CodeRabbit AI reviews on GitHub pull requests. This server enables Large Language Models (LLMs) to analyze, understand, and implement CodeRabbit suggestions programmatically.

Features

  • Get CodeRabbit Reviews: Retrieve all CodeRabbit reviews for a specific pull request
  • Review Details: Get detailed information about specific reviews including configuration and files reviewed
  • Extract Comments: Get individual line comments with AI prompts and suggestions
  • Comment Details: Deep dive into specific comments with context and fix examples
  • Resolve Comments: Mark comments as addressed, won’t fix, or not applicable
  • Automated Workflow Prompt: Use /coderabbit-review slash command for complete review processing

Quick Start

No installation required! Run directly with npx:

# Install the latest stable version explicitly
npx coderabbitai-mcp@latest

Prerequisites

  1. GitHub Personal Access Token: Create at
    • Required scopes: repo (for private repos) or public_repo (for public only)
  2. Node.js 18+: Required for running the server

Configuration

Claude Desktop Configuration

To use the CodeRabbit MCP server in Claude Desktop, add it to your configuration file:

Configuration file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Step-by-step setup:

  1. Open your Claude Desktop configuration file (create it if it doesn’t exist)
  2. Add the CodeRabbit MCP server configuration:
{
  "mcpServers": {
    "coderabbitai": {
      "command": "npx",
      "args": ["coderabbitai-mcp@latest"],
      "env": {
        "GITHUB_PAT": "ghp_your_token_here"
      }
    }
  }
}
  1. Replace ghp_your_token_here with your actual GitHub Personal Access Token
  2. Save the file and restart Claude Desktop

Claude Code Configuration

To use the CodeRabbit MCP server in Claude Code, configure it in your project:

Step-by-step setup:

  1. Create a .claude directory in your project root (if it doesn’t exist):

    mkdir .claude
    
  2. Create or edit .claude/config.json:

{
  "mcpServers": {
    "coderabbitai": {
      "command": "npx",
      "args": ["coderabbitai-mcp@latest"],
      "env": {
        "GITHUB_PAT": "ghp_your_token_here"
      }
    }
  }
}
  1. Replace ghp_your_token_here with your actual GitHub Personal Access Token
  2. The server will be available next time you start Claude Code in this project

Pro tip: For security, you can use environment variables instead of hardcoding the token:

{
  "mcpServers": {
    "coderabbitai": {
      "command": "npx",
      "args": ["coderabbitai-mcp@latest"],
      "env": {
Открыть полный README на GitHub

Установка

npx coderabbitai-mcp@latest
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "coderabbitai": { "command": "npx", "args": ["coderabbitai-mcp@latest"], "env": { "GITHUB_PAT": "ghp_your_token_here" } } } }