Gerrit

v1.0.0Version Controlstable

null - (mirror of https://gerrit.googlesource.com/./gerrit-mcp-server)

gerritmcpai-integration
Share:
16
Stars
0
Downloads
0
Weekly
0/5

What is Gerrit?

Gerrit is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to null - (mirror of https://gerrit.googlesource.com/./gerrit-mcp-server)

null - (mirror of https://gerrit.googlesource.com/./gerrit-mcp-server)

This server falls under the Version Control category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • null - (mirror of https://gerrit.googlesource.com/./gerrit-m

Use Cases

Manage Gerrit code review and pull requests through MCP.
LicenseApache-2.0
Languagepython
Versionv1.0.0
UpdatedMay 16, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx gerrit

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Gerrit

The Gerrit MCP Server is an official MCP integration for Gerrit Code Review, mirrored from gerrit.googlesource.com, that enables language models to interact with Gerrit repositories by executing REST API calls for change queries, detail retrieval, and review management. It is built in Python, requires Python 3.11+, and supports both persistent HTTP server and on-demand STDIO operation modes for flexible deployment. Engineering teams using Gerrit for code review workflows can use this server to let AI assistants query pending changes, retrieve review details, and help with review management directly from conversational interfaces.

Prerequisites

  • Python 3.11+ installed
  • curl available in your system PATH
  • A running Gerrit instance with REST API access
  • An MCP client such as Claude Desktop
  • Gerrit credentials (username and HTTP password) for authenticated API access
1

Clone the repository

Clone the Gerrit MCP Server repository from GitHub (mirror of the official source at gerrit.googlesource.com).

git clone https://github.com/GerritCodeReview/gerrit-mcp-server
cd gerrit-mcp-server
2

Build the environment

Run the provided build script from the project root. It creates a Python virtual environment and installs all required dependencies.

./build-gerrit.sh
3

Create and edit the configuration file

Copy the sample configuration file and edit it to point to your Gerrit instance, including your server URL and authentication credentials.

cp gerrit_mcp_server/gerrit_config.sample.json gerrit_mcp_server/gerrit_config.json
# Edit gerrit_config.json with your Gerrit server URL and credentials
4

Start the MCP server

Use the provided server management script to start the HTTP server. You can also check its status or stop it using the same script.

./server.sh start
# Check status:
./server.sh status
# Stop:
./server.sh stop
5

Configure Claude Desktop

Add the Gerrit MCP server to your Claude Desktop configuration to connect via STDIO or HTTP, depending on your deployment mode.

{
  "mcpServers": {
    "gerrit": {
      "command": "python",
      "args": ["-m", "gerrit_mcp_server"],
      "cwd": "/path/to/gerrit-mcp-server"
    }
  }
}

Gerrit Examples

Client configuration

Claude Desktop configuration for the Gerrit MCP server running in STDIO mode from the cloned repository directory.

{
  "mcpServers": {
    "gerrit": {
      "command": "python",
      "args": ["-m", "gerrit_mcp_server"],
      "cwd": "/path/to/gerrit-mcp-server"
    }
  }
}

Prompts to try

Example prompts for querying Gerrit code reviews and managing changes through the MCP server.

- "List all open changes assigned to me in Gerrit"
- "Show me the details and comments on change 12345 in Gerrit"
- "Query Gerrit for changes in the main branch that need review"
- "What is the current review status of change ID 98765?"

Troubleshooting Gerrit

build-gerrit.sh fails with permission denied

Make the script executable with 'chmod +x build-gerrit.sh' and ensure you have write permissions in the project directory for virtual environment creation.

REST API calls return 401 Unauthorized errors

Gerrit uses HTTP Password authentication for REST API access, not your regular login password. Generate an HTTP password in your Gerrit account settings under 'HTTP Credentials' and use that in gerrit_config.json.

Frequently Asked Questions about Gerrit

What is Gerrit?

Gerrit is a Model Context Protocol (MCP) server that null - (mirror of https://gerrit.googlesource.com/./gerrit-mcp-server) It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Gerrit?

Follow the installation instructions on the Gerrit GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Gerrit?

Gerrit works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Gerrit free to use?

Yes, Gerrit is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Version Control MCP Servers

Explore all version control servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "gerrit": { "command": "npx", "args": ["-y", "gerrit"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Gerrit?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides