GG

gerritcodereview/gerrit-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

24 stars 27 forks 品質 62 トレンド 21Apache-2.0

Gerritコードレビューシステムとやり取りするためのMCPサーバー - ([[T0]のミラー)

概要

MCP (Model Context Protocol) サーバーで、Gerrit コードレビューシステムとやり取りします。 このサーバーでは、Geminiのような言語モデルは、Gerrit REST API に対する curl コマンドを実行することで、変更や詳細の取得、レビューの管理を可能にします。 このサーバーは、永続的またはオンデマンドとして実行できます。 詳細は docs/ ディレクトリのドキュメントを参照してください。 - : gerrit config.json ファイルとすべての認証メソッドの詳細なガイドです。 - : ユニット、インテグレーション、E2Eテストの実行方法の説明。 -:このサーバーを使用するためにGemini CLIを設定する方法。 - : Claudeコードプラグインとしてこのサーバーを使用する方法。 - : サーバを効果的に使用するためのヒント。 - : プロジェクトに貢献するためのガイドライン - : すべての利用可能なツールとその説明のリスト。 - : コアサーバを変更せずに追加のMCPツールを登録する方法 - : サーバの使い方を示すシナリオ.

概要(AI 翻訳)

MCP (Model Context Protocol) サーバーで、Gerrit コードとやり取り レビューシステム。 このサーバーでは、Geminiのような言語モデルが変更をクエリできるようにします。 curl] コマンドを実行することで、詳細を取得し、レビューを管理 Gerrit REST API は、

このサーバは、永続的なHTTPサーバまたはオンデマンドとして実行できます。 STDIO.

ドキュメント

詳細は[docs/]ディレクトリのドキュメントを参照してください。

  • 構成: 詳細なガイド [gerrit_config.jsonファイルとすべての認証方法。
  • テストガイド:ユニットの実行方法の指示、 統合とE2Eテスト
  • Gemini CLI Setup:Gemini CLIの設定方法 このサーバーを使用します。
  • クロード コード セットアップ: このサーバーをそのまま利用する方法 Claudeコードプラグイン。 -ベストプラクティス:サーバーを使用するヒント 効果的に。
  • 貢献:貢献のためのガイドライン プロジェクト
  • 利用可能なツール:すべての利用可能なツールのリスト そして彼らの記述。
  • 延長: 追加のMCPツールを登録する方法 コアサーバを変更することなく
  • 例 使用例:使用方法を示すシナリオ サーバ。

OST 始める

##1. 前提条件

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

🐍 Gerrit MCP Server

An MCP (Model Context Protocol) server that brings Gerrit code-review workflows to AI clients including the Gemini CLI, Claude Code, and OpenAI Codex. It provides tools to search changes, inspect diffs and review metadata, manage reviewers, comments, and change state, and analyze related or dependent changes. Optional extensions add tools backed by Gerrit plugins.

Use it as a Gemini CLI extension, Claude Code plugin, or Codex plugin, or run it directly as a persistent HTTP server or on-demand via STDIO.

📚 Documentation

For detailed information, please see the documents in the docs/ directory:

  • Configuration: A detailed guide to the gerrit_config.json file and all authentication methods.
  • Testing Guide: Instructions on how to run the unit, integration, and E2E tests.
  • Gemini CLI Setup: How to configure the Gemini CLI to use this server.
  • Claude Code Setup: How to use this server as a Claude Code plugin.
  • Codex Setup: How to use this server as a Codex plugin.
  • Best Practices: Tips for using the server effectively.
  • Contributing: Guidelines for contributing to the project.
  • Available Tools: A list of all available tools and their descriptions.
  • Extensions: How to register additional MCP tools without modifying the core server.
  • Example Use Cases: Scenarios demonstrating how to use the server.

Reporting bugs and feature requests

Please report bugs and feature requests in the Gerrit MCP Server component of the Gerrit issue tracker.

Due to spam abuse, membership in the repo-discuss Google Group is required to create issues. See the announcement for more information.

🚀 Getting Started

1. Prerequisites

Before you begin, ensure you have the following tools installed and available in your system’s PATH.

  • Python 3.12+: Required by the server.
  • uv: Used for dependency management and running the server. Optional — the build script will install it via pip if absent.
  • curl: The standard command-line tool for transferring data with URLs.

2. Build the Environment

Run the build script from the root of the gerrit-mcp-server project directory. This will create a virtual environment in .venv via uv sync and install all dependencies.

./build-gerrit.sh

3. Configure the Server

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →