MCP.so
ログイン

Gerrit Review MCP Server

@cayirtepeomer

基本情報

カテゴリ

バージョン管理

トランスポート

stdio

作者

cayirtepeomer

Gerrit Review MCP Server について

This MCP server provides integration with Gerrit code review system, allowing AI assistants to review code changes and their details through a simple interface.

Gerrit Review MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "gerrit-code-review-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@cayirtepeomer/gerrit-code-review-mcp",
        "--client",
        "claude"
      ]
    }
  }
}

Gerrit Review MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Gerrit Review MCP Server?

This MCP server integrates with the Gerrit code review system, enabling AI assistants to fetch change details, compare patchsets, and submit review feedback through a set of tools.

How to use Gerrit Review MCP Server?

Install via Smithery (npx -y @smithery/cli install @cayirtepeomer/gerrit-code-review-mcp --client claude) or manually by cloning the repo, creating a virtual environment, and running pip install -e .. Configure environment variables (GERRIT_HOST, GERRIT_USER, GERRIT_HTTP_PASSWORD, optionally GERRIT_EXCLUDED_PATTERNS, GERRIT_SSL_VERIFY, GERRIT_CA_BUNDLE) and add the server to your ~/.cursor/mcp.json or .roo/mcp.json. The server exposes three tools: fetch_gerrit_change, fetch_patchset_diff, and submit_gerrit_review.

Key features of Gerrit Review MCP Server

  • Fetch complete change details with files and diffs.
  • Compare differences between two patchsets.
  • Submit review feedback with labels and inline comments.
  • Control Gerrit notification scope (NONE, OWNER, OWNER_REVIEWERS, ALL).
  • Exclude file patterns from reviews (e.g., .pbxproj$, node_modules/).
  • Support for self-signed TLS certificates and custom CA bundles.

Use cases of Gerrit Review MCP Server

  • AI-powered code review of specific Gerrit changes and patchsets.
  • Track code evolution by comparing patchset versions.
  • Automate review feedback with votes, inline comments, and notifications.
  • Filter out large generated files from review scope using exclusion patterns.

よくある質問

1

What are the prerequisites?

Python 3.10+, Gerrit HTTP access credentials (username and HTTP password generated from Gerrit settings), and access to the `mcp[cli]` package repository.

2

How does authentication work?

The server uses HTTP digest authentication with the credentials set in `GERRIT_USER` and `GERRIT_HTTP_PASSWORD`. If authentication fails, check that Gerrit's `gitBasicAuthPolicy` is set to `HTTP` or `HTTP_LDAP`.

3

Can I use self-signed certificates?

Yes. Set `GERRIT_SSL_VERIFY=false` to disable TLS verification (temporary workaround), or provide a custom CA bundle via `GERRIT_CA_BUNDLE=/path/to/ca.pem` to keep verification enabled.

4

What transport does the server use?

The server is configured with `--transport stdio` and communicates over standard input/output.

5

How are connection issues diagnosed?

Verify `GERRIT_HTTP_PASSWORD`, `GERRIT_HOST` (hostname only, no `https://`), ensure HTTPS access is enabled, and test with `curl -u "user:pass" https://gerrit.example.com/a/changes/?q=status:open`.

コメント

「バージョン管理」の他のコンテンツ