Skip to content
MCP server

Gerrit Code Review

Capability-gated Gerrit code review tools with opt-in review notifications pushed into…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.1.3
Listing updated
4 days ago

About Gerrit Code Review

Gerrit Code Review is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Capability-gated Gerrit code review tools with opt-in review notifications pushed into the session

Install

Run in a terminal

claude mcp add go-gerrit-mcp --env GERRIT_URL='<GERRIT_URL>' --env GERRIT_USERNAME='<GERRIT_USERNAME>' --env GERRIT_TOKEN='<GERRIT_TOKEN>' -- docker run -i --rm -e GERRIT_URL -e GERRIT_USERNAME -e GERRIT_TOKEN ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3

Add to claude_desktop_config.json

{
  "mcpServers": {
    "go-gerrit-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GERRIT_URL",
        "-e",
        "GERRIT_USERNAME",
        "-e",
        "GERRIT_TOKEN",
        "ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3"
      ],
      "env": {
        "GERRIT_URL": "<GERRIT_URL>",
        "GERRIT_USERNAME": "<GERRIT_USERNAME>",
        "GERRIT_TOKEN": "<GERRIT_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "go-gerrit-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GERRIT_URL",
        "-e",
        "GERRIT_USERNAME",
        "-e",
        "GERRIT_TOKEN",
        "ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3"
      ],
      "env": {
        "GERRIT_URL": "<GERRIT_URL>",
        "GERRIT_USERNAME": "<GERRIT_USERNAME>",
        "GERRIT_TOKEN": "<GERRIT_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "go-gerrit-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GERRIT_URL",
        "-e",
        "GERRIT_USERNAME",
        "-e",
        "GERRIT_TOKEN",
        "ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3"
      ],
      "env": {
        "GERRIT_URL": "<GERRIT_URL>",
        "GERRIT_USERNAME": "<GERRIT_USERNAME>",
        "GERRIT_TOKEN": "<GERRIT_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "go-gerrit-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GERRIT_URL",
        "-e",
        "GERRIT_USERNAME",
        "-e",
        "GERRIT_TOKEN",
        "ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3"
      ],
      "env": {
        "GERRIT_URL": "<GERRIT_URL>",
        "GERRIT_USERNAME": "<GERRIT_USERNAME>",
        "GERRIT_TOKEN": "<GERRIT_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "go-gerrit-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GERRIT_URL",
        "-e",
        "GERRIT_USERNAME",
        "-e",
        "GERRIT_TOKEN",
        "ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3"
      ],
      "env": {
        "GERRIT_URL": "<GERRIT_URL>",
        "GERRIT_USERNAME": "<GERRIT_USERNAME>",
        "GERRIT_TOKEN": "<GERRIT_TOKEN>"
      }
    }
  }
}

Configuration

  • GERRIT_URLBase URL of the Gerrit instanceRequired
  • GERRIT_USERNAMEAccount username for HTTP authenticationRequired
  • GERRIT_TOKENHTTP password or token of the accountRequired
  • GERRIT_MCP_GROUPSComma-separated capability groups to enable: read, comment, transition
  • GERRIT_MCP_PROJECTSComma-separated Gerrit project allowlist confining every operation
  • GERRIT_MCP_OWN_CHANGES_ONLYRefuse trail-leaving operations on changes not owned by the authenticated account
  • GERRIT_MCP_REVIEW_NOTIFICATIONSEnable review notifications: poll Gerrit for activity on subscribed changes and push it into the agent's session (requires a client with channel support)
  • GERRIT_MCP_REVIEW_NOTIFICATIONS_POLL_INTERVALPoll cadence for subscribed changes, as a Go duration
  • GERRIT_MCP_REVIEW_NOTIFICATIONS_INCLUDE_OWNKeep the authenticated account's own activity in review notifications
  • GERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_ACCOUNTSComma-separated usernames or numeric account IDs whose activity never becomes a review notification
  • GERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_PATTERNSComma-separated regular expressions; matching message or comment text never becomes a review notification

Pricing

Open source

Gerrit Code Review FAQ

Is Gerrit Code Review free?

Yes. Gerrit Code Review is open source, so you can use and self-host it for free.

How do I add Gerrit Code Review to Claude Code?

Run this command in your terminal: claude mcp add go-gerrit-mcp --env GERRIT_URL='<GERRIT_URL>' --env GERRIT_USERNAME='<GERRIT_USERNAME>' --env GERRIT_TOKEN='<GERRIT_TOKEN>' -- docker run -i --rm -e GERRIT_URL -e GERRIT_USERNAME -e GERRIT_TOKEN ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3

What are the best alternatives to Gerrit Code Review?

The closest alternatives to Gerrit Code Review are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Gerrit Code Review

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools