PC

praneybehl/code-review-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

34 stars 8 forks 품질 71 트렌드 12MIT

OpenAI 및 Claude-code용 Google 모델을 사용하여 코드 리뷰를 위한 MCP 서버

개요

MCP (Model Context Protocol) 서버는 다양한 대형 언어 모델 (LLMs)을 사용하여 코드 리뷰를 수행하는 강력한 도구를 제공합니다. 이 서버는 Anthropic의 Claude Code, Cursor, Windsurf 또는 기타 MCP 호환 클라이언트와 같은 AI 코딩 조수를 완벽하게 통합하도록 설계되었습니다. 이 도구는 Claude Code에 처음 생성되었지만 다른 AI IDE 및 Claude Desktop을 지원하기 위해 확장되었습니다. Claude Code, Cursor 및 Windsurf에 대한 통합 가이드를 참조하십시오. git diff output for staged changes, differences from HEAD, or differences between branch, 당신의 작업 설명과 프로젝트 세부 사항에 따라 contextualized review 제공. - 리뷰 git diffs (단일 변경, 현재 HEAD, 지점 차이). - Vercel AI SDK를 통해 Google Gemini, OpenAI 및 Anthropic 모델과 통합합니다. - 작업 설명, 리뷰 초점 및 맞춤형 리뷰에 대한 전체 프로젝트 컨텍스트의 사양을 허용한다. - 명확한, actionable markdown 체재에 있는 산출 리뷰.

개요(AI 번역)

버전: 1.0.0

MCP (Model Context Protocol) 서버는 다양한 대형 언어 모델 (LLMs)을 사용하여 코드 리뷰를 수행하는 강력한 도구를 제공합니다. 이 서버는 Anthropic의 Claude Code, Cursor, Windsurf 또는 기타 MCP 호환 클라이언트와 같은 AI 코딩 조수를 완벽하게 통합하도록 설계되었습니다.

주: 이 도구는 Claude Code에 처음 생성되었지만 다른 AI IDE 및 Claude Desktop을 지원하기 위해 확장되었습니다. Claude Code, Cursor 및 Windsurf에 대한 통합 가이드를 참조하십시오.

그것은 분석 git diff 단계 변경에 대한 출력, HEAD의 차이, 또는 차이 사이 차이, 당신의 작업 설명과 프로젝트 세부에 따라 컨텍스트로 된 리뷰를 제공.

특징

  • 리뷰 git diffs (단일 변경, 현재 HEAD, 지점 차이).
  • Vercel AI SDK를 통해 Google Gemini, OpenAI 및 Anthropic 모델과 통합합니다.
  • 작업 설명, 리뷰 초점 및 맞춤형 리뷰에 대한 전체 프로젝트 컨텍스트의 사양을 허용한다.
  • 명확한, actionable markdown 체재에 있는 산출 리뷰.
  • 분석하려는 Git 저장소의 루트에서 실행되도록 설계.
  • 즉시 사용을 위해 npx를 통해 쉽게 설치하고 실행할 수 있습니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

@vibesnipe/code-review-mcp

Version: 1.0.0

An MCP (Model Context Protocol) server that provides a powerful tool to perform code reviews using various Large Language Models (LLMs). This server is designed to be seamlessly integrated with AI coding assistants like Anthropic’s Claude Code, Cursor, Windsurf, or other MCP-compatible clients.

Note: This tool was initially created for Claude Code but has since been expanded to support other AI IDEs and Claude Desktop. See the integration guides for Claude Code, Cursor, and Windsurf.

It analyzes git diff output for staged changes, differences from HEAD, or differences between branches, providing contextualized reviews based on your task description and project details.

Features

  • Reviews git diffs (staged changes, current HEAD, branch differences).
  • Integrates with Google Gemini, OpenAI, and Anthropic models through the Vercel AI SDK.
  • Allows specification of task description, review focus, and overall project context for tailored reviews.
  • Outputs reviews in clear, actionable markdown format.
  • Designed to be run from the root of any Git repository you wish to analyze.
  • Easily installable and runnable via npx for immediate use.

Compatibility

  • Node.js: Version 18 or higher is required.
  • Operating Systems: Works on Windows, macOS, and Linux.
  • Git: Version 2.20.0 or higher recommended.

Prerequisites

  • Node.js: Version 18 or higher is required.
  • Git: Must be installed and accessible in your system’s PATH. The server executes git commands.
  • API Keys for LLMs: You need API keys for the LLM providers you intend to use. These should be set as environment variables:
    • GOOGLE_API_KEY for Google models.
    • OPENAI_API_KEY for OpenAI models.
    • ANTHROPIC_API_KEY for Anthropic models. These can be set globally in your environment or, conveniently, in a .env file placed in the root of the project you are currently reviewing. The server will automatically try to load it.

Installation & Usage

The primary way to use this server is with npx, which ensures you’re always using the latest version without needing a global installation.

Recommended: Using with npx

  1. Navigate to Your Project: Open your terminal and change to the root directory of the Git repository you want to review.

    cd /path/to/your-git-project
    
  2. Run the MCP Server: Execute the following command:

    npx -y @vibesnipe/code-review-mcp
    

    This command will download (if not already cached) and run the @vibesnipe/code-review-mcp server. You should see output in your terminal similar to: [MCP Server] Code Reviewer MCP Server is running via stdio and connected to transport.

GitHub에서 전체 README 보기

설치

npx -y @vibesnipe/code-review-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →